Ultimate Amiga

Please login or register.

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

Author Topic: Flipping animation images with Hrev?  (Read 3533 times)

0 Members and 3 Guests are viewing this topic.

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Flipping animation images with Hrev?
« 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.
Logged

jimwon2016

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
  • Generic Amiga User
Re: Flipping animation images with Hrev?
« Reply #1 on: June 05, 2016, 06:00:19 PM »

Logged

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Re: Flipping animation images with Hrev?
« Reply #2 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!
Logged

jimwon2016

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
  • Generic Amiga User
Re: Flipping animation images with Hrev?
« Reply #3 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.
Logged

Amiten

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 128
  • Amos Coder Since 1990
    • Amiten Software
Re: Flipping animation images with Hrev?
« Reply #4 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

Logged
AMIGA is a Style of Life

Volvo_0ne

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 71
  • A1200 lover
Re: Flipping animation images with Hrev?
« Reply #5 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.
Logged
Transuranic heavy elements may not be used where there is life.
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022