Skip to main content
jon's user avatar
jon's user avatar
jon's user avatar
jon
  • Member for 6 years, 7 months
  • Last seen more than a month ago
comment
I don't get why ECS is considered more performant than OOP
the optimisation is usualy done inside one frame, and than all others frame are otpimised.
awarded
comment
How to open box item animation?
you can do in html or css codepen.io/zbritcher/pen/dGENBd Nut you need a rendering engine, and just swap textures. pixijs.io/examples/#/sprite/texture-swap.js You cant do this in vanilla js. or yes but good luck with webgl and shader!
comment
awarded
awarded
comment
Detect how much mouse has rotated in a circle around an XY point
hey thank it a good approach. I use the pointer lock mouse api, so it will be able to setup the mouse and activate this option.
comment
Detect how much mouse has rotated in a circle around an XY point
yes the target are know , i need to find a way to check if mouse do multiple circle rotation around the Target with example a laps time (1000 or 2000 ms)
Loading…
revised
How perform for obj follow mouse with angle?
added 56 characters in body
Loading…
comment
How perform for obj follow mouse with angle?
you right, forgive me my forgetfulness.
comment
How perform for obj follow mouse with angle?
thank you but I must keep the position. In this context the pivot is used for the z Index. the position is the position of the sprite on the map, and pivot are the z Index. this can help to understand youtu.be/MpZD0E0_iKI
awarded
revised
How perform for obj follow mouse with angle?
added 458 characters in body
Loading…
Loading…