New answers tagged javascript
1
vote
Accepted
How to publish WebXR game on Quest or Steam stores?
Meta has an official process for WebXR content & is covered on their documentation on WebXR Workflow:
Publishing Your Experience
A WebXR experience is just a normal web page, so it can be served ...
- 10k
0
votes
Accepted
Adding requestAnimationFrame in isometric Tile grid Code is not working
Every call of requestAnimationFrame(draw); results in the draw function being called exactly once, not contiguous on every following frame.
When you want a ...
- 114k
1
vote
How to instantly break method call?
It appears that you are trying to implement AI in form of some form of "coroutine". An asynchronous function that runs in parallel to the game and handles the AI of an entity. The problem ...
- 114k
0
votes
Object goes straight through game object without colliding
Maybe you should check if your rigidbody is set to kinematic, because if it is, then its immune to collision input. Which could then lead to this problem you are facing. To fix it simply set you ...
- 13
0
votes
Why is this code keeping the listener which should be removed instead?
You can not remove a listener is EaselJS via .off by just passing a closure with the same sourcecode as you used in .on. The ...
- 114k
0
votes
why does my button lose the changed cursor and mouseover behaviour as soon as I attach a class to my file?
I don't really know why - maybe you can spot the code issue but
I backtracked to an earlier version and this one works:
...
Top 50 recent answers are included
Related Tags
javascript × 1401html5 × 317
html-canvas × 263
unity × 132
2d × 112
collision-detection × 93
mathematics × 74
phaser × 58
physics × 57
webgl × 56
node.js × 49
three.js × 45
tilemap × 40
html × 39
c# × 37
architecture × 37
sprites × 37
animation × 36
isometric × 35
3d × 33
browser-based-games × 32
algorithm × 31
movement × 31
multiplayer × 31
box2d × 29