aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-05-28Fix horizontal rendering for 16x16 tilesJuan J. Martinez
It almost fixes vertical too, but there's an issue with the viewport.
2023-05-28Fix timing when jumping up in some casesJuan J. Martinez
2023-05-23Deadly blocks kill the playerJuan J. Martinez
Implemented "auto-checkpoints" based on where the player lands after a jump.
2023-05-23Add deadly tiles in the blocked layerJuan J. Martinez
Currently supported by enemies.
2023-05-16Change stage using a simple transitionJuan J. Martinez
2023-05-16Use play state instead of level complete, that includes game overJuan J. Martinez
2023-05-16Update state of the play loop in the play loopJuan J. Martinez
2023-05-02Use vector instead of listJuan J. Martinez
Should be more performant, access O(1) to elements.
2023-05-02Map animationsJuan J. Martinez
2023-04-30Support for multiple tilesetsJuan J. Martinez
- first one defines the tile layer tile size (e.g. 8x8) - can be of different size - parsing animation data for tile animations (WIP)
2023-04-28Better support for object propertiesJuan J. Martinez
Can read multiple and different types.
2023-04-25Reading direction property from entitiesJuan J. Martinez
2023-04-25The comment was wrongJuan J. Martinez
It is actually used by any entity that can "jump" (or uses applyGravity).
2023-04-25Added "tracker" enemyJuan J. Martinez
2023-04-19Added "runner" enemyJuan J. Martinez
2023-04-19Simplified frame updateJuan J. Martinez
When the entity hits the player we don't really need to update the frame.
2023-04-17Added new shooter enemyJuan J. Martinez
2023-04-16Documented the notification moduleJuan J. Martinez
2023-04-16A bit more functionalJuan J. Martinez
2023-04-16Removed unnecessary $Juan J. Martinez
2023-04-15Make the solid frame partially transparentJuan J. Martinez
2023-04-15"Toaster" notificationsJuan J. Martinez
To provide feedback to the user when a controller is plugged/unplugged.
2023-04-14Load the map list from a JSON fileJuan J. Martinez
2023-03-26Support entities facing leftJuan J. Martinez
Perhaps it would be better to support "custom properties" in tiled, but this is OK for now.
2023-03-21Introduce a set propertyJuan J. Martinez
Stopped abusing the direction property!
2023-03-21Player transition into the stageJuan J. Martinez
2023-03-11Exit transitionJuan J. Martinez
2023-03-11Tidy up, state functions to state moduleJuan J. Martinez
2023-03-11Add the exit it is drawn before any other entityJuan J. Martinez
2023-03-10Change stageJuan J. Martinez
2023-03-09Exit placement on the last batteryJuan J. Martinez
2023-03-09Exit stage WIPJuan J. Martinez
2023-03-09Use ALT + Enter to toggle fullscreenJuan J. Martinez
2023-03-04Fix: controller device added uses joystick indexJuan J. Martinez
While the other events rely on joystick's instance ID.
2023-03-04Fix rendering for vertical scrollJuan J. Martinez
There's still the issue of not doing clipping on the top of the screen.
2023-03-04Show key or button depending on the controlsJuan J. Martinez
2023-03-03Better Gamepad support handling connection/disconnectionJuan J. Martinez
2023-03-03Simple game over menuJuan J. Martinez
2023-03-02Even less IORefJuan J. Martinez
Also reviewed comments and made the action to add effects more general.
2023-03-02Clarified commentsJuan J. Martinez
2023-03-01Untangle state changes into actionsJuan J. Martinez
WIP: still unclear if we really need the IORefs!
2023-03-01Removed another unncessary IORefJuan J. Martinez
2023-03-01Removed unnecessary IORefJuan J. Martinez
2023-03-01Dropped ReaderT as is not really neededJuan J. Martinez
2023-03-01Pass an optional offset to the viewportJuan J. Martinez
2023-03-01Added a FIXMEJuan J. Martinez
2023-03-01Better commentsJuan J. Martinez
2023-03-01Scroll using SDL's viewportJuan J. Martinez
Horizontal needs testing.
2023-02-26Set the frame to 0Juan J. Martinez
The "Dying" set has only one frame.
2023-02-26Draw the HUB on the top of the screenJuan J. Martinez