Jump to content

October 2012 »

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031   

View more

New Old Things

4: Adsense

A C64 Game - Step 74

Another boss!

And one, that works differently than the others before him.



This boss is spawning bats that fly left/right and vanish once hitting the screen border.
Thus we remove the path-8-flying bat and replace it by a simple attacking bat:


!zone BehaviourBatAttacking
BehaviourBatAttacking
lda...

A C64 Game - Step 73

Nothing new code wise this time, but something necessary: Packing.

The normal file now hits the 40Kb mark, and it's slowly getting too big to simply load. Remember the memory layout?
There is free memory from 2048 to 49151. Above that address the Basic and Kernal are overlayed over RAM. And both are active by default when loading.

Here comes Exomizer...

A C64 Game - Step 72

A rather simple step, remember the story page? Now the next chapter text has been put in place, as well as a cool off text after beating the first boss.




Analog to the ShowChapter routine we add a ShowChapterEnd routine.

!zone ShowChapterEnd
ShowChapterEnd
;clear screen
lda...

A C64 Game - Step 71

Now a little polish for Sams dark powers, they were a tad too dark to see ;)



Realistic colors are one thing, but if it hampers the gameplay they have to go. So dark powers are now white.
And animated.


Core routine is this, it redraws every char of the beam with one of four random characters:


;redraw force beam...