Impact

11 Posts, registered 8 years ago

Contact

Sorry, but mglnunez did not enter an email address.

Recent Posts

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

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

5 years ago in EntityPlayer check doesn't works:

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

5 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…

6 years ago in localStorage plugin help for incrementing localStorage value:

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

7 years 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 …

7 years 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 …

7 years 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…

7 years 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…

7 years ago in Animations are stuck on first frame!:

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

7 years ago in Problems with my laser beam.:

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

8 years ago in Per-Pixel Collision Detection Plugin:

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