stewartmatheson / projectx

0 stars 1 forks source link

Before The Sun Comes Up

Overview

Rouge-like, where the player takes on the role of an archetypical burglar. A game involves the player moving from house to house stealing loot. Scores for the game are based on how much the player can steal in a given game. At the end of the game, the player's score is reset, and they must start again. If a player is good enough, they will make it to the end of "Henderson St"(Working Name) and get a bonus added to their score. The player's game will end once they rob all the houses or get killed by the police. Players can also get killed by ghosts. Once a player is killed, they must restart the game and lose all their items.

Cast

Graphics Treatment

ProjectX will be a pixel game. ProjectX will have a top-down view like "A Link to The Past" for SNES. Houses will range from American-style trailers to ornate mansions. The main player will wear a striped shirt and have a black mask. The resident of the house will always be the same old lady in her nightdress.

Systems

Overview

The following is a list that provides an overview of all the required systems for the game. See each system section for more information.

As the player moves around the game, they lose health. A player starts with three points of health. If a player arrives zero health, they die, and their score is zero as they could not escape with any loot.

Tile Atlas

House System

The game will feature predefined houses. Houses will consist of interconnected rooms with furniture placed randomly in them. The furniture will act as containers. The player can then interact with the furniture by searching the furniture. This will cause the player to make noise; however, they will find their loot and powerups.

When moving from room to room, the viewport will scroll in much the same way that the legend of Zelda does. This will happen when a player comes in to contact with a door entity. See the maps section for more details on how entities work. Moving through doors will occur in three different phases. First, the player will come in contact with the door. At that point, the player entity controller will be swapped out with a door transition controller entity. This door transition controller entity will move the player through the door without any input from the player. Once the player has moved through the door, the screen viewport will be scrolled to the next room. At this point, the door transition controller will move the player out into the next room. At that point, the door transition controller will be removed, and the player will regain control.

Noise

The game will feature a noise system. Making noise will attract unwanted attention to the player and may get them caught.

Power-ups

A list of powerups the player can get

AI

While moving through the house, the player will have to contend with various computer-controlled AI players. A director will be responsible for the following:

Pressure at any time in the game. When the player is under a higher amount of "pressure", they will have less ability to steal loot; however, when the "pressure" is reduced, the player will have more scope and space to complete the game's actions.

AI Type: Ghosts

The first level adversary of the game that the player will face is the ghost. These phantasms represent the stock enemy of the player.

Ghost Attributes:

AI Type: Cops

Will activity hunt the player and arrest them to end the game. When one cop spots the player, he will alert the others via radio. These cops may start activity hunting the player depending on their aggressiveness and menace.

AI Type: Residents

Will walk in their house from room to room. Not activity looking for the player. Will call the police if they see the player. This will then cause the police to spawn in the current map and start hunting the player.

Jobs

Jobs will happen with a tree. More advanced jobs will be added to the tree when game events happen so enemies will do new things to the player.

Menance

A menace value will be calculated at all times to tell the AI director how to build up the AI and what enemies to inject and what hitpoints and aggression the enemies have. Factors that will affect the "menace score" are:

Loot

The loot system will determine the players' final score in a given game. As the player moves through the house, they collect different items. Each item has values, with more challenging to get items having more value. An item's value can only be claimed once the player exists safely from a given house through any kind of exit point. If a player dies, all loot currently being held will be lost and not added to the player's score.

Maps

Maps will consist of both a tiling system as well as placed entities. The tiling system will allow rooms to be drawn by putting square tiles in a grid formation.

Technical Details

Entites

Entities describe any game object that exists on the map. Entities can be either static or move around the map. The entity class has an optional controller member that will allow it to move. If no controller member for the entity is defined, it will be considered static. Entities also can collide by defining hitboxes. If an entity does not specify a hitbox, then there will be no collision. Some tiles can be marked as walls. In this case, both a tile and an entity with no sprite are placed on the map.

Types of Entities

Bots

Why

I don't know... Because. To learn C++. To make a fun game. Stop asking me so many questions.

Resources

Actions

Goals

Rules

Objects

Play Space

The play space is whatever house the player is in. The houses will be set out as a series of interconnected rooms.

Players