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
passableto signify if we can walk on the tile. - Mostly just a basic object as of now.
- Has a bool
mapObject- Has a float
tileSizethat keeps track of the size of each tile. std::vector<std::vector<tileObject>> tileskeeps a 2D list of tiles.SDL_Texture* megaTextarget texture that holds the texture of all the tiles rendered in a grid.SDL_FPoint camPosandSDL_FPoint camPosGoaltracks where the camera is located and where it should be.float scaleGoaltracks what our scale of the map being rendered should be, used for zoom.getCamLimitsgets the limits of where our camera should be allowed to go.renderTilesdraws all the tiles ontomegaTex.
- Has a float
mapmethodscontrolreads input to control the map.drawDebugdraws information related to the map.drawChunkbased off map zoom, pos and rotation, updates themapObjecttexture by rendering the correct chunk ofmegaTexto it.loadMapcalled 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 |
Leave a comment
Log in with itch.io to leave a comment.