Bandini Posted August 11, 2016 Share Posted August 11, 2016 Hello. First i apology if my english is hard to understand i'm french. I'm doing some experimentation with BabylonJS. Trying to developp some functionnality for creating a game down the road. Perhaps developping a library for handling 2D sprite for adventure/strategic game if it can be of interest for some people. But i have a small problem. I just want my sprite to move from A to B. It's working fine but the scene only render wen my sprite has been to B, not displaying the traveling in itself. If i'm not clear, i want to be able to see that my characters is walking from A to B. This is what i did. http://www.babylonjs-playground.com/#1WGIY5#0 I try with doing scene.render() or scene.clear() after the incrementation of the player position. But it doesn't seem to work. Has someone got and idea? (for now the click only work when we click on the right of the character) (or should i use ActionManager?) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 11, 2016 Share Posted August 11, 2016 Here we are: http://www.babylonjs-playground.com/#1WGIY5#29 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.