Rotozoom archive restored

Game development specific discussions.
Post Reply
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Rotozoom archive restored

Post by Dr_D »

The link to my old rotozoom archive was dead, so I made a new package and stuck it here.

There are 3 different methods in there....
Standard: No alpha support.
Alpha: Supports images with alpha channels.
AlphaSSE: Supports images with alpha channels, plus additive alpha as a parameter.

The demo is probably enough to get going with them, but if not, I'm happy to answer any questions. :)
BasicCoder2
Posts: 3906
Joined: Jan 01, 2009 7:03
Location: Australia

Re: Rotozoom archive restored

Post by BasicCoder2 »

@Dr_D
Thank you for sharing.
Cool demo although rather disturbing :)
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Re: Rotozoom archive restored

Post by Dr_D »

BasicCoder2 wrote:@Dr_D
Thank you for sharing.
Cool demo although rather disturbing :)
Hahaha... thanks, I think! ;p
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Re: Rotozoom archive restored

Post by Dr_D »

Hey guys... I just wanted to ask if anyone who has made a game using this would post a link in this thread please? I've made a few things with it, but nothing really noteworthy. Thanks! :)
Roland Chastain
Posts: 993
Joined: Nov 24, 2011 19:49
Location: France
Contact:

Re: Rotozoom archive restored

Post by Roland Chastain »

Dr_D wrote:I just wanted to ask if anyone who has made a game using this would post a link in this thread please?
Hello! The rotozoom was used in Frogger.
Fabrizio_00000
Posts: 21
Joined: Mar 31, 2011 17:30
Location: Rome, Italy

Re: Rotozoom archive restored

Post by Fabrizio_00000 »

I guess it's nice.
I can only "guess" because when I compile (1.09 64bit) I get:

all.asm:869: Error: incorrect register `ebx' used with `q' suffix
all.asm:872: Error: incorrect register `ebx' used with `q' suffix
all.asm:941: Error: incorrect register `eax' used with `q' suffix
all.asm:1728: Error: incorrect register `ebx' used with `q' suffix
all.asm:1731: Error: incorrect register `ebx' used with `q' suffix
all.asm:1800: Error: incorrect register `eax' used with `q' suffix
all.asm:1812: Error: operand type mismatch for `push'
all.asm:1815: Error: operand type mismatch for `push'
all.asm:1818: Error: operand type mismatch for `push'
all.asm:1896: Error: operand type mismatch for `pop'
all.asm:1899: Error: operand type mismatch for `pop'
all.asm:1902: Error: operand type mismatch for `pop'

Can it be I'm using a 64bit compiler and the asm code is written for a 32 compiling?
SARG
Posts: 1756
Joined: May 27, 2005 7:15
Location: FRANCE

Re: Rotozoom archive restored

Post by SARG »

Fabrizio_00000 wrote: Mar 24, 2022 14:20 Can it be I'm using a 64bit compiler and the asm code is written for a 32 compiling?
Yes that's exactly the problem.
You can use the 32bit version of fbc or add these parameters : -gen gas -arch 686 to force the emit of 32bit.
Post Reply