equates.i 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ********************************************************************************
  2. * oo oo *
  3. * \( )/ Bullfrog Demo \( )/ *
  4. * ^ ^^ ^ Equates ^ ^^ ^ *
  5. ********************************************************************************
  6. DELAY equ 10 ;Delay between changing levels
  7. SCORE equ 50 ;How much the score goes up when something collected
  8. MAX_LEVELS equ 4 ;Number of levels in game.
  9. GRAVITY equ 2 ;Speed at which gravity affects man
  10. MAX_SPEED equ 16 ;maximum speed of man
  11. JUMP equ 20 ;how high can you jump. Can you fly bobby?
  12. ACEL equ 3 ;speed of accleration for man
  13. NO_LIVES equ 3 ;number of lives.
  14. SLOW_DOWN equ 2 ;Speed of decrease
  15. MAX_FALL equ 16 ;how long can you fall before you die
  16. MAN_LEFT_START equ 4*4 ;start frame number for man running left
  17. MAN_LEFT_FINISH equ 1*4 ;end frame number for man running left
  18. MAN_STATIONARY equ 5*4 ;frame for man standing still
  19. MAN_RIGHT_START equ 6*4 ;start frame number for man running right
  20. MAN_RIGHT_FINISH equ 9*4 ;end frame number for man running right
  21. MAN_BOUNCE equ 10*4 ;high jump
  22. MAN_CRUMBLE_START equ 11*4 ;man has fallen to far
  23. MAN_CRUMBLE_FINISH equ 19*4 ;has has to die.
  24. LEFT_FOOT equ 3 ;mans left foot
  25. RIGHT_FOOT equ 10 ;mans right foot
  26. MAN_WIDTH equ 16 ;mans width for collision
  27. MAN_HEIGHT equ 24 ;mans hight for collision
  28. MAX_OBJECTS equ 16 ;maximum no of objects on screen
  29. ANKH_HEIGHT equ 16 ;height of Ankhs
  30. ANKH_WIDTH equ 8 ;width of Ankhs
  31. MAX_BADDIES equ 8 ;maximum number of bad guys on screen
  32. BAD_FRAME_DELAY equ 4 ;delay between change of frames
  33. BAD_LEFT_START equ 0 ;start of animation going left
  34. BAD_LEFT_END equ 5 ;end of animation going left
  35. BAD_MIDDLE equ 6 ;bad guy faces the screen
  36. BAD_RIGHT_START equ 7 ;start of animation for right movement
  37. BAD_RIGHT_END equ 12 ;end of animation for going right
  38. BAD_STATE_LEFT equ 1 ;state going left
  39. BAD_STATE_FROM_LEFT equ 2 ;state man not moving came from left
  40. BAD_STATE_FROM_RIGH equ 3 ;man not moving came from right
  41. BAD_STATE_RIGHT equ 4 ;state going right
  42. BAD_LEFT_WIDTH equ 2 ;width of bad guy
  43. BAD_RIGHT_WIDTH equ 14 ;width of bad guy
  44. BAD_TOP_HEIGHT equ 2 ;height of bad guy
  45. BAD_BOTTOM_HEIGHT equ 14 ;height of bad guy
  46. MAX_SCORES equ 5