Search found 12 matches
- Sun Oct 27, 2013 12:01 pm
- Forum: HTML5/Web Engines
- Topic: mouse hit over 3d entities
- Replies: -1
- Views: 995
Re: mouse hit over 3d entities
Found! xD Really great update!
- Sun Oct 27, 2013 10:53 am
- Forum: HTML5/Web Engines
- Topic: mouse hit over 3d entities
- Replies: -1
- Views: 995
Re: mouse hit over 3d entities
Hi, I've just downloaded again the engine, but it has downloaded v1.2.4@2013-10-07.001 version and not the latest you told.
- Sun Oct 20, 2013 9:23 pm
- Forum: HTML5/Web Engines
- Topic: Path
- Replies: -1
- Views: 723
Re: Path
Thanks, but have already read about aStar. I have not to disable diagonals, but avoid the entity comes between 2 other entities diagonally adjacent.
If there are two obstructions in (0,0) and (1,1), for going from (0,1) to (1,0) I want go go around respectively in (1,2), (2,1) and finally in (1,0).
If there are two obstructions in (0,0) and (1,1), for going from (0,1) to (1,0) I want go go around respectively in (1,2), (2,1) and finally in (1,0).
- Wed Oct 16, 2013 6:10 pm
- Forum: HTML5/Web Engines
- Topic: Path
- Replies: -1
- Views: 723
Path
I have two questions: 1) Can I controll the speed of my entity? 2) The second question is more complex to explain. Imagin I have a "wall" of occupied tiles: (0,0)(1,0)(2,0)(3,1)(4,1)(5,1), if my entity is in (2,1) it easily can path in (3,0) with an unique movement. Is it possible to preve...
- Tue Oct 15, 2013 5:21 pm
- Forum: HTML5/Web Engines
- Topic: How to get the exact position point of an entity?
- Replies: -1
- Views: 845
Re: How to get the exact position point of an entity?
Sorry, solved.
If anybody other has the same question, the answer is:
It's explained in .../ige-master/documentation/root/IgeEntity.html
If anybody other has the same question, the answer is:
Code: Select all
var wordPos = entity.worldPosition();
- Tue Oct 15, 2013 3:08 pm
- Forum: HTML5/Web Engines
- Topic: How to get the exact position point of an entity?
- Replies: -1
- Views: 845
How to get the exact position point of an entity?
I'm using an isometric map and I need to know the exact point where an entity is (not isometric tile), especially while it's moving. Which attribute of my entity must I get?
- Mon Oct 07, 2013 7:52 am
- Forum: HTML5/Web Engines
- Topic: MySQL in a separate function
- Replies: -1
- Views: 681
Re: MySQL in a separate function
Try again with end(), it should be the more graceful way to disconnect. Look this: https://github.com/felixge/node-mysql
- Sun Oct 06, 2013 11:22 am
- Forum: HTML5/Web Engines
- Topic: MySQL in a separate function
- Replies: -1
- Views: 681
Re: MySQL in a separate function
Done. And the output is this: C:\wamp\www\ige-master\engine\components\database\mysql\IgeMySql.js:74 callback(); ^ TypeError: undefined is not a function at Quit._callback (C:\wamp\www\ige-master\engine\components\database\mysql\IgeMySql.js:74:4) at C:\wamp\www\ige-master\server\node_modules\mysql\l...
- Thu Sep 26, 2013 8:48 pm
- Forum: HTML5/Web Engines
- Topic: MySQL in a separate function
- Replies: -1
- Views: 681
Re: MySQL in a separate function
I have solved, I used a global variable: self.data[0]=rows[0]; Now a have an other question. I dont understand how I have to call the "disconnect" metod of "IgeMySql" When I call it, I have this answer from my cmd: "Cannot call methot 'end' of undefined...". What I have...
- Thu Sep 26, 2013 5:18 pm
- Forum: HTML5/Web Engines
- Topic: MySQL in a separate function
- Replies: -1
- Views: 681
Re: MySQL in a separate function
Ok, but can I bring the result outside the function call? Something like this:
Code: Select all
var data = {};
self.queryMySQL('SELECT * FROM table_one', function (rows, fields) {
data=rows;
});
console.log(data);