Search found 2 matches
- Sun Sep 29, 2013 11:32 pm
- Forum: Impact and Node/Socket.io
- Topic: 8 Directional movement
- Replies: -1
- Views: 7459
Re: 8 Directional movement
I got it! Took a lot of playing around, I had to delete my code and start over a couple of times. ig.module('game.entities.player') .requires('impact.entity') .defines(function () { EntityPlayer = ig.Entity.extend({ size: { x: 32, y: 43 }, direction: 1, type: ig.Entity.TYPE.A, nettimer: 10, movement...
- Mon Sep 09, 2013 4:46 am
- Forum: Impact and Node/Socket.io
- Topic: 8 Directional movement
- Replies: -1
- Views: 7459
8 Directional movement
I'm having a weird issue when I use my keyboard to try and move I'm getting a blank screen heres my player.js ig.module( 'game.entities.player' ) .requires( 'impact.entity' ) .defines(function () { var ismove = 0; var speed = 100; var playername = 'cracken'; EntityPlayer = ig.Entity.extend({ size: {...