I'm very sorry to ask, but is there a simpler way to do that? I haven't learned much in school yet and I ignore most of what you wrote in the last post ): I'm ashamed to say I need something simpler..
They told me that maybe I could somehow improve it if I called the defender bar each time the thunder's added another piece, cause there's always a thunder and it's always increasing, so I should be able to move with the bar all the time....
User Profile
Collapse
-
I took out the sleep function and now I can move the bar normally, but the thunders fall too fast. You said I should make them move square by square, but how do I do that?Leave a comment:
-
but if I make the thunder fall one square that'd only make my bar move quickly, it would still depend on me moving the bar for the thunder to fall down wouldn't it?
I'm sorry if I didn't understand quite well, I'm very ignorant on this, only been working on it for about a month :S sryLeave a comment:
-
Videogame
Hi, I was asked in school to make this sort of videogame in C basic where a little bar defends a city (which is in the bottom) from falling thunders.
I'm working on Visual Basic 2005 and this is the code I've been able to develop. However I have a problem 'cause the little "defender" bar won't move at the same time as the thunders fall.
I have absolutely no idea of how to make both things happen at the same time and... -
Thank you donbock, a friend of mine is already helping me with the task.
The lines are done now we only need to make them dissapear once they've het the bar.Leave a comment:
-
I'm sorry, the language is C.
What I'm trying to do is that game "defender". The thunders come down from the top of the screen as straight lines, and I'm supposed to prevent them from reaching the city with a little bar.
Should look something like this...
............... ............... ..............|
............... ............... ..............|
............... ............... ..............|...Leave a comment:
-
random
can somebody explain me in plain laguage, how to make random lines crossing from top to botton of screen? it's for simulating thunders attacking a city in a game
No activity results to display
Show More
Leave a comment: