Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: Brick Nash on June 05, 2016, 04:06:02 PM

Title: Flipping animation images with Hrev?
Post by: Brick Nash on June 05, 2016, 04:06:02 PM
Just what the question says.

I've got flipping on single images down fine but stumped as to how to do it with an animation which uses multiple images. The Hrev function it seems can only be used within a bob command and can only be applied to one image at a time ( bob 1,x,y,Hrev(1) ) but it doesn't seem to have any effect on any of the images when an animation is running anyway.

I've tried with Amal and Amos Basic Anim but I just can't figure it out. Making doubles is out because the bob images are quite big and it'd be a horrible waste of memory.
Title: Re: Flipping animation images with Hrev?
Post by: jimwon2016 on June 05, 2016, 06:00:19 PM
http://www.ultimateamiga.com/HostedProjects/AMOSFactory/AMOSProManual/7/723.html

Describes how to set this up in Amal.
Title: Re: Flipping animation images with Hrev?
Post by: Brick Nash on June 05, 2016, 06:40:30 PM
Great that worked, thanks. I've been reading the game makers handbook but I'll make a bookmark of that online manual!
Title: Re: Flipping animation images with Hrev?
Post by: jimwon2016 on June 05, 2016, 06:43:00 PM
I would suggest reading through the AMOS manual is going to be a lot mor helpful than you might think. The game makers manual is a great book with lots of examples and ideas but is builds on top of the main manual.
Title: Re: Flipping animation images with Hrev?
Post by: Amiten on July 01, 2016, 02:02:01 PM
I never use REV or +($8000) function just store new set of bobs look a the other side left right animation you know, work for me using the REV not work so good . Regards

Enviado desde mi SM-N9005 mediante Tapatalk

Title: Re: Flipping animation images with Hrev?
Post by: Volvo_0ne on August 21, 2016, 07:27:07 PM
I never use REV or +($8000) function just store new set of bobs look a the other side left right animation you know, work for me using the REV not work so good . Regards

Enviado desde mi SM-N9005 mediante Tapatalk

I agree, the REV commands are quite limiting in the way they work, but to be fair they were originally designed to save precious RAM, Nowadays, that isn't so much of a problem, and simply storing reverse copies of your images has little overhead and less headaches.