A C64 Game - Step 95

posted in New Old Things
Published April 13, 2013
Advertisement

Now a little update that adds a change that was long overdue: Zombies do not wake up all of a sudden, but peek out of the ground before. Now players should be able to escape if they're keeping an eye out.



We change the .WakeUp part of BehaviourZombie to show up, look left/right a few times and only then rise, like good zombies do:

          ;only animate head to warn player 
          inc SPRITE_MOVE_POS,x 
          lda SPRITE_MOVE_POS,x 
          cmp #20 
          beq .ReallyWakeUp 
          
          and #$07 
          bne ++ 
          
          ;show head 
          lda SPRITE_DIRECTION,x 
          eor #1 
          sta SPRITE_DIRECTION,x 
          lda #SPRITE_ZOMBIE_COLLAPSE_R_2 
          clc 
          adc SPRITE_DIRECTION,x 
          sta SPRITE_POINTER_BASE,x
          
++ 
          rts 
.ReallyWakeUp

Also, having the spawn animation playing but then "appearing" underground is awkward the start state of zombies is now fully alive. Which is simply a change in the TYPE_START_STATE table.

That was simple now :)

step95.zip

Previous Step Next Step

Previous Entry A C64 Game - Step 94
3 likes 5 comments

Comments

polyfrag
I don't get the point of making old games
April 13, 2013 10:58 AM
Endurion

The main point is that back then I wanted but couldn't. Some sort of living the old dream :)

April 13, 2013 11:24 AM
Zonacas

polyfrag is too young to understand the love we have for our old machines

April 14, 2013 09:27 AM
Gaiiden

Making it harder for enemies to kill the player? What kind of old game is this? ;)

April 20, 2013 04:16 PM
Endurion

Being unfair is not necessary being old :)

April 20, 2013 05:06 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement