Difference between revisions of "Starward Rogue:XML - Overall Organization"
Jump to navigation
Jump to search
(Created page with "Starward Rogue XML Documentation Main Category:Starward Rogue") |
|||
Line 1: | Line 1: | ||
+ | |||
+ | ==Overall Organization== | ||
+ | There are a few key words that are important to understand for purposes of the API documentation. | ||
+ | |||
+ | ===GameEntity=== | ||
+ | |||
+ | *This is most things in the game. But, specifically: | ||
+ | *GameEntityCategory.'''Shot''' | ||
+ | **These are actual individual bullets moving around. They might be part of some larger pattern or who knows, but the important thing is that this is one bullet moving around. | ||
+ | *GameEntityCategory.'''Ship''' | ||
+ | **Good or bad, this is either a player or an enemy. | ||
+ | **Ships CANNOT attack directly. They have to have guns mounted on them (see below), and then the guns do the attacking. | ||
+ | ***If a ship looks like it has no gun, it is using an invisible gun. | ||
+ | *GameEntityCategory.'''ItemPickup''' | ||
+ | **These are actual item pickups that you can step on and pick up. You can also drop these. | ||
+ | **If you are doing item design, probably this is where you will do that. | ||
+ | *GameEntityCategory.'''Obstacle''' | ||
+ | **This is a very strange category and likely you won’t do much with. These include things ranging from mines to interior walls to those floor-mounted lasers to the shootable and bombable wall bits, etc. | ||
+ | |||
+ | ===EntitySystem=== | ||
+ | |||
+ | |||
[[Starward_Rogue:Main#XML_Documentation|Starward Rogue XML Documentation Main]] | [[Starward_Rogue:Main#XML_Documentation|Starward Rogue XML Documentation Main]] | ||
[[Category:Starward Rogue]] | [[Category:Starward Rogue]] |
Revision as of 17:21, 21 November 2015
Overall Organization
There are a few key words that are important to understand for purposes of the API documentation.
GameEntity
- This is most things in the game. But, specifically:
- GameEntityCategory.Shot
- These are actual individual bullets moving around. They might be part of some larger pattern or who knows, but the important thing is that this is one bullet moving around.
- GameEntityCategory.Ship
- Good or bad, this is either a player or an enemy.
- Ships CANNOT attack directly. They have to have guns mounted on them (see below), and then the guns do the attacking.
- If a ship looks like it has no gun, it is using an invisible gun.
- GameEntityCategory.ItemPickup
- These are actual item pickups that you can step on and pick up. You can also drop these.
- If you are doing item design, probably this is where you will do that.
- GameEntityCategory.Obstacle
- This is a very strange category and likely you won’t do much with. These include things ranging from mines to interior walls to those floor-mounted lasers to the shootable and bombable wall bits, etc.