- 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 [...]
Archive for the 'console' Category
editor and font changes
April 1, 2008editor 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 [...]
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}
console and font changes
July 9, 2007- added new [fonts] section to the ini file, which stores information for in-engine fonts
- changed the default console font to a non-monospaced one; still using a monospaced font for lists where column width is important
- boolean variables now only accept true or false as valid values
lighting engine
July 6, 2007- modified the engine to allow multiple lights per level, each having their own colour, intensity, and movement
- shadows are cast dynamically from each object for each light
- lighting is still entity-based (the entire entity is coloured and lit)
- added new console variable, s_lightShadowFactor, which sets how large the shadow offset is
- fixed a bug [...]
shadows, enLight, console variables
July 4, 2007- added a new class, enLight
- added two techniques to render shadows on all entities, one that depends on the position of the light, and one that simply renders a shadow that is an offset of the actor’s position
- added four new console variables which control the rendering of shadows: r_drawActorShadows, r_drawActorMovingShadows, r_drawActorSolidShadows, r_drawActorSolidMovingShadows
- [...]
code changes
June 18, 2007- disabled the use of a log file for the time being (reinforcing the use of the console)
- shifted the splash page menu to the left and implemented keyboard manipulation
- all internal console constants now have default value constants
- added a spawn entity to the editor (xml tag spawn=”true”) which the engine will now use [...]
console logging and map finding
June 15, 2007- edited the behaviour of writeLine to no longer accept if an error is being passed
- writeError and writeSuccess are now being used throughout the engine
- maps can now be selected at the splash screen (using the left and right keys); the engine scans the “data/maps” directory for xml files