What would be the best way to create a Map?

I’ve been scratching my head trying to figure out how i should create my overworld map
i’ve thought about using a matrix of strings for each point I’ve tried tilemaps but im just unsure whats the best way to do it

Something like this
Knight Knight's Map: Building Secret Paths - Yacht Club Games
where you can walk around and unlock things on the map

2 Likes

It may not go well with your game but seed generation would be AWESOME!

1 Like

My advice?
Make it open, give the player the ability to walk around, you can hide more secrets this way.

1 Like

Personally, I would use a cursor-sprite approach. Then you could have an array of points representing each level and then check if the sprite is within a certain distance of each point. If you make the points in the same order as the levels, then you can just use the position of the point in the array to tell which level it represents! IMO, that’s the easiest approach. If you wanted to be fancy, you could have the sprite move along a set path, but that would be very annoying to code, especially if the paths don’t go in a direct line to the next point.

2 Likes

that’s a pretty good idea but i really want the grid movement

And like any good question right after i ask i find the solution

download (8)

How i Did it


I’m going to use a Array of locations to make each location do something but that’s how i did the movement

2 Likes