Jump to content

April 2017 »

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425 26 272829
30      

View more

New Old Things

4: Adsense

A C64 Game - Step 82

A few very small updates coming up, here's the next portal stage. Have fun! Previous Step   Next Step

A C64 Game - Step 81

A new pickup! And it shines http://public.gamede...fault/smile.png Sometimes one of those wondrous bullets of Samuel Colt will be dropped. Those can kill any enemy with one shot, so use them well! The changes are quite simple. In the PickupItem routine we add a handler for those new items:                  cmp #ITEM_SUPER_BULL...

A C64 Game - Step 80

Did you notice the huge door in the background? It's about time it opens! That's actually pretty simple. At the jump-to-next level code we add a check. Whether the open door animation is shown depends on a bit in the LEVEL_CONFIG byte. GoToNextLevel   lda LEVEL_CONFIG   and #$04   beq .NoDoorAnim   jsr DoorAnim.NoDoorAnim The actual animation is str...

A C64 Game - Step 79

Almost a new feature: For the final level range the enemies spawn in waves. In this level, after beating the wolfmen two more waves of other enemies come in. And all without any more memory in the level data!



The key is in the previously used SPAWN_SPOT_SPAWN_COUNT. We use the upper 4 bits to contain the wave the spawn...

A C64 Game - Step 78

Added and streamlined all story pages. Now we have locations (mentioned) and a crude "story arc". Plus a little animation on the last two bosses. There's no higher meaning behind the locations, I just wandered about USA with Google maps ;)

Showing no code this time, since it's merely added text to existing tables.

The aforementioned...

A C64 Game - Step 77

And another boss. This one is different, as it spawns bats to the left and right. And is only vulnerable during that part ;)



The boss routine is a bit bigger this time. The attacking bat code is already there, so nothing to add on that part.
As behaviours got increasingly complex I started to write the state values on top of...

A C64 Game - Step 76

And yet another 10 stages. A few animation bugs show up with the water, in general there seems to be another fixing step coming up.



Have fun!


Previous Step Next...

A C64 Game - Step 75

And more! Now the executable hit the load barrier, so Exomizer is the only way to go onwards (before it was optional). Added a new waterfall char with the same effect as low water.



At the same location the other char is initiated we add this:


ldx #0
-
lda $F800 + 143 * 8,x
sta ANIM_TILE2_BYTES,x
...

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...