This was sent to me (garry),from another person, my comment:
Although this was written in relation to the Hawk Catches Bunny game, it could apply to various games, and also some programs, it is a useful suggestion.
To make the type of game that you described you will need to use the following ideas
1] Create 2 pages same size and color depth of your images
Name them foreground and background
Load the images and view each page to verify its correct
2] Make a page to "mix" the background and foreground to
Figure out what your "clearcolor" will be
Copy the background to the mixing page and view it to verify its correct
assign SOURCE to the page with the image and DESTINATION to the mixing page
If you can copy the background page to the mix page then
Reassign SOURCE and DESTINATION and CLEARCOLOR to copy foreground to mix page
View it to verify its correct.
3] If you get this far and it works rejoice!
Next you need to enter into the main loop
Increment co-ordinates to demonstrate movement in the foreground page with an object
Arrange your code to do each step and at end of mixing phase
Update screen with newly update mix page
4] If you get movement then rejoice!
Each one of these steps should be a complete program. Each step is demonstrated
and then we save that working variation as a unique name with a number
The number is the key to the building of the program
Each new variation adds 1 thing into the program and demonstrates onscreen that change
Lastly if you follow this idea you will build your program and understand it very well.
Later on up the track you can go back to the original variations and change them into some other
idea of a game. This process is creating building blocks. A lot of the building block you will
reuse all your programming life. A complete program is nothing more than simple building block
sewn together with the current idea of what you need to presently achieve. Lots and lots
of simple ideas!
If you follow this recipe you will understand and be able to modify your program much easier.
Dont try for too much too quickly.