Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
Hi there I am new here in this forum so... i am learning live code and i have a problem with animation, i was thinking maybe you could help me
So the problem is that i can.t move my player to mouseloc() at the same time when it is changing skins. For first it is reading all its skins then moving to mouseloc() can you help me with that? please Also here is the file.
p.s. Sorry for maybe bad english
please do not use THAT much smileys in ONE sentence (or are you 12 years old?), thank you
OK, for a beginner you have a LOT of handlers in your card- and stackscript!?
Most of this is definitively not neccessary for your actual small problem and may even be the source of your problem.
Do you understand what is going on in the scripts? I don't!
Please tell me in clear words what you are trying to do, cannot (actually don't want to) guess from the scripts!
please do not use THAT much smileys in ONE sentence (or are you 12 years old?), thank you
OK, for a beginner you have a LOT of handlers in your card- and stackscript!?
Most of this is definitively not neccessary for your actual small problem and may even be the source of your problem.
Do you understand what is going on in the scripts? I don't!
Please tell me in clear words what you are trying to do, cannot (actually don't want to) guess from the scripts!
Best
Klaus
Sorry , i didn't know you could get angry from TOO much smiles I'm just smile girl (more than 12 years) .
i am not a beginner in livecode, i said i am new in this forum, it is 3 month i am learning livecode by myself, my problem is with animation. In words i can tell you i want to make just a walking man, i want to click some place and that man walk to there.
OK, what about the gazillions other handlers? Do you really need them?
And what is actually YOUR code so far?
To be honest, this is definitively OVERKILL for simply moving a button and change its IDs!
I will see if I can come up with a simpler (and thus more understandable) solution.
i don't understand your questions do you think handlers too much??? okay i'll wait for your code and i.ll try to do in simple way too, but i tried that way long time ago and couldn't do it, so please if you can Help me thanks
OK, my questions are exactly:
1. Did you write all that code?
2. Do you really understand what is going on in the code and what the handlers do?
And the animation is JERKY with the current code!
What I mean is for moving a button and change its icons these scripts are OVERKILL!
So I will try to come up with something else that is UNjerky and easier to understand.
Klaus wrote:OK, my questions are exactly:
1. Did you write all that code?
2. Do you really understand what is going on in the code and what the handlers do?
And the animation is JERKY with the current code!
What I mean is for moving a button and change its icons these scripts are OVERKILL!
So I will try to come up with something else that is UNjerky and easier to understand.
Yes i understand whole code because i wrote it learning from lessons GameAcademy okay okay i am waiting for your help thanks
OK, Madame with the unpronouncable name (AstghikM?), here my stack which does exactly what you want:
Click anywhere on the card and the man moves to that point and anminates in the meantime.
I deleted all previous scripts and started anew, all is in the CARD script with lots of comments!
It's the same structure as yours and Game Academy's.
Klaus's code works, too, if you think that Game Academy code is overkill for this job.
But if you want animate many other objects, more than one player, then you should proceed with Game Academy way.