the Phrozen Forums
  Graphics and Animation
  changing offsets

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   changing offsets
Baldrick
Moderator

Posts: 1334
From: The ShadowHaven
Registered: Oct 2001

posted 16 March 2002 15:03     Click Here to See the Profile for Baldrick   Click Here to Email Baldrick        Reply w/Quote   
i can't get past the very beginning of offsets in nefarius' tutorial. What exactly does this mean:
The best way I found to get offsets is to do original offsets +new width-old width which will be like this: If the original offset 20x 20y and size is 100x100px, the
new animation is 150x150px, the offsets will be 70x 70y. It is enough to get one offset for ALL the animations (thx to foxbat for clearing this up that you need only 2 matching offset instead of 16 ) Thanks in advance.

------------------
Baldrick
Your Mother is a hampster and your father smells of elderberries!
If you leave the k I will have to taunt you a second timea!
Keeper of the
ShadowHaven and QFG mod assistant developer.

[This message has been edited by Baldrick (edited 16 March 2002).]

IP Logged

Baldrick
Moderator

Posts: 1334
From: The ShadowHaven
Registered: Oct 2001

posted 16 March 2002 17:17     Click Here to See the Profile for Baldrick   Click Here to Email Baldrick        Reply w/Quote   
alright i'll be more specific. what does 100x and 100px mean or just x and px.

------------------
Baldrick
Your Mother is a hampster and your father smells of elderberries!
If you leave the k I will have to taunt you a second timea!
Keeper of the
ShadowHaven and QFG mod assistant developer.

IP Logged

Alkalund
Honorary Warlord

Posts: 964
From: Florianópolis, Santa Catarina, Brazil
Registered: Apr 2001

posted 16 March 2002 17:32     Click Here to See the Profile for Alkalund   Click Here to Email Alkalund        Reply w/Quote   
"100x100px" is just a way of saying the animation size is 100 pixels horizontal and 100 pixels vertical.

------------------
"Get me a balrog attack-1 hand-to-hand animation, and I want it yesterday, the paladin is almost here!" ---> DMA1HTH @ offset 0006A480h. - Myhrginoc

IP Logged

Baldrick
Moderator

Posts: 1334
From: The ShadowHaven
Registered: Oct 2001

posted 16 March 2002 18:11     Click Here to See the Profile for Baldrick   Click Here to Email Baldrick        Reply w/Quote   
now what does this mean:
The best way I found to get offsets is to do original offsets +new width-old width
thanks for the help.

------------------
Baldrick
Your Mother is a hampster and your father smells of elderberries!
If you leave the k I will have to taunt you a second timea!
Keeper of the
ShadowHaven and QFG mod assistant developer.

IP Logged

54x
Moderator

Posts: 3080
From: Wellington, New Zealand
Registered: Apr 2001

posted 16 March 2002 20:05     Click Here to See the Profile for 54x   Click Here to Email 54x        Reply w/Quote   Visit 54x's Homepage!
he's saying that if you know the offsets for the old image, (in his example this was 20x, 20y) and you know the size of both images, then you can work out the new offsets-

New image size (this was 150x150 in his example) - Old image size (this was 100x100 in his example) + Old offset (20x20 in the example) = New offset (70x70 in the example)

Any clearer?

------------------
54x.
"My computer has wheels on giant stilts that allow me to drive it over all the other, slower computers."
"For great bandwidth!"
http://www.planetdiablo.com/newdawn/
New Dawn Forum

IP Logged

Baldrick
Moderator

Posts: 1334
From: The ShadowHaven
Registered: Oct 2001

posted 16 March 2002 20:37     Click Here to See the Profile for Baldrick   Click Here to Email Baldrick        Reply w/Quote   
My offsets show as zero for both torch ants and frog demons. Is this natural?

------------------
Baldrick
Your Mother is a hampster and your father smells of elderberries!
If you leave the k I will have to taunt you a second timea!
Keeper of the
ShadowHaven and QFG mod assistant developer.

IP Logged

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c