Difference between revisions of "User:Paril/Rampart"

From WiiBrew
Jump to navigation Jump to search
Line 1: Line 1:
{{Infobox homebrewapp
{{Infobox homebrewapp
| title      = WiiPart
| title      = WiiPart
| image      = [[Image:wiipart.png]]
| image      = [[Image:WiiPart.png]]
| desc        = A port of the popular castle defense game, Rampart
| desc        = A port of the popular castle defense game, Rampart
| type        = Game
| type        = Game

Revision as of 18:48, 10 February 2009

Wiimote1.svg WiiMote2.svg Nunchuck alternative.svg ClassicController.svg Loads files from the Front SD slot


This is a port of Rampart, a popular castle defense game that made it's way to pretty much every console. The Wii did not have it's own version as of yet, so I'm making one!

Rampart is, essentially, a castle defense game where you go through three stages of gameplay. The pre-stage at the beginning of a game requires you to select a castle as your home castle, to which you will get walls built around it to own territory for the next stage. Then you skip to Stage 2 (as that was the stage 1 for the start of the game), building cannons. You gain 3 cannons to start and can only build them on your owned territory. Stage 3 spawns ships in the water whom you must destroy or last for 30 seconds, to which you will head to Stage 1, repairing holes in walls to re-gain territory and to gain new castles for construction bonuses and more cannons to build for Stage 2. The cycle repeats until you have lasted a fixed number of rounds or you capture all 5 castles.

Rampart on Wii will also support a two-player mode. In two player, the map is set so that there are two 'islands' where the players have their own sets of castles. The gameplay plays the same as single player, except they must destroy each others' walls and can destroy the cannons of their opponents (unlike SP, where cannons cannot be destroyed). A winner is declared when either a player does not have a castle after build period, or a player captures all castles on their side.


Rampart uses libwiisprite and Sndlib. The game supports use of nunchuck and classic controller for movement, if you prefer to play it more classic-ly.


Feb 09: Rotating blocks are completely finished. As of now the Wiimote has to be angled in the direction you want to place the block (the outline correctly shows how it will be placed). If anyone has more creative angle solutions let me know. Started making it a bit more managed; you can now pick a castle and it'll build walls around it. I have yet to figure out how to do some of the neat effects like walls that you visually see building bit by bit around the home castle due to the way I wrote my wall building system.. The next part is figuring out how to make castles "owned", as to check territory I do a recursive check through all grass/water, and any tiles not marked are assumed to be territory.

Feb 08: It's been in development for a week or so now. A working menu has been created and the basis of the in-game gameplay is ready. You're able to build territory marked as black with differently shaped walls (all same shapes as Rampart). A particle system has been developed for explosions and the like.


Programming - Paril

Design Aid, graphical work, support - Chris (of Bananatech)

Graphical work - Tim

Graphical work - Hayes

Letting me borrow his Wiimote - Dustin


I have a lot of development questions for libwiisprite and the like, I will post them in the Discussion section, anyone who has answers I would be grateful if you answered 'em :)