Marc Flerackers

Results 53 comments of Marc Flerackers

The stickToPlatform code is a bit of a hack

Since you are following the platform's movement, it would make more sense to make the platform the new parent of the player, as you are basically changing the frame of...

Yes, but if the thing on the platform was a child of the platform, it wouldn't be affected by the player picking up the platform, it would still be relative...

transforms and areas are going to be cached in the future, so at least they won't be recalculated each frame

I had a branch which was nearly finished, but by now I think there are too many conflicts. So I'll start over. On Mon, 25 Nov 2024 at 08:40, dragoncoder047...

A spritesheet is 2048 wide, so this would never fit in a spritesheet.

I works on all event except for input events. This is because input events are actually global and objects only hold a reference to the event, not the actual event.

Only tga knows, and tga didn't wrote comments why.

src/assets/font.ts(97,19): error TS2304: Cannot find name 'BinaryData'. src/kaplay.ts(107,31): error TS2345: Argument of type 'ArrayBuffer | SharedArrayBuffer' is not assignable to parameter of type 'ArrayBuffer'. Type 'SharedArrayBuffer' is missing the following...