Questions tagged [impactjs]

ImpactJS is a JavaScript Game Engine to develop HTML5 Games for desktop and mobile browsers.

ImpactJS is a JavaScript Canvas 2D Game Engine created by Dominic Szablewski that allows you to develop HTML5 Games for desktop and mobile browsers.

ImpactJS comes built in with it's own level editor: Weltmeister

More info can be found on the Official ImpactJS Website.

47 questions
13
votes
1 answer

Angular JS for game UI

I am currently building a web game using html5 and the Impact JS game engine. I want to overlay html components over the top of the canvas/impact engine, and I was looking for some frameworks that would help with ui/dependency injection/databinding…
user1926760
  • 257
  • 2
  • 10
4
votes
0 answers

Mobile Safari (iOS8) crashing during HTML5 Canvas based game

We have an ImpactJS based (canvas) HTML5 game, which since the iOS8 update seems to be crashing fairly frequently. We've tried it in a UIWebView based wrapper, and it seems to be ok. In a WKWebView wrapper, we get crashes, same as in Safari. The…
Digital-Clouds
  • 522
  • 3
  • 15
3
votes
1 answer

Is it possible to define more accurate custom shape collision box rather than rectangle for an Entity?

Is it possible to define more accurate custom shape collision box rather than rectangle for an Entity? Please let me know if it is possible and how?
Roozbeh Sharafi
  • 351
  • 6
  • 21
3
votes
1 answer

Why won't my sprite/entity move in a straight line?

My entity is supposed to move in straight line toward the mouse. It's close, but not quite there yet. Here's a working demo to show you what I mean. And here's a screenshot: The red represents the path the mouse took. As you can see, the entity…
Joncom
  • 1,465
  • 1
  • 14
  • 25
3
votes
2 answers

Attempting to get two simultaneous joysticks working with touch events

I've been battling with this for two days. I'm using an HTML5/JS game engine called ImpactJS and someone made a very useful plugin to create joystick touch zones for mobile devices. The idea is that you specify a zone on the screen where the…
spectralbat
  • 407
  • 2
  • 12
3
votes
1 answer

Make Entity bounce off another entity in ImpactJS

I have a Player Entity that is governed by gravity and I have another entity at the bottom of the screen that moves around. When my falling player entity hits the entity at the bottom I want it to bounce off of it. Ideally I'd like to use the…
griegs
  • 22,002
  • 28
  • 113
  • 201
2
votes
1 answer

What are key differences between ImpactJS and MelonJS?

I'm going to write a simple tile-based RPG game in Javascript, with a big, tile-based map. I looked at this list of JS game engines, and found out that the only reasonable choices for me are MelonJS and ImpactJS (because of the map editor). Now I…
mik01aj
  • 10,150
  • 11
  • 65
  • 109
2
votes
2 answers

Runs php code from JavaScript in impact engine

I have created a game in using impact game engine called Staroids. I have created a database to store the highscores. I have done what it says on this previous answer and looked at a few other solutions, but it doesn't seem to work! I am trying to…
smj2393
  • 1,869
  • 1
  • 20
  • 48
2
votes
2 answers

Animating a path between two objects on HTML5 canvas

We're developing a game with impactjs that allows 'chaining' of entities as they are clicked. Basically this just draws a line between the two points, with a neon glow effect. So far, so good. Now, we have a request to make the 'chain'…
Dave
  • 61
  • 1
  • 3
2
votes
1 answer

ImpactJS Collision

I have several questions about using "correct" for the layer collision. Is it possible to make a bot from a point A using a collision tiles available? For each map, I want to make a bot from point A to point B. But to add levels easily, I want to…
Roukmoute
  • 546
  • 1
  • 7
  • 25
1
vote
0 answers

How to prevent duplicate server calls on game logic (multiplayer)?

So I have a game that runs on runs on html5 canvas using a game engine (ImpactJS to be exact, yeah too old) And I have this scenario where: After a set time (i.e. 15 seconds), game will communicate to the server. IF: Player A made the call, player B…
Ardi
  • 131
  • 1
  • 10
1
vote
1 answer

ImpactJS moving toward entity

Is there a way to detect whether I am moving towards a particular entity or if I am moving towards a particular entity type? The issue I am having is to check whether I have hit a fence. At that point I want to turn around and move in the other…
griegs
  • 22,002
  • 28
  • 113
  • 201
1
vote
0 answers

Clone an ImpactJS ig.Class instance

In ImpactJS I want to create a copy of an ig.Animation. The documentation says that ig.copy doesn't work with ig.Class based instances. How would I go about creating a copy of an ig.Animation?
Digital-Clouds
  • 522
  • 3
  • 15
1
vote
0 answers

Allow user to enter an email address in impactjs

Is there a way, or a plugin, within impactjs to popup a keyboard and allow the user to enter say a username and an email address?
griegs
  • 22,002
  • 28
  • 113
  • 201
1
vote
0 answers

Font not displaying on canvas

I am using impactjs engine in javascript to draw font ,i have an image of fonts,nd trying to draw it on my canvas,but the font are aint displaying on canvas,where am i going wrong?any help thanx .defines(function(){ EntityTutorial =…
Safwan
  • 171
  • 1
  • 15
1
2 3 4