summary refs log tree commit diff stats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* added transition and the world musicStar Rauchenberger2022-03-121-1/+7
|
* added back bump sound (and assets for fuller music)Star Rauchenberger2022-03-121-2/+14
|
* Added music and lamp popping soundStar Rauchenberger2022-03-111-0/+19
|
* zooming fixesKelly Rauchenberger2018-06-061-12/+35
| | | | when zooming out, the view center stays the same (shifted by map edges). when zooming in, the view center becomes the player position at the start of zoom. the boundary of player movement is now also set to the target view area at start of zoom.
* players must move when dropping lampsKelly Rauchenberger2018-06-051-17/+77
| | | | if no direction is pressed, player dashes in direction of most recent movement. if no movement has occured, choose a random direction. if player cannot move in the chosen direction, choose a random direction. if the player cannot move in any direction, prevent dropping a lamp.
* refactored so that the renderer is its own classKelly Rauchenberger2018-06-051-507/+15
|
* improved overlapping lightsKelly Rauchenberger2018-06-051-24/+39
| | | | radius of light seems kind of diminished though.
* merge master into colorfade and improved itKelly Rauchenberger2018-06-051-256/+711
|\ | | | | | | overlapping colors look weird though
| * decreased dust light radiusKelly Rauchenberger2018-06-031-4/+23
| | | | | | | | | | | | this makes it less likely that dropping a lamp will cause cave-ins. also slowed down the propagation of dust slightly.
| * map expansion looks more normal nowKelly Rauchenberger2018-06-021-2/+1
| |
| * dust now ripples outwardKelly Rauchenberger2018-06-021-33/+63
| |
| * player won't start in the middle of a wallKelly Rauchenberger2018-05-311-0/+9
| |
| * map zooms in and out based on how lit it isKelly Rauchenberger2018-05-301-12/+157
| |
| * abstracted map data into a class to allow for zooming outKelly Rauchenberger2018-05-291-177/+189
| |
| * quitting the game causes all of the lamps to pop followed by the playerKelly Rauchenberger2018-05-291-39/+150
| | | | | | | | fixed a bug where dashing when dropping a lamp would cause dust kickup to originate from a different tile than the actual lamp.
| * dust kickup spreads outward instead of being instantaneousKelly Rauchenberger2018-05-291-65/+129
| |
* | started implementing color tinting on lightingKelly Rauchenberger2018-05-291-20/+171
|/
* fixed player lighting strength special caseKelly Rauchenberger2018-05-271-5/+1
|
* lighting fades away from source nowKelly Rauchenberger2018-05-271-9/+34
|
* fixed movement bugKelly Rauchenberger2018-05-271-1/+1
|
* increased dust kickup radiusKelly Rauchenberger2018-05-271-1/+1
|
* no key repeat delay, implemented weirdlyKelly Rauchenberger2018-05-241-26/+43
|
* caverns shift in the darkKelly Rauchenberger2018-05-241-3/+40
| | | | | | | | after moving, any tile that just became dark will randomly become a wall or a floor. then, all of the dark tiles will be ticked three times. this is to cause a sense of being lost by having the caverns shift around you where you can't see. the radius of dust scattering after a lamp drops/pops increases with the number of pops that have occured due to that drop. this allows chain reactions of popping lamps to occur. both dust and the player are now considered illuminated (in addition to being light sources).
* renamed dark tile to wallKelly Rauchenberger2018-05-231-7/+5
|
* dropping a lamp includes a dashKelly Rauchenberger2018-05-231-182/+93
| | | | | | dropping a lamp now sprinkles dust in the same way that popping a lamp does. only dust sprinkled from dropping/popping a lamp will pop lamps -- dust from movement will not. pressing esc quits the game. SDL errors now output a message.
* somethignKelly Rauchenberger2018-05-231-0/+549