1 decade ago by ChrisD
Hello all, I'm pretty far into a game project, however, thus far ALL of my logic has been going into the update method. It's getting very cluttered.
How do I create a new method? This is honestly my first time using javascript.
I tried to do the following:
but didn't work.
How do I create a new method? This is honestly my first time using javascript.
I tried to do the following:
update: function() {
...
},
myfunction: function() {
...
},
draw: function() {
...
}
});
});
but didn't work.
