Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]   Go Down

Author Topic: New Zealand Story Level Format investigation  (Read 16967 times)

0 Members and 2 Guests are viewing this topic.

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: New Zealand Story Level Format investigation
« Reply #30 on: February 24, 2010, 08:23:05 PM »

errr...

Code: [Select]
     If LEVEL>0 and LEVEL<5 : Rem -- 1,2,3,4
      LEVELDATA=$18C80+((LEVEL-1)*$1600)

   Else If LEVEL>4 and LEVEL<9 : Rem -- 5,6,7,8
      LEVELDATA=$18C80+((LEVEL-1)*$1600)+$4200

   Else If LEVEL>8 and LEVEL<12 : Rem -- 9,10,11,12  
      LEVELDATA=$18C80+((LEVEL-1)*$1600)+($1E400)

   Else If LEVEL>11 and LEVEL<16 : Rem -- 13,14,15  
      LEVELDATA=$18C80+((LEVEL-1)*$1600)+($23C00)

   Else If LEVEL>15 and LEVEL<18 : Rem -- 16,17
      LEVELDATA=$18C80+((LEVEL-1)*$1600)+($30200)

   Else If LEVEL>17 and LEVEL<20 : Rem -- 18,19,20,21
      LEVELDATA=$18C80+((LEVEL-1)*$1600)+($3C800)

   Else If LEVEL>19 and LEVEL<22 : Rem -- 18,19,20,21
      LEVELDATA=$18C80+((LEVEL-1)*$1600)+($46200)

End If


you do the maths!  ;)
« Last Edit: February 24, 2010, 08:26:31 PM by Hungry Horace »
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

BooBoo

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: New Zealand Story Level Format investigation
« Reply #31 on: February 24, 2010, 09:34:04 PM »

ThankYou Sir :)
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: New Zealand Story Level Format investigation
« Reply #32 on: March 07, 2010, 01:58:08 AM »

* Hungry Horace prods BooBoo

any progress mate?
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

BooBoo

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: New Zealand Story Level Format investigation
« Reply #33 on: March 07, 2010, 01:01:26 PM »

Hi - Hopefuly ill have some time to look I was just going to say before the MAP data there 2 figures that change the dimensions of the level - length,height.
Im using Disk.1 as a ADF now - zeroed all data that isnt Level 1_1 -Map tiles etc witch has clearded a lot of data, If you were makeing a game wouldnt you place enemies @ X,Y? but I guess thats not the point just have to keep looking :)
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: New Zealand Story Level Format investigation
« Reply #34 on: March 07, 2010, 01:13:31 PM »

Hi - Hopefuly ill have some time to look I was just going to say before the MAP data there 2 figures that change the dimensions of the level - length,height.
<snip>
 If you were makeing a game wouldnt you place enemies @ X,Y? but I guess thats not the point just have to keep looking :)

if you change the width/height the exit/start points move, so clearly they are placed as 'offsets' from some point rather than fixed X/Y values based on the maximum level-size, i suspect the same will be true of the enemies
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: New Zealand Story Level Format investigation
« Reply #35 on: March 30, 2010, 04:44:19 PM »

editor, source and a whole host of other crap attached for BooBoo!
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

BooBoo

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: New Zealand Story Level Format investigation
« Reply #36 on: March 30, 2010, 08:30:01 PM »

Thankyou Horace hopefuly I wont confuse my self to much :)
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: New Zealand Story Level Format investigation
« Reply #37 on: March 30, 2010, 09:02:51 PM »

i cant rememebr how much i commented the source tbh
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Pages: 1 2 [3]   Go Up
 

TinyPortal 2.2.2 © 2005-2022