"myfolder/"&sprite.variable&".png"
This may help
blog.kongregate.com/the-math-of-idle-games-part-i
medvescekmurovec.medium.com/math-the-backbone-of-idle-games-part-1-f46b54706cf1
gamedeveloper.com/design/the-math-of-idle-games-part-iii
Is variable < 90
Every second if (variable + 4) > 90 then
set variable = 90
else set variable to variable+1
construct.net/en/forum/construct-3/how-do-i-8/move-enemies-vampire-survivors-171628
It may help
Sprite3, uncheck Global property.
Its not a bug/glitch.
Develop games in your browser. Powerful, performant & highly capable.
Send me a discord msg I will help you.
KryptoPixel#1694
You are already doing it on:
Every random(3.10) seconds -> vaca_1.direcao choose
I dont think you need to pick each one.. just create an if vaca_1.direction = D -> move forward..
else if vaca_1.direction = E -> move forward..
Try using On touched instead of On tap.
Also you don`t need 2 separated blocks for this, as all other conditions and actions are same.
Create a main event: On Q pressed OR On touched on Ebbuttonpunch and put all others conditions inside a sub-event.
construct.net/en/make-games/manuals/construct-3/plugin-reference/date
There is also an example on this page.
Cant you just set the position of this sprite manully on a layout with parallax 0,0 ?
Just add a new event -> System:
System conditions:
construct.net/en/make-games/manuals/construct-3/system-reference/system-conditions
On suspended -> Store the datetime
On resumed -> Compare stored datetime to current datetime
construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions
ViewportBottom(layer) ViewportLeft(layer) ViewportRight(layer) ViewportTop(layer) Return the viewport boundaries in layout co-ordinates of a given layer. Not all layers have the same viewport if they are parallaxed, scaled or rotated separately. ViewportWidth(layer) ViewportHeight(layer) Return the size of the viewport in layout co-ordinates for a given layer.
ViewportBottom(layer)
ViewportLeft(layer)
ViewportRight(layer)
ViewportTop(layer)
Return the viewport boundaries in layout co-ordinates of a given layer. Not all layers have the same viewport if they are parallaxed, scaled or rotated separately.
ViewportWidth(layer)
ViewportHeight(layer)
Return the size of the viewport in layout co-ordinates for a given layer.
layer is the layer name as you can have many..