How do I create my game world map?

0 favourites
  • 2 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Hello guys, I have question. I'm creating a simple 2D game. Not a regular RPG game, so I do not need a tiled map for my characters to walk on. What I basically need is a map of my game world. I need to be able to zoom in and zoom out, also drag my map and show current location of player. So I need a map functionality like in this video

    Subscribe to Construct videos now

    I already have a high res image of my map, just need to make it interactive.

    Can someone point me to the right direction, to some tutorial I cannot find... :/

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • To zoom in and out you alter Set Layout Scale, +/- values probably on wheel scroll or however you want to trigger it. For the drag you could add drag/drop behaviour to lift the whole map, that should work well. You could also simulate by doing something like on mouse pressed down, create an invisible sprite at mouse.x with scroll to, kinda like an invisible camera, as you move the mouse, have the sprite move in the opposite direction away from the mouse and it will give the effect of dragging where really the camera is just moving.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)