Hey guys,
I'll begin by telling you exactly what I'm doing and then telling what kind of help I need.
What I'm doing:
I've been learning C++ and I've been learning how to do a text-based RPG game. It's something simple, you have a storyline to follow, classes, NPC's to talk to, combat system, menu system, equipping items system, etc etc.
- I have a fair knowledge of C++;
- I don't know how to, like, do checkpoints through I/O files (i think that's the correct term, forgive me if not).
- I have yet to start learning SDL.
What I want help with:
In that game, I want to have a simple 2D map that will help the player to know where he/she is to make the game much less confusing. This map will appear above the text and I want it to change as the player advances in the game, like:
|___|
| o |
|___| (Player Location is "o")
You wake up in the middle of a forest bla bla bla a path goes North.
1: Go north
(player presses 1)
| |
| __ |
| o |
|___|
| |
|___|
bla bla bla bla the path continues to the north.
1: Go north
Get it?
Now I want to do this with SDL to make it easier so i don't have to build the map in C++ everytime I write a new area.
How can you help me:
I need a good tutorial (text or video, it's indifferent) that explains me how to build this kind of map for this purpose in SDL.
Does anyone know such a thing?
Can I learn how to do this by simply learning SDL?
Is there any other (preferrably simpler) way of doing this?
Thank you so much in advance.