En Yi
5b29ad4ba4
Update swimming hit- and hurtbox proper
2024-11-13 23:06:26 +08:00
En Yi
6b59064772
Adjust player acceleration in water
2024-11-13 22:36:05 +08:00
En Yi
c02eba9548
Add air pockets to level data
2024-11-11 22:59:32 +08:00
En Yi
9d5b54435b
Increase water upthrust
2024-11-10 18:29:20 +08:00
En Yi
6509b33c5a
Rework urchin collision with crates
...
Changelog:
- Fix error in urchin spawning in main game
- Reduce urchin's collision box
- Adjust crate destruction:
- Delay with arrows and bombs, instant with anything else
2024-11-09 23:40:54 +08:00
En Yi
613d5642cc
Add parsing for urchins
2024-11-09 16:15:59 +08:00
En Yi
ab2928fab9
Update level data packing
2024-11-09 15:02:51 +08:00
En Yi
188c2e30a5
Add tileset info in level pack
2024-11-09 13:30:32 +08:00
En Yi
abdf246382
Adjust explosion hitbox
2024-11-09 12:56:51 +08:00
En Yi
c33f6f0df0
Adjust jump speed
2024-11-09 12:56:40 +08:00
En Yi
214025bc81
Adjust title image
2024-11-03 16:41:10 +08:00
En Yi
753cf7bbd7
Fix incorrect rendering height
2024-10-19 17:36:23 +08:00
En Yi
1f8c2b2151
Add dark top bar in game
2024-10-12 23:11:55 +08:00
En Yi
5eb7561340
Add offset to window scaling
2024-10-12 15:08:59 +08:00
En Yi
44911658d0
Add basic window resizing
2024-10-12 15:02:08 +08:00
En Yi
f5fa46aeeb
Settle the window size and UIs
2024-10-12 13:35:42 +08:00
En Yi
b36592311a
Add water splash to urchins
2024-10-05 20:32:11 +08:00
En Yi
db8849a7de
Add urchin particles and update menus
2024-10-05 20:22:16 +08:00
En Yi
1382cf1370
Deal with urchin's particle effects
2024-10-05 19:18:42 +08:00
En Yi
e52c9445c9
Fix crash when player finish a level
...
This happens because the player exit entity is removed without checking
with the tilemap, causing it to linger
2024-10-05 19:07:55 +08:00
En Yi
8efa3015ad
Update urchin hitbox and bbox
...
This is so that wooden can be destroyed by urchin. Urchin can still be
crushed by a wooden crate though.
2024-09-30 22:47:27 +08:00
En Yi
7851e05a12
Fix regression in one-tile collision
2024-09-30 21:37:48 +08:00
En Yi
3520715655
Allow urchin to be crushed
...
LIMITATION
- Urchin can be crushed by wooden crates.
2024-09-29 17:58:07 +08:00
En Yi
d3db15a018
Add urchin sprite and fix its spike collision
2024-09-27 23:15:38 +08:00
En Yi
2ee1e38094
Remove unneeded code
2024-09-26 23:02:27 +08:00
En Yi
8bf1957e1e
Fix incorrect velocity reflection on collision
2024-09-26 21:31:24 +08:00
En Yi
9854654d61
Slightly resize UI for spawning urchin
2024-09-26 20:46:58 +08:00
En Yi
ce0ca96c67
Allow value snapping for urchin spawn velocity
...
Also, update the UI
2024-09-24 22:30:17 +08:00
En Yi
b275caf795
Add spawning urchin in editor
2024-09-23 21:55:06 +08:00
En Yi
8a731637f7
Merge branch 'main' into profiling
2024-09-08 23:06:26 +08:00
En Yi
4abe996640
Add urchin enemy
...
Changelog:
- Ctransform component now has a bounce coeffcient which determines
velocity reflection on contact.
2024-09-08 23:05:12 +08:00
En Yi
f6847f1ffd
Merge branch 'main' into profiling
2024-09-02 22:45:47 +08:00
En Yi
066ea5e080
Accumulate collided side before check
2024-09-02 22:45:16 +08:00
En Yi
3041f5df54
Merge branch 'remove_edge_check' into profiling
2024-09-02 22:02:37 +08:00
En Yi
41585f6938
Simplify edge velocity check
...
Internal Changelog:
- Use tile collision to determine which side has collided and perform
the velocity zeroing, instead of separating out.
2024-09-02 21:58:11 +08:00
En Yi
c8059300ac
Fix freecam bug on game restart
...
Changelog:
- Lock player if freecam is active
2024-08-27 16:02:55 +08:00
En Yi
e00e1ff8d2
Remove player on finish level
2024-08-27 15:49:21 +08:00
En Yi
d3ea551024
Tweak engine config to allow web build
...
Internal Changelog:
- Reduce particles number
- Use webGL2
2024-08-27 15:49:05 +08:00
En Yi
ca5c653b9d
Test integrate tracy into scenes
2024-08-24 21:44:23 +08:00
En Yi
b2beaea248
Experiment with Tracy profiler
2024-08-24 19:14:53 +08:00
En Yi
ef04e4ce42
Fix name mistake in README
2024-08-24 15:45:33 +08:00
En Yi
bbe3a22cc5
Replace ringbuffer with sc_queue
...
It is more flexible and uses less heap.
2024-08-24 15:30:32 +08:00
En Yi
cb9508a4b6
Update README
2024-08-24 14:43:52 +08:00
En Yi
10d48c1d70
Allow optional inits for scene
...
Particle system and entity management are now optional during scene
init.
2024-08-24 14:42:11 +08:00
En Yi
8645bbd963
Use heaptrack for memory profiling on main
2024-08-24 14:41:10 +08:00
En Yi
add592afd2
Refactor out entity removal function
...
This allows a singular entity removal method for the game
2024-08-24 12:43:49 +08:00
En Yi
fb0f16d984
Add addr sanitisation for main game
2024-08-24 00:26:17 +08:00
En Yi
24b407fec2
Free level select scene on exit
2024-08-24 00:26:05 +08:00
En Yi
03a4240c6d
Simplify and unify level restarting
...
Changelog:
- Add function to clear all game entities
- This functions is called in both editor and main game
2024-08-24 00:25:33 +08:00
En Yi
2fe3faf08f
Update exit rendering
2024-08-24 00:23:17 +08:00