Jump to content

how to draw and move the map without a character and no viewport follow on 4.1?


Sairahcaz
 Share

Recommended Posts

Hi I'm very new to melonJS.

I removed the character (and so the viewport follow call) of the isometric_rpg example, cause I dont need it.
I want to move the map with mouse panning.
All the answers I found and the tutorials has a character, so these answers dont realy helped me.

Now when I load the example it gets blank after to load screen. 

But "me.levelDirector.loadLevel("isometric");" is called in the playscreen object.
It think it has something to do with a update function, and sure somewhere I had to put the viewport.move(), but I dont realy know how and where.

Thanks for help!

Link to comment
Share on other sites

  • Sairahcaz changed the title to how to draw and move the map without a character and no viewport follow on 4.1?

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...