Use a image and use the mouse event.click to handle clicking it :)
Good luck and welcome to C2. Also the rotation shouldn't do anything to your fps, I'm using interpolation on mine and it works nicely :)
Develop games in your browser. Powerful, performant & highly capable.
Yes will do. I'll try make a start on it tomorrow. It might help if you private message me your capx, or a basic version to help you even more.
You canonise the lerp function to do this..
System.compare2values(distance(player.x,player.y,objecttocompare.x,objecttocomaore.y) > 10)
--> do something
I have never had a problem with animation but I'm sure it's probably simple like the capitalisation of the h
How did you get it working?
Oooooh I see. I'm not on a computer right now but I'll write a tutorial on this as soon as possible
I think i need to see a capx. Im not sure I get what your asking for?
you want to dynamically edit properties of the belt at runtime?
Add a event like this:
Mouse.IsDown
Mouse.IsOverObject[BeltThing]
->System.createObject[BeltThing(Mouse.X, Mouse.Y)]
should do the trick <img src="smileys/smiley1.gif" border="0" align="middle" />
No easy/quick way i can think of. Try post another thread asking that..
you could allways call it using the call javascript plugin i guess. But then you would have to figure out how to parse it..
danny, I sent you a message <img src="smileys/smiley1.gif" border="0" align="middle" />
the PHP script has to be on the same domain as the exported project otherwise it doesn't work. If you try to call a PHP script on your server when the game is hosted by Google, then the PHP is not, Hense its not working <img src="smileys/smiley6.gif" border="0" align="middle" />
Hope that helps .
Yeah zenox98 is right, There is a touch plugin, and a moue plugin. but the touch/mouse plugin all in one is 3rd party <img src="smileys/smiley1.gif" border="0" align="middle" />
No every time you install a new release are your third party plugins are deleted, You need to install them again.
when i install a new release i rename the old one to Construct2 old or something appropriate. Then install the newer release then simply copy and paste the custom plugins and behaviors.