Jump to content

Any good tutorial for tilemaps?


dieter91
 Share

Recommended Posts

Hey

 

I'm new to phaser and gamedevelopment in general. I've managed to make a simple map in Tiled. Now i want to implement it in my code, but i've tried so much and it just won't work...

So is there any good tutorial out there that explains tiles in phaser? Because i've been googling for a while now. 

 

thanks

Link to comment
Share on other sites

I've got a tutorial in the works for this, will be published in January. We've recently redone the tilemap handling in Phaser extensively, it's a lot more flexible and easier to use now, so give it a few weeks for the holidays to get out the way and you'll soon start to see a load of activity around this.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Is there a way to increase the size of what is shown in a tilemap/tilemaplayer? I'm currently trying to use several tilemaps next to eachother, but it just doesn't work.

The problem is that for tilemaps bigger than the gamescreen if you set fixedToCamera=false, it becomes the size of the screen in place and weirdly scrolls within that smaller screen. I get that this is intended to create such effects that can be seen in the tutorials etc.

 

But I can't seem to find what properties decides this. I've tried looking at source, changing camera/world/layers/maps etc. So I'm up for any tip etc.

 

I guess you could have a variable keeping track of current tilemap and when it reaches a certain point it changes to another one. But that seems pretty annoying to implement and might not be the most efficient.

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...