- Joined
- Dec 13, 2018
- Messages
- 384
I've made a few 2D landscape/terrain generators in the past mostly with the intention of making a roguelike game. I doubt now that I've got the enthusiasm (or stamina!) for such a project, so I thought I'd attempt a simple 'Rampart' like game but with simple randomly generated maps (no height or features such as rocks, rivers or trees). I've never played Rampart but I've watched a few videos and looked at some screenies. Here are the features I'm planning to steal and some of my own ideas...
As a start, I've got a simple wrap-around map generator sorted. You can switch between moving the mouse over the world map (which updates the close up view) or activating the close up view but can't do anything there yet. Not bad for about 200 lines of code!
Here's a shaky GIF showing the current state of play...
- Random (ok I'll get with it, 'procedurally generated') maps
- Player castles that cost gold and stone to build (you have to pay the builders and have the resources after all). Build anytime, anywhere.
- Probably a simple 'fog of war' view around castles
- A finite number of enemy ships that sail around and attack player castles - destroying x percentage of ships ('domination') wins the game
- Gold is obtained by destroying ships (handily, their treasure chests always wash up on shore!). They might also drop wood and iron, to be used to make cannon and mines.
- Stone obtained by placing a stone mine within your walls - costs gold and maybe wood
- Cannon can be placed in your castle's area of effect and cost gold
- Stone, used to repair your walls comes in random 'Tetris' style shapes
- Actually, I might add trees that you can 'harvest' with a cannon LOL
As a start, I've got a simple wrap-around map generator sorted. You can switch between moving the mouse over the world map (which updates the close up view) or activating the close up view but can't do anything there yet. Not bad for about 200 lines of code!
Here's a shaky GIF showing the current state of play...