2024-02-06 15:26:20 +01:00
|
|
|
## Levels:
|
|
|
|
|
|
|
|
|
|
- use first line as background image name
|
|
|
|
|
- ignore comments in lvl files
|
2024-02-11 13:00:56 +01:00
|
|
|
- check when sphere bounces from one end to the other endlessly w/o
|
|
|
|
|
any solids in between. this is a game lock and equals game over
|
2024-02-13 18:15:52 +01:00
|
|
|
- Start the game end timer and add a score FIXME: put the actual max
|
|
|
|
|
reachable score into the level definition along with the minimum
|
|
|
|
|
steps required to reach it, also add a step counter
|
2024-02-09 20:20:13 +01:00
|
|
|
|
2024-02-11 13:00:56 +01:00
|
|
|
- Grid Observer:
|
|
|
|
|
https://github.com/mlange-42/arche/issues/374
|
2024-02-18 18:19:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Screenshot:
|
|
|
|
|
|
|
|
|
|
Yes, since *ebiten.Image implements the standard image.Image interface
|
|
|
|
|
I just made a screenshot example (in Draw() function):
|
|
|
|
|
if inpututil.IsKeyJustPressed(ebiten.KeyS) {
|
|
|
|
|
f, err := os.Create("screenshot.png")
|
|
|
|
|
if err != nil {
|
|
|
|
|
log.Fatal("can't create file: ", err)
|
|
|
|
|
}
|
|
|
|
|
png.Encode(f, screen)
|
|
|
|
|
}
|
2024-02-19 19:05:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
- Add some final message when the player reaches the last level, start
|
|
|
|
|
from scratch or a message to buy me some beer, whatever
|
2024-02-20 18:47:32 +01:00
|
|
|
|
|
|
|
|
- Calculate obstacle collision the same as solid collision with future
|
|
|
|
|
velocity and included snap in so that the player ends up right on
|
|
|
|
|
the edge of the obstacle and not inside as it is now
|
2024-02-22 19:40:49 +01:00
|
|
|
|
2024-02-25 14:05:44 +01:00
|
|
|
- Check player-player collisions!
|
|
|
|
|
|
|
|
|
|
- Do all collision detections in ONE system
|
|
|
|
|
|
|
|
|
|
- do not use the map anymore for collision detection
|
|
|
|
|
|
|
|
|
|
- check swept AABB instead of my collision detection, to allow for higher speeds
|