aboutsummaryrefslogtreecommitdiff
path: root/src/Game
AgeCommit message (Collapse)Author
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-03Better Gamepad support handling connection/disconnectionJuan 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-01Pass an optional offset to the viewportJuan J. Martinez
2023-03-01Added a FIXMEJuan 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
2023-02-26Revisited the game over sequenceJuan J. Martinez
2023-02-25Use voidJuan J. Martinez
2023-02-25Game over sequence WIPJuan J. Martinez
2023-02-24Cleaned passing the collision detection function to the entitiesJuan J. Martinez
2023-02-23Bitmap fontJuan J. Martinez
2023-02-21New Robot enemy.Juan J. Martinez
2023-02-20Useless comment is uselessJuan J. Martinez
2023-02-20Split entities in modules.Juan J. Martinez
2023-02-19Make enemies wiggle when the unfreezeJuan J. Martinez
2023-02-19A bit cleanerJuan J. Martinez
2023-02-18Longer delayJuan J. Martinez
2023-02-18Slimes hit enemiesJuan J. Martinez
2023-02-18Slightly more readableJuan J. Martinez
2023-02-17Added fixed pattern enemy (slimes)Juan J. Martinez
2023-02-16Adjusted map collisionJuan J. Martinez
2023-02-16Added lives to the HUDJuan J. Martinez
2023-02-15Game state, HUD, ... WIPJuan J. Martinez
Exploring ideas.
2023-02-14Refined collision detection player vs entityJuan J. Martinez
2023-02-14Adjusted collision, draw player lastJuan J. Martinez
2023-02-13Experiment with entity vs player collisionJuan J. Martinez
2023-02-13Refined collisionJuan J. Martinez
2023-02-13Pickups WIPJuan J. Martinez
TODO: collision
2023-02-10Moved the entity spawn to Entity moduleJuan J. Martinez
2023-02-09Make entities in the map moduleJuan J. Martinez
This needs to be reviewed.
2023-02-09Spawn objectsJuan J. Martinez
For now only the Player.
2023-02-09Better messageJuan J. Martinez
2023-02-09Object layer support for map entitiesJuan J. Martinez
2023-02-08Use NoFieldSelectorsJuan J. Martinez
2023-02-07Avoid repeat for buttons a, b and menuJuan J. Martinez
2023-02-07No need to apply gravity, only pretend we fall through the platformJuan J. Martinez
2023-02-07Using OverloadedRecordDotJuan J. Martinez
2023-02-07Implemented "Coyote time" to make jumping easierJuan J. Martinez
2023-02-06Wrap entities operations on a typeJuan J. Martinez
2023-02-05Swpan new entitiesJuan J. Martinez
- Each entity can generate a list of "spawns" (add a new entity) - Added a "dust" effect to the jump WIP TODO: probably wrap the entity list in a type so we don't need to pass the spritesheet to the update function.
2023-02-05Gravity adjustmentsJuan J. Martinez
2023-02-05Keep the jumping frame when hitting the floorJuan J. Martinez
2023-02-05Basic gamepad supportJuan J. Martinez
2023-02-05Simplified (jump is needed)Juan J. Martinez
2023-02-04Go down platforms with A + downJuan J. Martinez