JavaScript 2D collision and pushing other objects not working correctly
Hello, hope you'll are doing fine. I'm a beginner programmer and recently I've been working on a 2d physics game engine in JavaScript. Everything seemed to be working fine until I have come across an...
View Articlewhat's the best program to get started.
I've always wanted to actually properly finish a full project, but always had something holding me back, but I'm sick of talking myself out of doing something because it's going to be hard. So I want...
View ArticleCannot read property add of undefined Phaser
I am making a 2d shooter game and i am trying to add a collider between the bullets and the enemy so that the bullet doesn't go straight through the enemy but i am getting an error I am new to phaser...
View ArticleRequestAnimationFrame & deltaTime inconsistancies
requestAnimationFrame(update); var lastTime = 0; var deltaTime = 0; function update(timeStamp) { // deltaTime = timeStamp - lastTime; lastTime = timeStamp; // requestAnimationFrame(update); } I'm...
View ArticleNeed guidance in making game involving gravity
I'm about to make a hyper-casual game for mobile devices, haven't decided yet what engine to use for native app but current prototype is built using pixi.js since that's a tool i'm most familiar with....
View ArticleHow can I find sample code?
I'm a new html5 game developer. And I'm gonna start to convert form swf file to html5. How can I do it? and where can i find the sample code? I hope Anyone who have experience in this part let me...
View ArticleOptimize a game for a very low end System
Hello, I am working on an HTML game for the Raspberry Pi, a very low end affordable PC. The game is finished and works well on my Desktop PC, however when I took the game folder, transferred it into...
View ArticleHow to code a level editor for a 2D platformer?
I want to make an awesome 2d platformer like celeste , where there is moving platforms moving hero, spikes enemies, etc. but don't know how to get started. I am thinking storing tiles in a map like...
View ArticleCanvas Api , click event
I am trying to attach a click event to every individual circle in a 2d canvas matrix . I use a for-loop for creating the matrix , however i cannot assign click events to every single circle. The...
View ArticleSomebody already made Pachisi as bordgame?
Hello I need somebody to help me with a custom boardgame Pachisi My first idea http://4kids.rossebuurten.be but I want points to run 6 horses.. the way this works on github...
View ArticleBabylonjs 2d polygon
Hi guys, fresh user here, be gentle please. I have a situation where i need to interactively create polygon on a babylonjs scene. I'd like it to be easily customized/reshaped/resized. As polygon...
View ArticleIs localstorage reliable enough for game data?
Hello, I'm making a browser game where the only saving is done to localstorage with JSON data. I've seen some odd behaviour and wondered whether locastorage is actually reliable enough for save data...
View ArticleSimplest framework for a tiled map?
Hi, I'm prototyping a turn-based strategy game and I would need the display a the world map as tiles (orthogonal, isometric, hexagonal, I don't care at the moment, I will go the easier way...) The...
View ArticleUse dom/css for game UI?
Hi, I'm tinkering with a strategy game concept and I thought I could try web-based technologies for faster prototyping. I'm more of a Java programmer, so I'm learning the ropes, but I think that a web...
View ArticleMr TwinkleToes
have a moving platform created in the lvl, but need to create a collision area so the my player can stand on it, when i use the this.body.kinematic = false;, the platform can be moved out of the way,...
View ArticleText box + accordion questions same screen
Hi there. I am a teacher creating online content for my kids. Now more than ever. I am new to HTML5. Do I need a gaming platform to help with create the following....
View ArticleMr TwinkleToes
have a WIP at www.silverhawk.co.uk it has moving platforms and pass through platform at certain location within the game, the ladders are currently not working, but as I am testing it on my domain to...
View ArticleShips not displaying canvas game
I am trying to develop a simple Canvas game, but I'm currently stuck at making the enemies display itself. Heres the code I'm using : <script type="text/javascript"> // SETUP INICIAL var canvas...
View ArticlePlayer health bar problem
I have a healthBar entity given by the code below which is in a separate file called health_bar_entity.js(melonjs code base) game.HealthBar = me.Renderable.extend( { init: function(hitPoints,...
View ArticleHelp to understand how the Pointer object can be instantiated in phaser3
Hi, i'm new to phaser 3 and would have some clarifying answers on the Calss Pointer here: in particular: I want to create an Pointer instance using the following code: var gun = new...
View Article