Recommended Posts

Hi everyone! :)


So I am running into a little problem and I was searching through several posts without any luck. I used Phaser 2.3 for the game I have been working on for a couple of months now and recently switched to 2.5. The Zoom functionality I was/am using, broke as a result of my update.

I have been using valueerrors' zoom code (as a reference

And it works greatly with Phaser 2.3, but unfortunately breaks using 2.5

I made a fiddler adopting his code and added some debugging logs trying to figure out why it breaks.

I hope somebody knows what is going on or can push me into the right direction. One weird thing I noticed is that after zooming and trying to move around, it snaps back to to the top left position, unless you wait till the Focus value 'stabilized'.

I looked at the Phaser example for zooming and also I found this code 

But I really liked the zooming functionality I had been using, that's why I am rather looking for a fix.


If valueerror is reading this, thank you for sharing your beautiful code! :) 


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.