Page 1 of 1

Naming actors bugs

PostPosted: Sun Mar 14, 2004 2:25 pm
by ingsan
in the "data" file, is it possible to put sub-folders?

i should explain my problem : GE seems to conflict when dealing with actors having the First letter of their name same (ex Wall (actor1) and Weird (actor2)).

i have an animation sequence on one actor named Guy.png (15 frames) and another actor named Game-Over.png (5 frames). On KeyLeft, my actor plays "Guy*.png".

But in my game, on Left Key, u first get the Guy*animation sprites and then the Game-Over*animation sprites :?

So this brings me to my prevoius question : can we create sug-folders in the data file to avoid such conflicts ?

Image

PostPosted: Mon Mar 15, 2004 10:48 am
by ingsan
any idea :?:

PostPosted: Mon Mar 15, 2004 1:53 pm
by makslane
There is a bug, the workaround is rename your animations to avoid this

PostPosted: Mon Mar 15, 2004 1:56 pm
by ingsan
Yeah that's what i did to avoid problems. Maybe this bug ought to be corrected in next version :)

PostPosted: Mon Mar 15, 2004 1:59 pm
by makslane
Yes

PostPosted: Mon Mar 15, 2004 2:04 pm
by ingsan
Wonderful ! :D

PostPosted: Mon Mar 15, 2004 2:30 pm
by ingsan
oh ! One thing that anyone who gets this bug has to know !

if u have 2 actor having the same first letter for their respective names (ex harry and hello), just rename any of them with a Capital H!
So, u'll have Harry and hello or harry and Hello
and the bug id solved ! 8)

PostPosted: Mon Mar 15, 2004 5:22 pm
by phractus
yo man use animation sequences to get around this without having to rename files.

PostPosted: Mon Mar 15, 2004 5:39 pm
by ingsan
:? Mmmmm...can u explain?

PostPosted: Mon Mar 15, 2004 6:18 pm
by phractus
Say you have 3 6 frame animations for north (N, NE, NW) when you run N if it plays all of these create a sequence of frames 1-6 for N say, 7-12 for NE and 13-18 for NW. Then change to these sequences for change animation. This just breaks down what the engine thinks is one big animation into 3 segmants wich can be run independitly.

PostPosted: Mon Mar 15, 2004 9:44 pm
by ingsan
That's Great ! See i never worked with that.
Thanx for the tip dude ! :)

PostPosted: Mon Mar 15, 2004 10:11 pm
by phractus
No problem man, i just hadda figure out the same thing a cupple days ago. It works pretty good. I was thinking of Just putting all of my animations for one actor under the same name then using sequences for everything. This would allow you to edit them better. Im just not sure how it effects the resources.
~peace~

PostPosted: Mon Mar 15, 2004 11:20 pm
by ingsan
ur totally right. in my next project that's exactly what i'm gonna do. i will avoid bugs and save time.
again thank u :wink:

PostPosted: Tue Mar 16, 2004 6:17 pm
by makslane
phractus wrote:No problem man, i just hadda figure out the same thing a cupple days ago. It works pretty good. I was thinking of Just putting all of my animations for one actor under the same name then using sequences for everything. This would allow you to edit them better. Im just not sure how it effects the resources.
~peace~



There is no effect on machine resources