Norman Köhring
11beffc537
package upgrade
2024-04-17 16:18:02 +02:00
Norman Köhring
3c8b289310
debugging highlights
2023-04-25 09:09:49 +02:00
Norman Köhring
1b3360862f
clickable quick select and quick-select reorder
2023-03-05 23:08:14 +01:00
Norman Köhring
f24c2cd191
item quick select
2023-03-05 21:11:13 +01:00
Norman Köhring
cc2b787421
put/build blocks
2023-03-04 21:53:29 +01:00
Norman Köhring
d1d2b3fbf0
prepare for putting/building blocks
2023-03-04 11:45:10 +01:00
Norman Köhring
eee378bb7b
block drops into inventory
2023-03-04 00:05:29 +01:00
Norman Köhring
9d3912f98f
fix lighting and this one weird bug in player changes when ascending
2023-03-03 19:48:57 +01:00
Norman Köhring
fc05b00775
first steps towards real inventory
2023-02-27 00:00:53 +01:00
Norman Köhring
fb3279fb13
remove unused function
2023-02-19 13:31:20 +01:00
Norman Köhring
656927eee1
draw light instead of shadows
2023-02-18 18:31:39 +01:00
Norman Köhring
19bc40fd8d
draw shadows to hide invisible blocks
2023-02-18 11:15:20 +01:00
Norman Köhring
d75f862380
time-related brightness controlled by light-map
2023-02-17 23:00:58 +01:00
Norman Köhring
3b7ee96f62
use canvas as light map
2023-02-17 16:43:52 +01:00
Norman Köhring
3a9d2044e1
store changes more efficiently
2023-02-15 19:36:58 +01:00
Norman Köhring
b2a4d2e547
dig blocks, finally
2023-02-15 16:16:17 +01:00
Norman Köhring
811b6e5b78
shine light from the sky
2023-02-15 13:01:45 +01:00
Norman Köhring
5db90bb2f3
clean up unused assets, add block breaking graphic
2023-02-15 00:43:10 +01:00
Norman Köhring
5b87e3bae0
stacked inventory items and arrival animation
2023-02-14 13:04:14 +01:00
Norman Köhring
43e8242619
fix falling-on-pause bug
...
The issue happened because of not resetting lastTick: The lastTick is stored to
calculate movement speed independent of frame rate. When paused, the delta is
calculated with the time before the pause, so it gets huge and results in high
velocity values that are used to calculate how far the player moved.
2023-02-14 00:48:46 +01:00
Norman Köhring
e4e3953734
selectable inventory items
2023-02-14 00:30:27 +01:00
Norman Köhring
c486c12283
even nicer walking animation
2023-02-13 22:42:05 +01:00
Norman Köhring
cd8bcbcc47
formalize inventory, cute walking animation
2023-02-13 21:57:36 +01:00
Norman Köhring
ecf1a9cd67
move to another tileset, larger tiles, bigger screen
2023-02-13 18:59:51 +01:00
Norman Köhring
b18cc37b77
add inventory screen and cleanup assets
2023-02-13 14:32:09 +01:00
Norman Köhring
193d991d0b
add help section
2023-02-12 23:34:56 +01:00
Norman Köhring
94bdb0a9c8
fix player collision box
2023-02-12 20:36:51 +01:00
Norman Köhring
43d6932716
fix level generator bug
2023-02-12 20:18:15 +01:00
Norman Köhring
9ba37c04a7
add simplex noise test (/simplex.html)
2023-02-12 20:17:01 +01:00
Norman Köhring
7711c112e2
framerate independent movement
2023-02-10 15:45:19 +01:00
Norman Köhring
e146052f33
first step towards complete rewrite
2023-02-10 12:58:09 +01:00
koehr
6abd225eb5
fixes npm security issues
2019-06-11 17:14:43 +02:00
koehr
59ac454bc5
initiates central physics handling
2019-06-11 16:49:25 +02:00
koehr
7c6e716875
calculates CSS values from constants and simplifies movement calculation
2019-06-08 23:44:17 +02:00
koehr
3ead03ef72
adds player change support
2019-06-08 23:42:08 +02:00
koehr
c3d0a69148
tries to fix the collision problems
2018-11-17 15:38:52 +01:00
koehr
54f352c577
clean up field component, make jumps more "realistic"
2018-11-14 19:24:48 +01:00
koehr
062d249d00
smooth mountain light transition
2018-05-17 01:51:05 +02:00
koehr
2764d3c52b
smooth godray transition
2018-05-17 01:39:41 +02:00
koehr
faa605e836
smooth sky color transition
2018-05-17 00:51:50 +02:00
koehr
e7cd369b63
day night cycle
2018-05-15 21:33:33 +02:00
koehr
c21e97e2ce
multi step day night transition with CSS filters
2018-05-14 16:31:12 +02:00
koehr
c7452ca130
simplify movement, first try to prevent falling into blocks
2018-05-05 12:38:03 +02:00
koehr
45c42ee210
turn left and right
2018-05-04 00:51:38 +02:00
koehr
76f6f2f9d5
velocity based movement
2018-05-04 00:48:34 +02:00
koehr
2bd5838065
not working yet
2018-04-30 21:25:32 +02:00
Norman Köhring
f00990a3be
godrays and mountains
2018-04-27 16:59:42 +02:00
koehr
2613c391db
generate level bigger than viewport
2018-04-26 21:32:07 +02:00
koehr
efeab7138a
walk on click
2018-04-26 01:16:15 +02:00
koehr
63cc49e1d4
nice trees and actual player interaction
2018-04-26 00:32:08 +02:00