Jump to content





bBasic - 12 sprites at 30Hz flicker

Posted by Robert M, 16 September 2007 · 76 views

Goals:
-> This is just a brief entry.  Small progress, but progress is progress.
-> Add 30 Hz flicker to the program to double the number of objects shown.
-> Prototyping of a possible game idea using pure bBasic.

Design:
-> Start from last entry.
-> Delete the joystick code, and disable the player animation code.
-> Add a framecounter and add odd/even frame handling
-> For now, just separate the two sets of sprites horizontally.
-> no player control is available.

Implementation:
Attached File  main002.txt (5.71K)
downloads: 106
Attached File  main002.txt.bin (4K)
downloads: 103

Lessons learned:
-> I really need to stop typing the word missile incorrectly.  :dunce:

Recommendations for improving bBasic:
-> None.  Looking at the asm file it was nice to see that the compiler optimizes for  a + 1 operation by using the INC instruction.

Up Next:
-> Animating 12 sprites.




June 2013

S M T W T F S
      1
2345678
9101112131415
161718 19 202122
23242526272829
30