animindex read-only

Ideas for Game Editor evolution.

animindex read-only

Postby Kalladdolf » Thu Jul 31, 2008 5:58 am

It's kinda sad, could you make that a normal variable (like animpos), since it's annoying to change every animation with the ChangeAnimation action, or is there any other way? *shot*
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: animindex read-only

Postby feral » Thu Jul 31, 2008 8:28 am

Agreed - very good idea...

I assume you want to say something like

animindex=6
or animindex="fire"

if so I may work on a function for this..

but I still agree, it would be nice to be built into the script language.. I don't know how many times I have started to type animindex=

then went DOH!! :?
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: animindex read-only

Postby Kalladdolf » Thu Jul 31, 2008 8:37 am

heh same here ^^
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: animindex read-only

Postby Fuzzy » Thu Jul 31, 2008 5:56 pm

Its noy so straight forward. the animindex is actually a pointer and isnt necessarily contiguous in memory. That is, The computer doesnt store them as 1 2 3 4...
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: animindex read-only

Postby Kalladdolf » Thu Jul 31, 2008 6:45 pm

well, you could make this work if you made a variable and if the animindex was not equal to it then ChangeAnimation...
but you'd have to assign an animation to every number and that gets quite annoying T_T
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: animindex read-only

Postby feral » Fri Aug 01, 2008 12:06 am

I came up with a variety of solutions to this, and posted them in the advanced section - so, I deleted my other posts here to keep them all together in the right section

see viewtopic.php?f=5&t=5999
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: animindex read-only

Postby Thanx » Sat Aug 02, 2008 1:15 pm

The reason I think this isn't something that is easily done, is because there's another thing involved: animstate (forward, backward, no_change, stopped). Which isn't in the form of an open variable/constant type of thing.
So I like the idea otherwise, but I think that then there should be an animstate variable so that we still have the same control over the animations!
:wink:
http://www.youtube.com/watch?v=XyXexDJBv58
http://www.youtube.com/watch?v=Be4__gww1xQ
These are me and playing the piano (second one with a friend/fellow student)
Hope you watch and enjoy!
User avatar
Thanx
 
Posts: 314
Joined: Sat Jan 26, 2008 10:07 pm
Location: Home sweet home! :)
Score: 24 Give a positive score

Re: animindex read-only

Postby feral » Sat Aug 02, 2008 8:30 pm

Thanx wrote:The reason I think this isn't something that is easily done, is because there's another thing involved: animstate (forward, backward, no_change, stopped).


FIXED ! :D (they appear to be #defines )
see viewtopic.php?f=5&t=5999&p=41893#p41893


feral
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: animindex read-only

Postby Thanx » Tue Aug 05, 2008 8:36 am

OK, I didn't say ANYTHING! lol :D :lol: :mrgreen: :wink:
Great idea, cool stuff!
http://www.youtube.com/watch?v=XyXexDJBv58
http://www.youtube.com/watch?v=Be4__gww1xQ
These are me and playing the piano (second one with a friend/fellow student)
Hope you watch and enjoy!
User avatar
Thanx
 
Posts: 314
Joined: Sat Jan 26, 2008 10:07 pm
Location: Home sweet home! :)
Score: 24 Give a positive score


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest