English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 23 June 2018, 16:23   #41
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by dlfrsilver View Post
From what the mame video stands, yes.
Great - now we can move on.
mcgeezer is offline  
Old 16 September 2018, 00:03   #42
albino
Registered User
 
albino's Avatar
 
Join Date: Dec 2006
Location: france
Age: 45
Posts: 220
The best sprite scalling have seen on amiga is hugo though unreal is pretty good..

How those guys achived such neat scalling techinics?
albino is offline  
Old 18 September 2018, 14:46   #43
touko
Registered User
 
touko's Avatar
 
Join Date: Dec 2017
Location: france
Posts: 186
Quote:
Ah well, the Line of Fire real-time scaling
sprite routine was slightly neat as well, and look how slow that game was!
Guys you have your answer now .
Taken from :
http://codetapper.com/amiga/comedy/final-fight/

It was in the final fight's startup sequence .

Last edited by touko; 18 September 2018 at 15:36.
touko is offline  
Old 17 March 2019, 21:25   #44
RichAplin
Registered User
 
Join Date: Oct 2008
Location: san francisco/usa
Posts: 176
Hi, I wrote Amiga Line of Fire. ;-)
The 21-million-colour thing was a reference to how the graphics were ripped, i.e. using a frame grabber connected to the arcade PCB, which output 24bit images. The quality was pretty bad; they got a lot of manual touching up and recoloring to the limited palette... and still came out a bit shit. The actual arcade board was probably 16-bit color (565RGB). It would have been good to have ripped the graphics from the ROM but - at the time - my company didn't want to invest the time in trying (which of course may have been fruitless) - they were all about "just get on programming it".
By the time I did Final Fight I was "fuck this, I'm gonna rip the gfx this time", and got everything (much of which didn't make the cut due to ram/parallax/etc issues)

In terms of the sprite scaling; obviously it's possible to scale sprites on the Y-axis by blitting a few scanlines at a time (but it's relatively slow) - as I recall this is used on the cut-scene with the map where the inset thingy zooms out; the X-scaling for that was (IIRC) precalculated just before the cut scene; you can see it scales smoothly on Y and pops a little on X.

The in-game stuff IIRC just used prescaled sprites on both axis (edit.. ..actually.. looking at it again, that may not be the case; it may actually be scaling when blitting on Y - I have a vague recollection of tweaking it and actually making the Y-scaling slightly jumpy on purpose to closer match the X-scaling (which was always going to be jumpy as precalculated)

Not a great game in the arcade, and pretty silly to try to convert to home computer. It was kinda interesting to do, but was never going to turn out great.
RichAplin is offline  
Old 17 March 2019, 21:34   #45
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by RichAplin View Post
Hi, I wrote Amiga Line of Fire. ;-)
The 21-million-colour thing was a reference to how the graphics were ripped, i.e. using a frame grabber connected to the arcade PCB, which output 24bit images. The quality was pretty bad; they got a lot of manual touching up and recoloring to the limited palette... and still came out a bit shit. The actual arcade board was probably 16-bit color (565RGB). It would have been good to have ripped the graphics from the ROM but - at the time - my company didn't want to invest the time in trying (which of course may have been fruitless) - they were all about "just get on programming it".
By the time I did Final Fight I was "fuck this, I'm gonna rip the gfx this time", and got everything (much of which didn't make the cut due to ram/parallax/etc issues)

In terms of the sprite scaling; obviously it's possible to scale sprites on the Y-axis by blitting a few scanlines at a time (but it's relatively slow) - as I recall this is used on the cut-scene with the map where the inset thingy zooms out; the X-scaling for that was (IIRC) precalculated just before the cut scene; you can see it scales smoothly on Y and pops a little on X.

The in-game stuff IIRC just used prescaled sprites on both axis (edit.. ..actually.. looking at it again, that may not be the case; it may actually be scaling when blitting on Y - I have a vague recollection of tweaking it and actually making the Y-scaling slightly jumpy on purpose to closer match the X-scaling (which was always going to be jumpy as precalculated)

Not a great game in the arcade, and pretty silly to try to convert to home computer. It was kinda interesting to do, but was never going to turn out great.

Nice one Richard, I'd be interested to know what you think about porting Metal Slug to the A500 which is a hot topic also in this sub-forum.

Some here think it's possible to do the arcade or Game Boy advance version justice (I don't).
mcgeezer is offline  
Old 17 March 2019, 21:45   #46
RichAplin
Registered User
 
Join Date: Oct 2008
Location: san francisco/usa
Posts: 176
Haha codetapped ripped the gfx from LOF and that confirms it uses scaling on-the-fly (I suspect the X-scaling was done when loading the level) - most of the gfx are just in one size
http://codetapper.com/amiga/rips/line-of-fire/

...Ugh, those washed out gfx. Was never thrilled about 'em.

BTW practically nobody used 32 color gfx on the Amiga for many reasons; RAM, everything is slower (more blitting, more bus contention from video DMA, etc), plus porting to ST was always something you had to do...

Metal Slug? That was on Neo Geo hardware originally yeah? Well nowadays when converting anything to the Amiga I'd look to run the original game code wherever possible; most of the complaints about my arcade ports are b/c the (recreated) gameplay often wasn't very good. Given modern tools (MAME, primarily!) and all the info about the Neo Geo, I don't see why you couldn't directly reuse the gameplay code and end up with a less pretty, slower version of the game for >512k Amigas. As for _why_ anyone would do that... shrug! :-)

Last edited by RichAplin; 17 March 2019 at 21:50.
RichAplin is offline  
Old 17 March 2019, 22:23   #47
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,211
Quote:
Originally Posted by RichAplin View Post
As for _why_ anyone would do that... shrug! :-)
There's some crazy people about

Check out the conversion of Rygar that's currently in progress (much more suited to the Amiga hardware... even if it's for AGA)

Hey, when you over in the UK again Rich? I reckon there should be a St. Tropez re-union
DanScott is offline  
Old 17 March 2019, 23:29   #48
RichAplin
Registered User
 
Join Date: Oct 2008
Location: san francisco/usa
Posts: 176
Quote:
Originally Posted by DanScott View Post
There's some crazy people about

Check out the conversion of Rygar that's currently in progress (much more suited to the Amiga hardware... even if it's for AGA)

Hey, when you over in the UK again Rich? I reckon there should be a St. Tropez re-union
Until recently I still had that St Tropez t-shirt! (hell I may do, somewhere in a pile).
RichAplin is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Heureka / Klett Red Line / Orange Line English education TTSAddict request.Apps 4 17 September 2017 14:15
Understanding the (in)famous copper's lost cycle (PAL all line, NTSC short line). ross Coders. Asm / Hardware 10 13 March 2017 17:50
In the line of Fire - Dreamcast f.p.s - Kick-starter. Adrian Browne Retrogaming General Discussion 5 26 December 2016 02:21
Command Line question brolly support.WinUAE 8 18 April 2011 11:11
fire and ice cd32, turrican3 question McDuck support.Games 4 06 June 2009 20:11

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.27461 seconds with 14 queries