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

Username:   Password: 
 RegisterRegister   
 Making objects fall
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
gigaman




PostPosted: Wed Dec 21, 2005 1:17 pm   Post subject: Making objects fall

I am making a mario game (yes i know the picture used is luigi) The problem i am having is making the character fall. I was trying to use threads but i don't understand them and i am not even sure they would work. Any help is appreciated


Luigi.zip
 Description:
This file only contains the parts of the game neccesary to alter for falling not the full game

Download
 Filename:  Luigi.zip
 Filesize:  13.77 KB
 Downloaded:  135 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed Dec 21, 2005 3:14 pm   Post subject: (No subject)

inside your game's loop (so during each frame render) accelerate your character downwards by a set amount.

make sure you're not letting things fall though the floor though Wink
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
gigaman




PostPosted: Wed Dec 21, 2005 11:20 pm   Post subject: Timer

Since positions can't be altered in the general declarations (yes obvious) should i do this in a timer?
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: