I'm creating a simple asteroids-like game in CSS and JS using the DOM over canvas for...experimentation purposes.   My code is pretty small in this example to make it easy to see what's going on below. The ultimate goal: Let arrow keys smooth...
I am developing a small app in html5 canvas. I need to move a object in circular motion using keyboard keys . I am able to move the object using keyboard keys  but there are bugs .The object do not move back ward or forward  from the same position .C...
I'm creating a 2d game in HTML5 canvas. It's an isometric world, so actually it's also 3d. You always see that isometric games use tiles, and I think the reason is just for the depth logic. My goal is to create the game without using a ti...
I'm not using any engine, but instead trying to build my own softbody dynamics for fun using verlet integeration. I made a cube defined by 4x4 points with segments keeping its shape like so:    I have the points collide against the edges of the s...
So I've wrote a microbe animation.  It's all cool, but I think that it would be even better, if the microbe would be able to eat diatoms, and to destroy bubbles.  The issue is that the microbe is made of bezier curves. I have no idea how to...
I'm developing a Javascript based multiplayer game. So far I have the basic server, client and networking ready.  I did have an issue where my player was moving faster on a 120Hz screen as opposed to a 60Hz screen. I've fixed this by multiply...
Solved, see bottom of post for final algorithm  Background: I am working on a 2D platformer using JS and the HTML canvas element. The level map is tile-based, but the player is not clamped to the tiles. I am using a collision detection algorithm outl...
I am having a go at building a game in html canvas. It's a Air Hockey game and I have got pretty far though it. There are three circles in the game, the disc which is hit and the two controllers(used to hit the disc/circle).   I've got the di...
I'm programming a Snake game     and the logic of the snake's movement dictates that if I have a Javascript array  var links = [elem_0, elem_1, ..., elem_n];   of elements representing links of the snake, then the way for the snake to move is...
I do a bit of animation geekery as a side hobby, mostly in Javascript (DOM and canvas based) as well as having done a bit in C# and other technologies. However most of it has been based on sprites, bounding boxes, simple pixel movements etc - and now...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.