Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Ninja Box game...
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2, 3  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
crysis




PostPosted: Mon Apr 28, 2008 5:56 pm   Post subject: RE:Ninja Box game...

you almost done with the example?
Sponsor
Sponsor
Sponsor
sponsor
metachief




PostPosted: Mon Apr 28, 2008 6:06 pm   Post subject: RE:Ninja Box game...

crysis i sent it to you in a message...
metachief




PostPosted: Mon Apr 28, 2008 6:07 pm   Post subject: RE:Ninja Box game...

check your inbox
Dan




PostPosted: Mon Apr 28, 2008 7:51 pm   Post subject: RE:Ninja Box game...

Please do not double post (there is an edit buttion for a reason). Also please do not post personal message to each other on the fourms use the PM system for that.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
metachief




PostPosted: Mon Apr 28, 2008 9:11 pm   Post subject: RE:Ninja Box game...

sorry, ill remeber that
repsoccer16




PostPosted: Tue Apr 29, 2008 8:16 am   Post subject: RE:Ninja Box game...

ya i need an example of that as well Smile
crysis




PostPosted: Tue Apr 29, 2008 8:21 am   Post subject: RE:Ninja Box game...

can u plz post the code id like to add stuff to it.
Michael516




PostPosted: Tue Apr 29, 2008 8:26 am   Post subject: RE:Ninja Box game...

why do you need the code for every program crysis?
Sponsor
Sponsor
Sponsor
sponsor
metachief




PostPosted: Tue Apr 29, 2008 2:01 pm   Post subject: RE:Ninja Box game...

hers a code for gravity scince all of you were asking for it...


var jump_s : int := 20
var grav : int := 1
var key : array char of boolean
var px, py : int
var vel_y : real

px := 20
py := 400
vel_y := 0

View.Set ("offscreenonly")
colorback (54)

loop
Input.KeyDown (key)

if key (KEY_LEFT_ARROW) then
px -= 15
elsif key (KEY_RIGHT_ARROW) then
px += 15
end if

if key (KEY_UP_ARROW) and py = 10 then
vel_y := jump_s
end if

vel_y -= grav
py += round (vel_y)

if py < 10 then
py := 10
vel_y := 0
end if

drawfillbox (px - 10, py, px + 30, py + 40, yellow)
drawfillbox (0, 0, maxx, 10, black)

delay (25)
View.Update
cls
end loop
crysis




PostPosted: Tue Apr 29, 2008 6:11 pm   Post subject: RE:Ninja Box game...

sry i just want to understand how it works!!!

Hey metacheif im working on a pacman game and id like to know how you made it so ninja box could collect the circles and how you prevented him from falling throung the bricks?
CodeMonkey2000




PostPosted: Tue Apr 29, 2008 6:49 pm   Post subject: RE:Ninja Box game...

http://compsci.ca/v3/viewtopic.php?t=15927

It's still not complete, and I plan on revising it one of these days. I stop procrastinating tomorrow.
Tallguy




PostPosted: Thu May 01, 2008 9:29 am   Post subject: RE:Ninja Box game...

it really cool, but again post the lvl names on the splash screen so we know wat 2 do
metachief




PostPosted: Thu May 01, 2008 3:05 pm   Post subject: RE:Ninja Box game...

thanks for sugestion, but i doubt ill get about to doing that..loo lazy and dont care abou that game much anymore---moving onnn
crysis




PostPosted: Tue May 06, 2008 3:15 pm   Post subject: RE:Ninja Box game...

what are u going to do for your next project?

when your done can u PM me the game before u post it?
Aziz




PostPosted: Tue May 06, 2008 3:49 pm   Post subject: RE:Ninja Box game...

Pretty decent game, metacheif. The gravity is nice and smooth and natural.

I think that's enough nagging from you, crysis. I have a sniff of code-stealing trying to be done here, and while that may not be the case, if you want code look in the proper forum. This is his intellectual property and he has no duty to give the code to you, especially PMing it to you before he posts it.

And you're lack of proper typing (or even trying to) invokes the Hulk in me. I'm too prejudice against n00bs.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 3  [ 39 Posts ]
Goto page Previous  1, 2, 3  Next
Jump to:   


Style:  
Search: