Developer at Novarad

I've been working on a 2D HTML5 game engine called Psykick2D.

13h
accepted How can I architect my game tools to allow for easy extension?
Dec
12
comment Make first word second with jQuery? And Remove 3rd?
His statement is relevant to the question. He's saying can you modify the server-side code? That doesn't necessarily mean changing some HTML file. Don't be rude to people trying to help you.
Dec
12
comment Jquery click trigger doesnt work
It looks like you have an extra } in your click function. Is this code even running?
Dec
4
awarded Necromancer
Nov
26
awarded Notable Question
Nov
26
awarded Notable Question
Nov
20
revised Strip @ from API response with Javascript
Added fix for arrays
Nov
20
answered Strip @ from API response with Javascript
Nov
18
comment How can I convert this AS code in JS?
You have to know how to write JS in order to translate to it. The syntax is very similar so it won't be very hard.
Oct
17
awarded Enthusiast
Oct
7
comment the 'this' key word with IIFE in javascript
Were you creating a Vehicle1 and if so were you using the new operator? Because it sounds like you just typed Vehicle1() instead of new Vehicle1().
Oct
7
comment Can't use variable from anonymous function outside scope in javascript
$.get is an asynchronous function. Place your $("#genre").tagit line instead of the callback.
Sep
30
awarded Explainer
Sep
12
comment how to run a function on boolean value change?
You could create a function where you set run then perform additional logic i.e. function setRun(x) { run = x; ... }
Sep
5
comment When I change the position of a sprite, it continues moving on its own
The velocity can be the number of pixels to move. The problem is that you're telling it "move 2 pixels in some direction every frame". Why do you expect it to stay still when you're updating the position constantly in moveSnake?
Sep
5
comment When I change the position of a sprite, it continues moving on its own
You're directly modifying the x and y positions in moveSnake instead of applying the velocity to them. It should be something more like snake.x += snake.body.velocity.x.
Sep
4
revised setTimeout conflict in Javascript
improved formatting
Sep
4
revised Get difference between dates with + or - added to it
removed tag from title
Sep
4
comment Ajax Request on another's success ( jQuery )
Sounds like the second ajax request isn't returning successfully. Try setting up a error handler and see what's going wrong.
Sep
2
comment Immediately invoked expression in browserify
For what it's worth, assigning the variable without a var in front actually does attach it to the window object. Glad you found a solution.
1 2 3 4 5