summary refs log tree commit diff stats
path: root/src/map.h
Commit message (Collapse)AuthorAgeFilesLines
* Added the mask sprite layerKelly Rauchenberger2021-03-051-0/+4
| | | | This layer is below the normal sprite layer. Sprites on it are only rendered within the area of a zone that is defined per-map.
* Set default collision bounds for map spritesKelly Rauchenberger2021-03-031-2/+2
| | | | Since it's always the same ones anyway, might as well set defaults and allow them to be overridden.
* Added (human) Mixolydia spriteKelly Rauchenberger2021-03-011-0/+1
|
* Added background music (defined on a per-map basis)Kelly Rauchenberger2021-02-271-0/+5
|
* Ionia is in the water!Kelly Rauchenberger2021-02-241-0/+1
|
* Started working on laddersKelly Rauchenberger2021-02-241-0/+4
| | | | | | | | | | | TODO: * all the animations are weird. we will need to have an adjustable framerate bc the climbing animation does not look right at the current rate. (also remove the manual animation stuff ig) * does the medium stuff seem good and right? i am kinda not satisfied with it. * running onto a ladder causes the characters to bunch up bc the movement speed is slowed down but the trails are not doubled * no ladder running sound * shadows should vanish while on a ladder * uhh if you end a cutscene while on a ladder it resets the animation to "still" which is wrong. will this ever happen? idk * adding a sprite to your party while you are on a ladder??
* Generalized upper/lower layer map renderingKelly Rauchenberger2021-02-221-2/+5
| | | | | | Map layers can have a flag on them that specifies that they should be rendered as part of the upper set (rendered above the normal sprite layer but below the above sprite layer). Also added map connections between hallucination_interior and hallucination_cliff. And named the layers in the map files bc why not.
* Added variable movement speedKelly Rauchenberger2021-02-201-0/+1
| | | | Ionia now moves at half Lucas's speed, which I think is good for NPCs.
* Added enclosure zonesKelly Rauchenberger2021-02-201-0/+9
| | | | A sprite with an enclosure zone will collide with it if it attempts to leave the area defined by the zone. This is used to make sure that wandering sprites don't end up in weird places.
* Added a randomly wandering Ionia to the mapKelly Rauchenberger2021-02-201-0/+1
|
* Added sprite shadowsKelly Rauchenberger2021-02-131-0/+1
|
* Scripts are organised per-map nowKelly Rauchenberger2021-02-121-3/+3
|
* Map changing!Kelly Rauchenberger2021-02-091-6/+6
| | | | Also removed some dependencies on the Renderer. More changes need to be made. Fading to black before the change would be good. And making sure the characters are facing the right direction. Maybe that code shouldn't live in Game, either. Later we also want to combine the tilesets for these two maps (and any others that are on Tanetane).
* Added trigger zones to the mapKelly Rauchenberger2021-02-091-0/+10
| | | | Walking into a trigger zone runs a script.
* Maps can contain named points of interest called warpsKelly Rauchenberger2021-02-091-0/+4
|
* Entity prototypes can be stored in the map file nowKelly Rauchenberger2021-02-091-0/+13
|
* Added running soundsKelly Rauchenberger2021-02-031-0/+4
|
* Added collision with map tilesKelly Rauchenberger2021-02-021-0/+3
|
* Using tmxlite instead of TilesonKelly Rauchenberger2021-02-021-0/+41