Things to note about programming logic
1. The Screen
This is the output of the programme and is the final peace in game logic and is to be show once per game loop
2. Character ie zombie ,soldier
These are definded by a collection of variables which
and can be changed during the game loop
Now when setting the game up you need to do thing in order for the whole drawing process to work
The Main Loop
So you alter all the possitons and frames of the creatures
Draw the background,layout
Draw the Characters
Flip
Cls
this should now draw correctly to the screen
Its always a good idea to drawout a diagram of your programme flow to help you with the early stages of coding
1. The Screen
This is the output of the programme and is the final peace in game logic and is to be show once per game loop
2. Character ie zombie ,soldier
These are definded by a collection of variables which
and can be changed during the game loop
Now when setting the game up you need to do thing in order for the whole drawing process to work
The Main Loop
While not keyhit(1) UpdateZombie() UpdateSoldier() DrawLayout() DrawZombie() DrawSoldier() Delay(50) Flip Cls Wend
So you alter all the possitons and frames of the creatures
Draw the background,layout
Draw the Characters
Flip
Cls
this should now draw correctly to the screen
Its always a good idea to drawout a diagram of your programme flow to help you with the early stages of coding