
caiser
Members-
Posts
10 -
Joined
-
Last visited
caiser's Achievements
Newbie (1/14)
0
Reputation
-
Thanks rgk, And is there a way to stop it when needed ? I want it to work in some states and not others.
-
So how do we use this plugin ? A simple 'this.game.plugins.add(Phaser.Plugin.SaveCPU)' ? The Github page has no documentation in it. Thanks
-
Hello guys, I was following this tutorial (http://www.emanueleferonato.com/2015/01/21/create-an-html5-level-selection-screen-using-a-scrollable-map-like-in-hero-emblems-game-using-phaser/) and everything worked fine on Phaser 2.2.2. But When I upgraded to Phaser 2.4.4, a bug has appeared: When you click on the map. you can start dragging it, but when you release the map it is still in drag mode (ie the dragging can't be stopped). Any ideas on why is that ? Did something related to this change in 2.4.4 ? Could it be something related to scaling ?
-
Hi, I have an oversize background sprite that the user can scroll up and down. Currently, when the game is launched, the sprite is positioned in the middle of the screen; so I have to scroll up and down to see the top and the bottom of the image. What i want is to display the bottom left corner of the sprite in bottom left corner of the screen; ie the bottom of the sprite has to be visible to the player when the game is launched. I tried to play with Anchor and Camera but with no luck. Does anyone have an idea on how to do this ? Thanks
-
Hi guys, I'm wondering if it is possible to have a "slide effect" between states. I know we can use ease in/out effects but I couldn't find a slide (tween?) effect. Any help is appreciated. Thanks
-
Thanks rich, But I think I'll have to find another way (maybe use a generic state as you said) Loading 100+ js file in the index.html is not a good idea...
-
caiser reacted to a post in a topic: Is it safeto have many states in Phaser?
-
Thanks a lot rich. Just to be clear, does phaser clean up everything when I move to one state or another or I have to do few things manually ? And by "gc", you mean Game Content ?
-
Hello guys, I am building a puzzle game which has more than 100 levels. For each puzzle/level, I am planning to create a state, so for example I will be having: level1.js, level2.js, ... level100.js Is this a good practice or it might raise few issues ? Thanks