111 reputation
3
bio website elias-schuett.de
location Hamburg, Germany
age
visits member for 2 years, 6 months
seen Jul 17 at 20:45

Jan
27
awarded  Supporter
Sep
26
comment What is wrong with my game loop/mechanic?
@laurent Once I found a solution on how to properly clear areas on the canvas while preserving multiple layers I'll consider writing an answer.
Sep
24
awarded  Student
Sep
23
comment What is wrong with my game loop/mechanic?
I think I figured it out. It laggs due to my ctx.drawImage(buffer, 0, 0); Although I read that creating a buffer is supposed to be more efficient..
Sep
23
comment What is wrong with my game loop/mechanic?
No, have a look at this version: elias-schuett.de/apps/_experiments/2d_ssg_test I removed vectors, sprites, collision, objects, and canvas clearing. It's still super slow on my android. All it does is draw the player get user inputs and calculate some super cheap gravity on the y axis.
Sep
22
awarded  Editor
Sep
22
revised What is wrong with my game loop/mechanic?
added 4 characters in body
Sep
22
asked What is wrong with my game loop/mechanic?