54 Posts, registered 1 decade ago
Contact
Send an email to congwang0517
Recent Posts
i want to turn over a image,how to do it?
if i want to resize a entity's size by it's 80%,what i should do?
it has been solved.
window.animSheet1 = new Image();
window.animSheet1.src = …
the canvas.toDataURL()'s image is like this:data:image/png;base 64,asdfadf…
is it has any bone animation API?
I try to " entity.animSheet = new ig.AnimationSheet..." and entity.a…
impactjs has entity click event?
must I write a plugin?
is this right?
var ents = ig.game.entities;
var len = ents.length;
…
""_Quote from dominic_
Set the entites #.currentAnim# to #null#.&quo…
I know a stupid way: pos.x = pos.y = -10000;
i don't want to kill the entity,just let it can't be see.
in main.js , init(), define mousePressed: {x:0,y:0}, when you click, assign the…
I newed a timer,when the delta()>0 ,I want to destory the timer . How to do …
I have a method to solve the problem. The precondition is useing sortEntities()…
I refer to Graphikos's code ,wrote a click plugin about entity click .But…
The Click-through problem hasn't been resolved. Could anyone help? Than…
ig.input.bind(ig.KEY.MOUSE1, 'mouseLeft');
ig.input.pressed('mou…
I tryed this code:
##
if(ig.input.state('mouseLeft')) {
if(thi…
But it also has a problem.It's can't work when I set the boundary.
##…
Thanks Graphikos. The link you have given is very helpful to me.
Is there any class to achieve the function? I use finger to scroll the game…
I have a background image 500*300. I code that "this.background.draw(0, 0)…
my code:
##
update : function() {
switch(this.scene){
case 0:
th…
the code is below:
##
init : function() {
ig.input.bind(ig.KEY.MOUSE…
Thanks, the reason is I just think game as website. So i was confused why impa…
I think the event in update() is inefficient. Because user may triger a event …
I hope not only the tile map but also the images map in Weltmeister
while the mouse button down and moving. Once mouse button up or stop move,the m…
just mouse.y.
OK,Arantor .I tell the game itself. It's about a building wi…
OK, Arantor. My English is poor ,and I am hard to express my thought exactly in…