Devlog 1
Sacred Gambit » Devlog
Sacred Gambit Devlog 1
Main Menu
- Added background and title.
- Added Quit button.
- Quits the program, yeah really.
- Added Options button.
- This menu will be used for, believe it or not, changing optional options.
- Added a button that switches through resolutions.
- Added Start Button
- Loads into the map.
Map
tileObject
- Has a bool
passable
to signify if we can walk on the tile. - Mostly just a basic object as of now.
- Has a bool
mapObject
- Has a float
tileSize
that keeps track of the size of each tile. std::vector<std::vector<tileObject>> tiles
keeps a 2D list of tiles.SDL_Texture* megaTex
target texture that holds the texture of all the tiles rendered in a grid.SDL_FPoint camPos
andSDL_FPoint camPosGoal
tracks where the camera is located and where it should be.float scaleGoal
tracks what our scale of the map being rendered should be, used for zoom.getCamLimits
gets the limits of where our camera should be allowed to go.renderTiles
draws all the tiles ontomegaTex
.
- Has a float
map
methodscontrol
reads input to control the map.drawDebug
draws information related to the map.drawChunk
based off map zoom, pos and rotation, updates themapObject
texture by rendering the correct chunk ofmegaTex
to it.loadMap
called from the main menu to initialize the map.
Get Sacred Gambit
Download NowName your own price
Sacred Gambit
Turn based tactics!
Status | In development |
Author | Cadex |
Genre | Strategy |
Tags | Pixel Art, Tactical, Top-Down, Turn-based |
Languages | English |
More posts
- Playtest 11 day ago
- Devlog 41 day ago
- Devlog 32 days ago
- Devlog 22 days ago
Leave a comment
Log in with itch.io to leave a comment.