Replace the on mouse button clicked with system every tick and there you are..
Adding the timer behaviour to an object for that should work.
on pick up
object - set timer "powerup" for 2 seconds
object - on timer powerup
have you looked at rhe auto runner example from the new project dialog?
add a variable oldx
first check
if x>oldx - drag is moving right
if x<oldx - drag is moving left
next event
set oldx = x
well you could add them as project-files and load them from url..
But why not just set them as animationframes?
It's hard to say what's causing it without seeing the capx.
Try opening it with the build in debug and see if there are unexpected things happening..
You should provide some more information.
1 - which behaviour are you using
2 - which actions would you like to be performed and under what conditions
Develop games in your browser. Powerful, performant & highly capable.
Why not set animation to choose("animation1","animation2","animation3","animation4")
Never really a twitter user, but anyhow:
—
If you have the framenumber?
sprite - compare frame = 7
That is if you are talking about animationframes...
Here are some statistics on screensizes:
http://www.rapidtables.com/web/dev/scre ... istics.htm
Construct2 actually handles scaling pretty good..
So choosing a resolution depends more on how you like designing your graphics..
You will probably need one of these APIs
http://www.programmableweb.com/news/7-f ... 2012/06/21
Member since 26 Apr, 2011