| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
Things to note about her: she does not have walking animations in the intercardinal directions. Also her disappearing animation needs a higher frame rate than the 30 FPS we currently have.
|
|
|
|
|
|
|
|
| |
Sprites can be destroyed now, which really just means that their index is removed from the list of active sprites. The actual memory is not freed until all sprites are deleted on map change.
Sprite layers are introduced. All sprites by default are on layer 0 (Normal) which renders them in between the lower and upper map layers. There is also a layer 1 (Above) that renders above the upper map layer, and the sprite for the lightning strike uses this layer in order to not be hidden by the trees.
Fixed a bug where waiting for the end of a non-looping animation would trip the flag immediately upon the final frame activating, instead of waiting the length of the last frame.
|
|
|
|
| |
Lucas can get electrocuted now.
|
| |
|
|
|
|
| |
These are used when you want a solid, interactable object that is part of the map instead of sprite animated (e.g. the mailboxes).
|
| |
|
| |
|
|
|
|
| |
Also moved script system first in the loop so that the camera can catch up before rendering. Also added a map change from map 2 back to map 1.
|
|
|
|
| |
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).
|
|
|
|
| |
Walking into a trigger zone runs a script.
|
| |
|
| |
|
|
|