- each entity may now have one light attached to it, which essentially means that whenever that entity is moved, the light moves with it
- a backdrop can either be lit by the in-game lights, or have its own set of lights
- both entity and backdrop specific lights can be defined within the XML using [...]
Archive for the 'development' Category
“light” changes
April 17, 2008enException handling
April 15, 2008- added new class, enException, which is used for exception handling
- change XML light schema to allow both offset and positional modes at the same time
- minor bug fixes
editor and font changes
April 1, 2008- changed the enButton default texture, as well as created a new constructor which accepts a custom texture filename
- added a “new map” button to the editor screen which clears out the current map (and increases g_saveLevelCount)
- modified the test mode for trying maps to include a “caution” border, and the ability to go back [...]
editor changes and buttons
March 26, 2008- created a new GUI component, enButton, which consists of an enActor and an enLabel
- added a bottom menu bar to the editor screen (home, test, save, quit)
- added the ability to test a saved map from the editor screen (initiates “test map” mode)
- minor bug and memory leak fixes including an issue dealing with [...]
random(low,high), GameItemBox
March 9, 2008- added the ability to use the keyword random(low number, high number) as a value for any xml number attribute
- for player controlled entities, modified the texture flipping mechanism
- GameItemBox has been fixed to work properly with the xml level structure (given a separate child under its entity root)
- GameItemBox can spawn any type of [...]
editor changes and vsync modification
February 25, 2008- entity positioning in the editor’s entity chooser window no longer relies on x and y coordinates from the editor.xml file; positions are chosen based on a first-come first-serve basis, based on the size of the chooser window
- modified some strings with regards to the output of console messages
- added new console variable s_verticalSync which [...]
entityBattle
August 24, 2007- made some modifications to the console, and cleaning up of old states
- I’ve forked the main code line, entityengine, creating a new project called entityBattle which is a Super Mario 1 on 1 game
- entityBattle is a simple game where you must step on your opponent’s head to kill them; the player with the [...]
source code now online
July 25, 2007I’ve posted the source code online. You can view it here.
I hope to post a downloadable source code package soon.
console variable changes
July 13, 2007- added the ability to set a console variable’s value to an existing one (e.g. set g_gravity g_defaultGravity, cvar float g_lowGravity g_gravity)
- fixed the save map functionality in the editor to accommodate the new xml level structure, defaults each map to one offset light
multicoloured labels
July 11, 2007- added the ability to create multicoloured labels, with different parts of the text rendering in different colours through the use of tags (e.g. {041122} represents 04 red, 11 blue, and 22 green)
- colours can also be specified through use of tag constants, such as {DEFAULT}, {ERROR}, {RED}, {AQUAMARINE}