Acey's Recent Forum Activity

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • 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

Acey's avatar

Acey

Member since 18 Mar, 2016

None one is following Acey yet!

Connect with Acey

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies