1 decade ago by tomsiodlak
Hi all,
I'm a designer/web designer very interested in HTML5 games so I picked up a copy of Impact. I've been reading a lot about JavaScript and jQuery but not yet at the point where I can code from scratch.
I was able to modify the demos, but creating new functionality is a little over my head. My main question is when coding new features into the engine are you limited to the Impact library or can you use other JavaScript functions too?
For example I modified one of the spikes from the jumpnrun demo to not move and be a passive npc. I duplicated the file and named it npc but now I want a dialog box to appear above the spike when a certain button is pressed. Is all this done with Impact or drawing the box above the npc with JS and Canvas?
I can see how it can be done with JS and Canvas from the tutorials I have went through but using the Impact library is not as clear to me.
I'm a designer/web designer very interested in HTML5 games so I picked up a copy of Impact. I've been reading a lot about JavaScript and jQuery but not yet at the point where I can code from scratch.
I was able to modify the demos, but creating new functionality is a little over my head. My main question is when coding new features into the engine are you limited to the Impact library or can you use other JavaScript functions too?
For example I modified one of the spikes from the jumpnrun demo to not move and be a passive npc. I duplicated the file and named it npc but now I want a dialog box to appear above the spike when a certain button is pressed. Is all this done with Impact or drawing the box above the npc with JS and Canvas?
I can see how it can be done with JS and Canvas from the tutorials I have went through but using the Impact library is not as clear to me.