browserquest / BrowserQuest

Continuing the development of Mozilla BrowserQuest
http://browserquest.herokuapp.com
Other
444 stars 220 forks source link

Simple Question about Map making...? #198

Closed lunarcontrol closed 8 years ago

lunarcontrol commented 8 years ago

This is probably a really dumb question..

How do you specify where players can and cannot walk? I can't seem to figure it out by looking at the map? Is it hard coded into the game somewhere?

Why are the "blocking" boxes not put on the edges? Is in in a layer that i am not seeing?

Here is what i'm talking about: Image of Map

Thanks for the help in advance!

ghost commented 8 years ago

I can't broadly answer that question, add me on skype and I'll explain how it works. Flavius201202

On Feb 14, 2016, at 11:08 AM, Royce Whitaker notifications@github.com wrote:

This is probably a really dumb question..

How do you specify where players can and cannot walk? I can't seem to figure it out by looking at the map? Is it hard coded into the game somewhere?

Here is what i'm talking about: http://i.imgur.com/bXLyTy5.png

— Reply to this email directly or view it on GitHub.

lunarcontrol commented 8 years ago

I added you.. Thanks for everything m8 :)

phinolex commented 8 years ago

Hi ! :)

This is not really complicated.

I explain to you :

-Open tiled

-In the "tilesheet" right click on the image in question. screenbo

screen2bo

c → collision: for walls and other sprites which block the player; You just have to remove it for no longer have collision on that tile.

I hope to have helped you!

Sorry for my bad English. :s

lunarcontrol commented 8 years ago

Thanks! I was just using the tile blocking layer but this will be better in some cases! Thanks again!

lzbk commented 8 years ago

It's way too late… sorry about that, I haven't worked on this project for a whiiiiiiile… and unfortunately I won't anytime soon. But I feel it is useful to mention that the wiki has loads of useful info: https://github.com/browserquest/BrowserQuest/wiki/Create-a-map-using-tiled-map-editor#tile-properties Plus, that type of info would be more useful to others in the wiki as opposed to closed issues ;)