how to create a working game loop?
- Posted by cEnsE <cense at MAIL.RU> Jan 14, 2001
- 408 views
Hello all, I am not the king of programmers, let alone of game programmers so i have one stupid question. How does one code a basic game loop where the player can move while other stuff is happening at a delay. I can setup the delay and moving but when it comes to advancing the "scenery" i have no idea how to do this accurately. ( drawing at a constant speed, redrawing ) This is just going to be a stupid racing game from top to bottom and i want to create a track that moves top down at a delay while the player can still move at the same time without affecting how fast the track moves. ( that was my problem before ) I know im just babling but this is the only way i know how fully explain what my problem is. Im doing this with ASCII graphics in linux and EU_ENGIN.E (i like ascii graphics! i know its sad) Thanks for any help -- evil, corruption and bad taste ^[cense] ( trying a game for once, never done 'em )