Acey's Forum Posts

  • Weather Info — Now for sale in the Scirra Store!

    https://www.scirra.com/store/construct2-plugins/weather-info-2191

    <h3>Get all Weather Info from a anywhere in the World!</h3><div class="deshr"></div><p>The plugin is using OpenWeatherMaps API to get the Weather info needed. When that is said, you need an OpenWatherMap account for this asset to work (that's FREE).</p><h3>DO NOT MINIFY THE JAVASCRIPT FILES WHEN EXPORTING - IT'LL BREAK THE PLUGIN</h3><div class="deshr"></div><h3>Available Info:</h3><div class="deshr"></div>

    • Country
    • Sunrise
    • Sunset
    • Current Temperature
    • Minimum Temperature of the day
    • Maximum Temperature of the day
    • Humidity
    • Pressure
    • Wind Speed
    • Wind Direction
    • Clouds
    • Weather Description
    • Last Weather Update

    <h3>Choose Between 3 different Temperature Units:</h3><div class="deshr"></div>

    • Fahrenheit
    • Celsius
    • Kelvin

    <h3>We are not affiliated, associated, authorized, endorsed by or in any way officially connected to OpenWeatherMap Inc. (http://openweathermap.org/).</h3><div class="deshr"></div>

    Use this topic to leave comments, ask questions and talk about Weather Info

  • Well, the fun and awesome "Falling apart" feature here on the website [MOD EDIT] mucks up when you're trying to do anything on your mobile.

    Whenever i try to go on another page than the fron, then my Firefox on Android just crashes :/

  • I would really like suggestions for features to implement if you have some

  • Well I think of making an sql database, since you have to store the user data outside of the individual game. So it would be stored in a sql database, and have php scripts too.

  • Hi Everyone

    What are you guys thinking about a $5 Login/Register module, that will have the ability to change password, and reset password too ?

    Kinda also a Login Module. But what about a plugin that lets you implement Wordpress Login into your Game? Also at $5, and the same features from start.

    Feature like achievements, leaderboards and such can always get implemented, and maybe others (Ideas?!)

    -Jesper

    Acey

  • Do you still need a programmer ?

  • I havne't tried it, but that sounds correctly, thank you

  • Acey

    Add "var self=this;" , and replace "this" by "self" in callback function.

    var self=this;
    $.ajax({
       url: "http://api.openweathermap.org/data/2.5/weather?apikey=" + apikey + "&lat=" + lat + "&lon=" + lng,
        method: "get"
    }).done(function (res) {
       self.result = res;
              
       console.log(res);
    }).error(function (result) {
              
    });[/code:2xc0jwrl]
    

    Can you maybe explain why this should work, so you just set var self to this?

  • Open Notepad++ as Administrator, and it'll work

  • $.ajax({
    	url: "http://api.openweathermap.org/data/2.5/weather?apikey=" + apikey + "&lat=" + lat + "&lon=" + lng,
        method: "get"
    }).done(function (res) {
    	this.result = res;
    	        
    	console.log(res);
    }).error(function (result) {
    	        
    });[/code:2ey1evvz]
    
    I tried this code. But i wasn't able set "this.result" to anything from inside the done function.
    
    I've looked at the Ajax plugin, and that uses HttpRequest too, just wondered why this didn't work, since i was able to pull the data correctly when i tried "console.log(res)".
  • Hi

    I've used like 4 hours to get some ajax to work, but it doesn't seems to work..

    And my not working i mean that i can set (this.data) in the .done(result) function, when the ajax is done, and the data is pulled.

    I finally ended up using HttpRequest, but why doesn't this work ?

    -Jesper

    Acey

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi

    I'm an pretty experienced developer, that usually makes Assets for Unity3D.

    But i've been thinking about making my current plugins for Construct2 if anyone would use it.

    Current asset is a combined Location and Weather info, that'll give you pretty much all the location and weather info you can imagine.

    And then i'm working on a Ultimate Wordpress Login (40% done), that'll give you the abillity to Login to the game with your WP user, and post data that can be loaded again later.

    My Unity3D Asset Store Publisher Page (Had to Bitly since the link was too long)

    bit.ly/1Mr06Xk

    Location/Weather Info DEMO

    demo.acey.io/LWI

    Location/Weather Info costs $5

    But these could be split up, and cost $2.5 each.

    Ultimate Wordpress will cost between $5 and $10

    I would like to get some feedback on the idea of converting my assets to C2, and if the prices would be okay.

    -Jesper

    Acey