Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 8 9 [10] 11 12 ... 16   Go Down

Author Topic: Bloodwych Remake (HTML Version)  (Read 134872 times)

0 Members and 9 Guests are viewing this topic.

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Bloodwych Remake (HTML Version)
« Reply #135 on: June 05, 2014, 11:05:13 AM »

Horace,

Any chance in the write up about how the scroll.block works and the walls point to this?
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: Bloodwych Remake (HTML Version)
« Reply #136 on: June 05, 2014, 01:53:56 PM »

 I will have a sift through my notes and update this entry:
http://www.ultimateamiga.co.uk/index.php/topic,8908.msg39956.html#msg39956


I think.... you make each scroll with $FE as a line-end and a number for and X/Y-Offsets ... or something like that. At the end of the scroll you terminate with $FF


Before the main scroll data you need to set a number of offset values. Basically, these are one byte after each $FF, and are used to identify where a scroll begins by number.

So if scroll 1 is 00 00, then scroll 1 starts at 0 bytes (pretty obvious)

if scroll 2 is 00 E0 then scroll 2 starts at $E0 into the block data. and $DF (the byte before) will be the $FF terminator of scroll 1.


its the setup of x/y offsets I cant quite remember off the top of my head.
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Bloodwych Remake (HTML Version)
« Reply #137 on: June 05, 2014, 03:17:15 PM »

Thanks Horace, I understand how the scroll.block is made up but how do the walls link to the correct scroll?
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: Bloodwych Remake (HTML Version)
« Reply #138 on: June 05, 2014, 03:39:08 PM »

simialr to traps / switches i think.

take the first (AB) byte of AB CD wall data and divide by 8 I think - this should give you a reference number that corresponds to the scroll.  You will find there are "offsets" in there though.... each tower starts slightly later through the references numbers (e.g. mod0 scroll 1 is scroll 1 but serpent tower scroll 1+ might be scroll 20+)    ... I haven't yet found how the tower offset is determined but I probably can now I have the source code.

.... I also cannot remember if the first few are allocated for wall banners or if they have different parameter values.
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: Bloodwych Remake (HTML Version)
« Reply #139 on: June 05, 2014, 10:41:44 PM »

Just thought I'd try the latest update and it's very impressive! Even more impressed by the fact it works on my iphone!! (Now if you can get it to lock itself as horizontal, auto fill the screen and hide the browser buttons I'd be even more impressed!!

I hope you will support Book of Skulls when I finish it... Since I'm making some good progress soon and will be making it my main focus when my studies complete in a few weeks time!
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Bloodwych Remake (HTML Version)
« Reply #140 on: June 06, 2014, 08:35:54 AM »

Thanks Horace,

All your suggestions will be something we will be looking into as I also use it on my iPhone and iPad so really happy I finally managed to get that working last night as before we had no font (seems iOS is very fussy)

As for your 'Book of skulls' we are using most of your exported clean data files (object files,palettes,switches,monsters etc..) so the plan currently is to get Bloodwych working then the Datadisk but once that's done we want to try and open it up as much as possible for editing/mods, most of the stuff from Book of Skulls should plug strait in so I don't see it being an issue to get it working.

Now If we can work out how the walls link to the scrolls I can get that bit working and Wishbone is currently starting to create all the spells (in case you didn't notice, some already work like Summon/formwall)

I found this in your editor code..

Code: [Select]
WALLSCROLL=(((AA*16)+BB)/4)-4
         If DUNGEON=0 and GAME=6 : WALLSCROLL=WALLSCROLL
         Else If DUNGEON=1 and GAME=6 : WALLSCROLL=WALLSCROLL+21
         Else If DUNGEON=2 and GAME=6 : WALLSCROLL=WALLSCROLL+33
         Else If DUNGEON=3 and GAME=6 : WALLSCROLL=WALLSCROLL+41
         Else If DUNGEON=4 and GAME=6 : WALLSCROLL=WALLSCROLL+49
         Else If DUNGEON=5 and GAME=6 : WALLSCROLL=WALLSCROLL+59
         End If
         
         LINE$(13)="SCROLL: "+Lzstr$(WALLSCROLL,2)
         LINE$(15)="EDIT TEXT"
         OPTION(15)=True

Can you try explain :) I just need to know how to covert the AB into the reference number :)

DOH! and being blind as a bat I now see ... (((AA*16)+BB)/4)-4

I think this works nicely
« Last Edit: June 06, 2014, 08:41:52 AM by MadMunky »
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: Bloodwych Remake (HTML Version)
« Reply #141 on: June 06, 2014, 09:43:13 PM »

Any calculation you see like that (especially where division is involved) won't use any decimal places... Hopefully that formula works without any modification!!

You can see above the offset values of 0,21,33,41,49,59 for each tower also.


Curiously there is only one or two scrolls in extended levels, so if I ever do a new level set for that, I will probably patch that into a new location to allow for more scrolls
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: Bloodwych Remake (HTML Version)
« Reply #142 on: June 07, 2014, 10:42:04 AM »

looks lke those 'tower offsets' are stored in a nice simple data block:

Code: [Select]
00152129313B
located at $55CE in the BW439 binary. :)

I will include this as a futher output file from my editor (Scrolls.offsets or something)
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Bloodwych Remake (HTML Version)
« Reply #143 on: June 07, 2014, 05:44:28 PM »

Woop :) All scrolls now working

Logged

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Bloodwych Remake (HTML Version)
« Reply #144 on: June 07, 2014, 09:47:54 PM »

Just thought I'd try the latest update and it's very impressive! Even more impressed by the fact it works on my iphone!! (Now if you can get it to lock itself as horizontal, auto fill the screen and hide the browser buttons I'd be even more impressed!!

Horace,

Load up the page on your phone/pad then do 'Add to Home Screen' I've enable it now so it will run in full screen and you get a nice icon. For the orientation unfortunately it looks like you cant lock this on web apps :(
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: Bloodwych Remake (HTML Version)
« Reply #145 on: June 08, 2014, 11:00:14 AM »

Looks cool but got a problem with fitting it on the iphone 5 screen....





Also, Any chance of a 1 player mode?


I have noticed that the characters are raising their arms in battle on the display? And that they only ever lift one arm!

Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Bloodwych Remake (HTML Version)
« Reply #146 on: June 08, 2014, 12:22:25 PM »

1 Player mode is done but needs more testing (switching tower) we also need the start screen so that's something I will work on next to give you the option to choose a 1 player or 2 player game.

As for the arms flapping in the UI that was an unexpected side effect to how we draw so that will be remove to make it the same as the orginal
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: Bloodwych Remake (HTML Version)
« Reply #147 on: June 08, 2014, 02:24:32 PM »

sweet. :)

I'm going to get myself a galaxy tablet soon as well, so i will be more than happy to give feedback on how its running on both :)

A question about how you are obtaining object names... are you using your own table, or have you found the list that ties items up to combos of words?
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Bloodwych Remake (HTML Version)
« Reply #148 on: June 08, 2014, 05:13:27 PM »

A question about how you are obtaining object names... are you using your own table, or have you found the list that ties items up to combos of words?

We use our own table for this
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: Bloodwych Remake (HTML Version)
« Reply #149 on: June 08, 2014, 09:28:56 PM »

Might have to see what I can find for that then :)
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Pages: 1 ... 8 9 [10] 11 12 ... 16   Go Up
 

TinyPortal 2.2.2 © 2005-2022