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

Username:   Password: 
 RegisterRegister   
 Gravity attempt
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
lil_mickey




PostPosted: Tue Jun 28, 2005 10:06 pm   Post subject: Gravity attempt

here is my attempt at a 2d mario/sonic type gravity engine. Its quite primitive right now, but i would like to get some suggestion/ tips as to how you think i could improve..thanks in advance!

[Edit: if this is in the wrong section, please feel free to move the thread to the appropriate section, Mods.}



Gravity Prototype.t
 Description:

Download
 Filename:  Gravity Prototype.t
 Filesize:  1.62 KB
 Downloaded:  344 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Tue Jun 28, 2005 11:08 pm   Post subject: (No subject)

Not a bad first attempt. A few pointers:

1)
F2

2)
Look up the Tutorials on types and records, it will save you having to declare so many needless variables.

3)
A little glitch (feature?): The first jump is always about twice as high as all subsequent jumps.

4)
Add some restrictions so that the object cannot leave the screen (something like 'if obj.pX < maxx then...'

+ bits
Shyfire




PostPosted: Wed Jun 29, 2005 1:17 am   Post subject: (No subject)

ya im making a game using gravity heres a sample
warning it is still unfinished



mario style game.zip.rar
 Description:

Download
 Filename:  mario style game.zip.rar
 Filesize:  231.43 KB
 Downloaded:  204 Time(s)

lil_mickey




PostPosted: Wed Jun 29, 2005 9:49 am   Post subject: (No subject)

yea that first jump thing really bewilders me...ill look into it.
As for the Mario game, it looks good so far...the jumping looks good, may i see the code for it?

but anyways, thanks for the tips (and the bits), ill go work on it some more.
Shyfire




PostPosted: Wed Jun 29, 2005 9:43 pm   Post subject: (No subject)

sure ill pm it to you just dont show it to the whole world k
lil_mickey




PostPosted: Wed Jun 29, 2005 10:07 pm   Post subject: (No subject)

alright, thanks man, really appreciate it.
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 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: