Vidsneezes Posted February 16, 2014 Share Posted February 16, 2014 Hi folks, i need some powerful assistance. (you know?)I have a splash animation screen that was created in createJS. Well, pretty complex stuff if you ask me. But my problem is how could i go about displaying this animation then switching to my game using the same canvas?My first thoughts were placing this canvas on top of the canvas containing my game, then just i dunno destroy it when the animation is done. I am not sure if that is even possible since i haven't tried it.Any suggestions on tackling this problem? =) Edit * The Title was suppose to be CreateJs and Phaser. Quote Link to comment Share on other sites More sharing options...
rich Posted February 16, 2014 Share Posted February 16, 2014 You could position the canvas on-top of the Phaser canvas just using CSS. Just make sure you delete / stop CreateJS from running once you're done or it will sit there wasting resources. Quote Link to comment Share on other sites More sharing options...
Vidsneezes Posted February 16, 2014 Author Share Posted February 16, 2014 I ended up showing the animation on 1 canvas, then setting a timeout. The Timeout then calls the Phaser function on a different dom element(i use div for Phaser) but also removes the canvas element the animation was on. I think that gets rid of CreateJs running in the background, but i am not sure. It's pretty cool because the animation was probably made in flash and then just exported using CreateJs. It's not very responsive to orientation changes, but it's just a splash screen. 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.