https://freegeoip.net/
You can use this even in Construct with the AJAX object. Just call it with the IP in place and parse the result.
Maybe try:
https://serratus.github.io/quaggaJS/
You would have to write the JavaScript SDK plugin to integrate it into Construct though.
There are about 1000 different ways to do that. You need to be more specific.
I don't believe that you can do that on Javascript. If you use Java, you can "walk the file tree."
You can either have the weapon sprite be filled with different weapons on each frame and simply increment/decrement the frame number when the mouse wheel is moved, or you can line the sprites up in a row on a layer below with just the box open and move the Y-position of the line of sprites up and down.
You will have to do this on a server, as anyone can just delete any kind of protections that you put in the JavaScript on the browser side.
Like:
Mouse | Cursor is over "blahblahblah" | Set font color to rgb(255,255,255)
ELSE | set font color to rgb(0,0,0)
Also, make sure that the text box boundary is not huge. If the mouse is anywhere inside the text box boundary (no matter how small the text is) it will be considered "over" the text box.
See this: https://drive.google.com/file/d/0B-xiqK ... sp=sharing
Develop games in your browser. Powerful, performant & highly capable.
Try adding the "Behaviors" > "Solid" attribute to the ground sprite.
You need an artistic box set with an array of coordinates to define where each box is, then when you drag and drop a box-sized sprite anywhere within the box's coordinates you can pin that object to the box.
You would be better off using a program like Photoshop or Paint.NET to turn it into a greyscale.
Paint.NET you can just open the image and choose "Adjustments" > "Black and White", and it will convert the image to greyscale.
Very nice work.
fruit.setFrame(random(fruit.AnimationFrameCount))
You can keep an array or list or dictionary linking the fruit animation frame to the fruit name like:
{0:"apple",1:"banana",2:"mango",...}
Member since 4 Mar, 2014