Sign in to follow this  
oOku

[ld38] ghost story - story platformer made for ludum dare 38

Recommended Posts

There is a bug when you quickly change character in some way you can float up and higher and higher, so then you hit ceil, but your physic leads to teleport to second floor and so on you end up at the top of a cake, you can then go out of map :)

Share this post


Link to post
Share on other sites

SNice! Short and simple, I really enjoyed it. Sometimes the mechanics felt a little stiff or slow but was a brilliant concept. I hope you keep the project and later add more levels. Brilliant!

How did you do the zoom out at the end? I want to copy that code..

Share this post


Link to post
Share on other sites

thank you. with mechanics you mean shapeshifting or something else?  

for the zoom I used:

zoom: function(game, scale, duration,easing) {
        
           zoomTween = game.add.tween(game.world.scale).to({
                x: scale, 
                y: scale
            }, duration, Phaser.Easing.easing).start();
            
            
    },

but you have to notice that this messes with a lot of functions depending on the world.scale in phaser. for example mouse clicks won't hit the right spot anymore or collision get's muddled up.   

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.