🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Working on the Quest Map

Published September 24, 2015
Advertisement
Lately I've been working on the quest map. The quest map will be accessible from a special kind of workbench, the Map Table, that you can construct as part of your base. Using the Map Table will bring up an interface showing the island map with various markers denoting quest locations. You'll be able to select a quest marker to embark on that quest, which takes you to another level. This is the style I have currently settled on for how the map will look:

G3jxoz2.png

Of course, this is without any quest tags. The map is randomly generated from a set of fractal functions (see here for an older article about how I do islands), then instanced as a tile map on top of the parchment scroll background.

I'm still working on the particulars of the map, but I'm getting the systems in place. The map itself is generated as a separate scene, which is attached to a viewport with a 512x512 render target texture. I construct the map as a scene of sprites, using Urho's 2D sprite functionality, and the map is then rendered to a texture. I have not yet built the UI widget for the map table, but the map texture itself is being built and is accessible. For a test, I built a map table and replaced the texture for the map portion with the render target.

PAlk2ig.jpg

I plan a system where the map "fills in" as quests are completed and the island is explored. The render texture will update as the map is modified.

Edit: Made a first iteration of the UI widget.

9tFWChK.jpg

On the left is a scrolling view (currently empty) where the quests will be listed. It's empty because I still have to implement the actual quest system. So... yeah, that'll take a little while.
13 likes 4 comments

Comments

Ashaman73

Looks good.

I would consider to render water tiles too and maybe frame the known tiles with dark tiles for unknown terrain. It is currently hard to see if there's water or not known terrain.

Nevertheless, good start :-)

September 25, 2015 05:05 AM
Aardvajk
That's pretty cool. So the map on the table will actually update as you complete the quests? Neat touch.
September 25, 2015 01:50 PM
Eck
I love that the map on the table is the REAL map instead of some genero-map-skin. Very cool.
September 25, 2015 05:25 PM
JTippetts
Yeah, I gotta admit the map on the table was a flash of inspiration, rather than a deliberate plan from the start. Initially, I had just a genero map texture on there, but as I was testing it out I thought, "wouldn't it be cool if...".

Ashaman73: Currently, all map tiles are visible. I haven't started on the fade yet. For the first attempt, I'll probably just alpha out the unexplored areas, and have bordering unexplored areas at, say, half alpha. See how that works, make any changes as they seem necessary.
September 26, 2015 11:15 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement