How do I animate Sprites via code?

Get help using Construct 2

Post » Mon Jul 11, 2016 8:38 am

New day - new question: Is it basically possible to animate sprites via code?

I want to scale some sprites up, when they appear onto the screen, from 0.1 to 1.2 and then back to 1.0 (like a "plopp up" animation). Is there a possibilaty to do this in construct2 without using tweenlite or something?

I have no experience with tween lite - and i dont know if it will decrease the performance of the game, if i would use it.

Thank you very much and best regards!
B
11
S
2
Posts: 163
Reputation: 1,123

Post » Mon Jul 11, 2016 8:49 am

Yes it's possible, there are loads of different ways to do this, depending how your sprite moves.

Do you have some visual example of your sprite and how you want it to move? I'm not sure what the numbers mean that you've used in your question, or what a "plopp up" animation is.

If you can draw a simple image of what you want to do, I can probably help you.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
84
S
34
G
40
Posts: 3,032
Reputation: 30,499


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests