|
|
Browse by Tags
All Tags » sprite » Code
-
Hey.
I recently got a question at school that goes like asked us to modify the following code so that users can enter the number of steps they want a sprite to move accross the screen.
Program UFO
Method Main()
LoadSprite( "UFO", "UFO.GIF" ...
-
The original motivation for writing this was to do the -- relatively simple task -- of letting someone add their name to a high-score list at the end of a game, without having to switch to console mode. It turned out a little harder and more involved than I expected ...
So, attached is another class (with little demo program) you might find ...
-
Indeed very clever! Thanks for a great example, Neil!
-
This short program demonstrates how sprites can be used to create fading text.
-
Another smiple game for 2 players.
-
The classic 2-player game of Checkers. Uses Drag and Drop style of mouse input for moving the checkers.
-
In thinking about what I might try next in Phrogram, I started to look at doing some kind of "Worms" or "Lemmings" style of game. I then ran into a problem? How can you shoot a hole in a sprite, or dig a tunnel through one?
It took me quite a while to figure out how to do this -- and at first I thought it wouldn't be ...
-
Hello to all
Please could you help me? At school I am a member of the programmers club and we (the programmers club) are having a problem.
We are trying to get the sprite to go back up after moving it down using the "For" loop . We have tryed almost evrything we know but still nothing. Normaly with programming langages when ...
-
Here's a quick example based on LearningProgram004, Joyce.
Basically, I added a second UFO to the program, move them both, and
when they collide I make one of them disappear and the other one grow
in size.It sounds like a very fun game - glad to help more as you work on it!
-
Here you go, Wolf - the zip file linked above should have a running version of your program in it. I'll also paste it below. The main thing you needed was a "while" loop which keeps running, watching for keys over and over again, and moving the tanker when a key has been pressed. Try it out, then ask some questions, ...
|
|
|