I will try to not be vague so i can get some real help here.. so please bear with me..
I am tying to learn SFML I am not new to C++. What i want to do is make a map and have an animation sprite move around and have boundaries
and interact with objects. I have an animation class and a player class where i am loading and displaying a sprite sheet and moving him around the screen(animation) for a player(not perfect but works).
What i am confused about is making the maps and displaying them and setting boundaries for the player. I hear terms like level, layer but unsure what they really mean to game design, and how they all work with the map and the player animations, collision detection etc.. I want to make a 2D rpg type tile game. something like zelda or chrono trigger, final fantasy.
I am trying to understand the structure.
The first layer allows you to define a basic landscape.
A second layer allows you to decorate it with trees, chairs, or other objects.
A third layer contains your sprites? Are sprites just like enemies, players, etc? Or can they be a whole map?
fourth layer defines the boundaries inside which the sprites can move.
Is this all done when i make the map?
Do i define the layers in C++ code?
Please forgive me if i seem to have a lot of questions below.
I want to make a map and set boundaries( collision detection?) and move the player sprite around the map.
I am just not sure where to start. Can i use something like tiled map editor? do i make one big map that consists of the entire game or do i make a map for each screen size? Do i just then add it to a data structure and then load it to the screen when needed?
I was looking over this tutorial on developing a SFML C++ tile engine from scratch.
He doesnt go into the map making process at all.
he mentions XML which i am familiar with and xaml but unsure how to use it. XML seems like something that could be easy to use with SFML? Seems like good guide but unsure how XML fits in with the map making process!
Can anyone give me some guidance on how the tile map process works with layers, etc..?
I guess i am just confused on the process. Sorry if it seems like i have a lot of questions. I tried to shorten it so someone will help me.
I have been threw most of what i can find for SFML
size_tMember Since 01 Apr 2012
Offline Last Active Apr 01 2012 11:38 PM
- Group Members
- Active Posts 2
- Profile Views 326
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
size_t hasn't added any contacts yet.
No latest visitors to show