Just adding this for the people not looking to read a whole bunch of text, at least read this and look at the picture to understand my question; I have collision set up between the "player" and "objects", so that when the "player&...
I'm using CSS animations and jQuery to move cars in a crossroads (top point of view) to simulate a driving license quiz. The user has to choose the crossing order by clicking over the cars.  Sample Image:   Each car has properties and an animatio...
I'm making my first game in canvas+javascript, simple space shooter. The problem is that I use two nested for loops to check if rocket hits the enemy like this:  if((enemies[i][1]>rocket_posy&&enemies[i][1]<rocket_posy+40)&&...
I've been recently trying to fix my collision detection in my first person shooter three.js game but there are a few issues left I have not even the slightest idea on how to fix...   The camera can view inside walls The collisions regularly push...
I have a test application where I am creating collison detection between to rectangles using Raphael.js.   I am able to get collison detection working properly, but I have to drag it around slooowly.... the issue arises when I move the mouse too quic...
I am making a game in HTML5, JS.  In the game I perform the collisions by circle-shapes since my sprites are rotating.  The player has different shapes since it has different sprites when it holds different weapons.  The radius of the player is half...
I try to calculate the collision of the edges of an rotated Rectangle.  Here is an example on jsFiddle : http://jsfiddle.net/XgHxx/  Something like this:  if( mask.x < img.x * rotate_Factor ) mask.x = img.x * rotate_Factor ;   As you see my Collis...
I'm making my first game in HTML5 through a tutorial. The tutorial ended abruptly, but I decided I would finish up the game with things like an end screen and ways to be killed by enemies. The problem, however, is that no matter what I read, I ca...
I have many static squares randomly on a canvas. Is there any way that these squares can detect when another draggable figure collide between them and print the 'name' attribute of the rect?  Here's the code (also available in JSFiddle)...
I'm working on something with three.js where i need a way to handle collisions between objects very generally. I was thinking of using cannon.js since it supports the primitives i need but i don't always particularly need/want any of the over...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.