Apologies if this is a bit vague. How to I get Construct to register a series of actions in order and then respond to the string that it's read. For example, I have a set of sprites set out like a phone keypad that can be clicked on individually. What is the best way to log a set of clicks in order (like a phone number) and have an event trigger for individual number sequences?
Thanks in advance!
Thank you so much! I didn't know this was a thing before!
I am using a global variable throughout a game, and I was wondering if there was a way to do use compare variable to check something like "number" is equal to 4 or 7 or 9.
What's the best way to do something like that?
Thanks!
ah, sure. It was more out of interest really. I used that plugin recommended above and it works a treat. (Thanks dop2000.
I haven't done my research into moving to C3 yet. I should though!
Ah, cool. Thank you so much for that.
Is there any way to do it without using a plug-in. I figure it'd be good to learn!
Develop games in your browser. Powerful, performant & highly capable.
Hey everyone,
Apologies if this has been explained elsewhere. I have a sprite that moves from left to right when an object is clicked with the mouse. I've got that working perfectly, using the custom movement behaviour.
And that looks like this: https://twitter.com/i/status/1135289518083514371
What I want to add is a smooth motion to the sprite (acceleration and deceleration). I think I'm on the right track using lerp, but just can't work it out!