|
|
Browse by Tags
All Tags » code » Example » sprite
-
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.
-
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 ...
-
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, ...
|
|
|