I got the instance, i change the x and y, but in the game, the sprite dont change... why?
inst.x = newX; inst.y = newY;[/code:1kqb7xb6] If i see in debug, the sprite x and y change, but i cant see at the canvas... why?
Where are the newX and newY values coming from?
Develop games in your browser. Powerful, performant & highly capable.
don't worry, the code is correct, it is a function... when i debug in chrome i have the x and y, when i debug in construct, the x and y change, but don't redraw.
I got it!
I miss:
inst.set_bbox_changed()