Acey's Recent Forum Activity

  • Hi

    Are there anyway to extend the editor as it is now? Or are there planned anything like what I'm asking for in the near future?

    -Acey

  • It's probably broken by the minifier - see the section on Closure Compiler in the SDK docs: https://www.scirra.com/manual/22/runtime-overview

    That seems pretty true for now, i've reworked the code to work without minifying, but how to i then oprimize it to work with minifying too, i think it's an cap for my plugins to say that people can't export with minifying if they use it.

    EDIT:

    TypeError: f.response.N is undefined is the error i get, when running here:

    http://demo.acey.io/C2/LocationInfo/

    I guess this comes from a try, catch i have, where the FOR loops are in.

    for(var componentIndex in self.response.results[0].address_components)
    {
    	var component = self.response.results[0].address_components[componentIndex]
    	console.log(component);
    	for (var typeIndex in component.types) {
    	    switch (component.types[typeIndex]) {
    	        case 'street_number':
    	            self.data.street_number = component.long_name;
    	            break;
    
    	        case 'route':
    	            self.data.street = component.long_name;
    	            break;
    
    	        case 'locality':
    	            self.data.city = component.long_name;
    	            break;
    
    	        case 'administrative_area_level_1':
    	            self.data.state = component.long_name;
    	            break;
    
    	        case 'administrative_area_level_2':
    	            self.data.county = component.long_name;
    	            break;
    
    	        case 'country':
    	            self.data.country = component.long_name;
    	            break;
    
    	        case 'postal_code':
    	            self.data.postal_code = component.long_name;
    	    }
    	}
    }[/code:3iu4v7uy]
  • Hello Everyone.

    This is my Company profile of a one man army, plugin/asset creator.

    I'll be using my time on developing and publishing Script plugins!

    -Acey

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well i better like the graphics of the big one. But the walking anims looks better on the small one.

  • Well that's from the official scirra url, so there's no chance that could be corrupted or unsafe to use.

  • Hi

    I'm working on another plugin, but struggling to find out why the code is acting different when it's published to a website, over running on localhost test.

    I got this JS/jQuery code, that perfectly works when i'm testing, but not when i've exported the project.

    jQuery.each(self.response.results[0].address_components, function () {
    	var component = jQuery(this)[0];
    	jQuery.each(component.types, function () {
    	    console.log(jQuery(this));
    	    switch (jQuery(this).selector) {
    	        case 'street_number':
    	            self.data.street_number = component.long_name;
    	            break;
    
    	        case 'route':
    	            self.data.street = component.long_name;
    	            break;
    
    	        case 'locality':
    	            self.data.city = component.long_name;
    	            break;
    
    	        case 'administrative_area_level_1':
    	            self.data.state = component.long_name;
    	            break;
    
    	        case 'administrative_area_level_2':
    	            self.data.county = component.long_name;
    	            break;
    
    	        case 'country':
    	            self.data.country = component.long_name;
    	            break;
    
    	        case 'postal_code':
    	            self.data.postal_code = component.long_name;
    	    }
    	});
    });[/code:35hglc6l]
    
    The console.log will output the following on test (correct):
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    Object[]
    
    Where the Object selectors will have some value.
    But the exported project will output this:
    Object["s", "t", "r", "e", "e", "t", "_", "n", "u", "m", "b", "e", "r"]
    Object["r", "o", "u", "t", "e"]
    Object["l", "o", "c", "a", "l", "i", "t", "y"]
    Object["p", "o", "l", "i", "t", "i", "c", "a", "l"]
    Object["a", "d", "m", "i", "n", "i", "s", "t", "r", "a", "t", "i", "v", "e", "_", "a", "r", "e", "a", "_", "l", "e", "v", "e", "l", "_", "2"]
    Object["p", "o", "l", "i", "t", "i", "c", "a", "l"]
    Object["c", "o", "u", "n", "t", "r", "y"]
    Object["p", "o", "l", "i", "t", "i", "c", "a", "l"]
    Object["p", "o", "s", "t", "a", "l", "_", "c", "o", "d", "e"]
    Object["s", "t", "r", "e", "e", "t", "_", "n", "u", "m", "b", "e", "r"]
    Object["r", "o", "u", "t", "e"]
    Object["l", "o", "c", "a", "l", "i", "t", "y"]
    Object["p", "o", "l", "i", "t", "i", "c", "a", "l"]
    Object["a", "d", "m", "i", "n", "i", "s", "t", "r", "a", "t", "i", "v", "e", "_", "a", "r", "e", "a", "_", "l", "e", "v", "e", "l", "_", "2"]
    Object["p", "o", "l", "i", "t", "i", "c", "a", "l"]
    Object["c", "o", "u", "n", "t", "r", "y"]
    Object["p", "o", "l", "i", "t", "i", "c", "a", "l"]
    Object["p", "o", "s", "t", "a", "l", "_", "c", "o", "d", "e"]
    
    Why is this so ? Please help me. 
    
    -Acey
  • Hi, your plugin show info only by position of country ?

    No no, i don't know why the screenshots aren't here, but you'll Load the Weather from a Latitude and Longitude, so you can use the Geolocation Plugin.

    I'll try uploading the screenshots again

  • Store URL: https://www.scirra.com/store/construct2%20...%20-info-2191

    Get all Weather Info from a anywhere in the World!

    Available Info:

    • 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

    Choose Between 3 different Temperature Units:

    • Fahrenheit
    • Celsius
    • Kelvin

    Screenshots

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

    https://www.scirra.com/store/construct2%20...%20-info-2191

    Get all Weather Info from a anywhere in the World!

    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).

    DO NOT MINIFY THE JAVASCRIPT FILES WHEN EXPORTING - IT'LL BREAK THE PLUGIN

    I'll fix this very soon!

    Available Info:

    Country

    Sunrise

    Sunset

    Current Temperature

    Minimum Temperature of the day

    Maximum Temperature of the day

    Humidity

    Pressure

    Wind Speed

    Wind Direction

    Cloudiness

    Weather Description

    Last Weather Update

    Choose Between 3 different Temperature Units:

    Fahrenheit

    Celsius

    Kelvin

    We are not affiliated, associated, authorized, endorsed by or in any way officially connected to OpenWeatherMap Inc. (http://openweathermap.org/).

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

  • 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

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