Impact

11 Posts, registered 1 decade ago

Contact

Sorry, but mglnunez did not enter an email address.

Recent Posts

9 years ago in Pseudo Random Number Generator ( Mersenne Twister MT19937 ):

Another thing is that browsers have Math.random() implemented differently. A…

9 years ago in EntityPlayer check doesn't works:

# ig.Entity.TYPE.NONE # Does not mean that there is a type of "none&quo…

10 years ago in Strange behavior when changing entity velocity:

maxVel.x and maxVel.y are positive numbers. You are making them all move at neg…

1 decade ago in localStorage plugin help for incrementing localStorage value:

Basically NaN stands for Not a Number. So you are putting something that is no…

1 decade ago in How to determine which one of the overlapping entities is clicked + How to use zIndex:

For the first problem I'll just give you the jist of what I would do if i only …

1 decade ago in Dynamic collisions and variable player size:

I played your game a few minutes, I couldn't get the bug with just running and …

1 decade ago in Dynamic collisions and variable player size:

I can tell you that you could have used the collision map for this. Check out D…

1 decade ago in Two variables become the same entity.:

I just tried your code in my game but I got the expected result. Is there anot…

1 decade ago in Animations are stuck on first frame!:

I see 2 things. First: You are setting up your animations every frame. So w…

1 decade ago in Problems with my laser beam.:

## if (this.currentAnim.frame == 0 || this.currentAnim.frame == 1) ## Only …

1 decade ago in Per-Pixel Collision Detection Plugin:

After looking Impact's game.js I found that it calls ig.Entity.touches function…