Commit graph

41 commits

Author SHA1 Message Date
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
koehr
a9cd00d293 textures! 2018-04-24 01:13:16 +02:00
koehr
d917286669 player 2018-04-23 00:35:47 +02:00
koehr
d683648873 use relative paths in index.html 2018-04-22 23:11:57 +02:00
koehr
0255c8d28f do not ignore dist 2018-04-22 23:10:59 +02:00
koehr
5f66a76cb6 2-step level generator 2018-04-22 23:07:24 +02:00
koehr
4e3fda1732 Initial 2018-04-21 20:02:21 +02:00