doubledamnation
doubledamnation copied to clipboard
Level Editor Advanced Values
Description There are 4 values which could be changed for different gameplay. This is speed and gravity. In short:
- GroundSpeed
- MidairSpeed
- GravityGrounded
- GravityMidair
Changing any of the above, changes gameplay greatly. To the point that it can throw off your predictions of movement, hence I did not include it by default: Because most levels would tweak these, and you would never git gut or adapt.
But obviously, once in a while, these levels are great as they slightly increase replayability (e.g. a no jump level lol)
Note that changing any of these, should change the trail to be distorted (see "Winds of Oblivion")
An obvious "sign" that the darkwind is distorted, and in-game it shows to the player that the movement is different from what he is used to.
Implementation There would need to be a "flip page" button in the level editor, to display these advanced values. Pressing Tab would also serve as the hotkey for this.
To change the advanced values, just copy-paste the health input implementation. There also needs to be a tiny button next to the inputfield, which resets to default. And if possible, middle mouse click resets to default (I wish this was universal among games)
To save the advanced variables effectively, it would need just 1 bit flag change on the header, and 4 bytes each, to be stored before the end location spam.