tatogame's Recent Forum Activity

  • Ambient light check light sensor of your camera/phone... it's a feature of User Media plugin https://www.scirra.com/manual/144/user-media

  • Problem Description

    The ambient light sensor (lux) on Windows Phone 8.1 doesn't work correctly

    Attach a Capx

    You can try with the default light-sensor example, anyway here a copy of the capx https://www.dropbox.com/s/p30met8ab27lj ... Light.capx

    Description of Capx

    The Ambient light variable doesn't update. So i can't get the current state of ambient-light or lux value

    Steps to Reproduce Bug

    • Export to windows phone WinJS universal app (8.1)
    • Run application on a Windows Phone 8.1 with lux capability (es: lumia 925)
    • Look the value : it doesn't change.

    Observed Result

    The variable is setted on start, but not continously

    Expected Result

    The "readingchanged" JS events fire the construct 2 event.

    Affected Browsers

    • Internet Explorer (Windows Phone 8.1): (YES)

    Operating System and Service Pack

    Windows Phone 8.1 (8.0 doesn't support lux)

    Construct 2 Version ID

    Construct 2 r174 personal edition

    I Debug a little in the visual studio project and i checked the fragment "responsible" of light relevation

    if (this.runtime.isWinJS && !this.runtime.isWindows8Capable)
    		{
    			var lightSensor = Windows["Devices"]["Sensors"]["LightSensor"]["getDefault"]();
    			if (lightSensor)
    			{
    				var minInterval = lightSensor["minimumReportInterval"];
    				lightSensor["reportInterval"] = (minInterval > 16 ? minInterval : 16);
    				lightSensor.addEventListener("readingchanged", function (e)
    				{
    					ambientlux = e["reading"]["illuminanceInLux"];
    					self.runtime.trigger(cr.plugins_.UserMedia.prototype.cnds.OnDeviceLight, self);
    				});
    			}
    		}
    [/code:s4ssrvtw]
    
    If i make a breakpoint into the event listener body (self.runtime.trigger(cr.plugins_.UserMedia.prototype.cnds.OnDeviceLight, self);) I verified that the event is raised only a few times...
  • Since i like Construct 2 and i want to try make something in WP8...

    I've made this

    http://www.windowsphone.com/it-it/store/app/construct-2-stuff/bd0faaba-00a5-4e42-83e5-1f0d4bc74c76

    A Windows Phone 8 app about Construct 2 : news, informations, tutorial, manual and stuff!

  • +1

  • Thank you to everybody :D

    As bonus:

    Before and after graphics

    <img src="http://static.ow.ly/photos/original/4s1SR.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good news to everyone!

    For the GGJ2014 me and some other made this game at PoliMI jam-site!

    <font size="6">BitchShark</font>

    <img src="http://www.risingpixel.com/wp-content/uploads/2014/01/screen3.jpg" border="0">

    Bitsh Shark is an unconventional Dating-sim with a twist.

    If you act like a monster, you gonna see monsters!

    Try to date a sweet girl without hurting her heart. Otherwise she will transform into the monster that you are... and she will eat you!

    <img src="http://www.risingpixel.com/wp-content/uploads/2014/01/BS_img_quadrata2.png" border="0">

    tantan tanTan TANTAN TAN TAN TAN-TAN TAAAAAAAN

    <img src="http://www.risingpixel.com/wp-content/uploads/2014/01/screen5.jpg" border="0">

    Use Touch/click to select answer or jump. Swipe or arrow keys to move.

    Enjoy this multi-phased-dating-sim here!

    http://gamejolt.com/games/strategy-sim/bitch-shark/21829/

    <img src="smileys/smiley12.gif" border="0" align="middle">

  • Any updates?

  • Yay, i've submitted a game (powered by Construct 2) just in time :P

    http://gamejolt.com/games/sports/dnce-prty/19059/

    DNCE PRTY

    A random ragdoll fun game about dancing and destroying stuff...

    <img src="http://www.risingpixel.com/altro/img/DNCEPRTY_Anim.gif" border="0">

  • I'm trying to workaround this with something like

    Layout "rec"

    Snapshot every 1 second with uri saved in LocalStorage

    Layout "play"

    Sprite animated with "load frame" from previous LocalStorage

    <img src="http://firesidechats21.files.wordpress.com/2013/02/neutral-its-something-l.png" border="0" />

    Some ideas to download a sprite?

  • Hi,

    is there a way to generate a animated gif / video from the game?

    With "take snapshop" I can save a .PNG or a .JPEG but how i can build an animated gif?

    Something like this?http://jnordberg.github.io/gif.js/

  • I'm trying to use the light sensor with UserMediaPlugin for check the ambiance lux

    With manual helps ( scirra.com/manual/144/user-media ) i create a simple events "On ambient light reading update" that set a textbox text in "AmbientLux" but the textbox is always unsetted....

    When it occours and which devices/browsers are supported?

  • Post here your game (Powered by C2) made for the MolyJam2013 !

    Mine is MolyRun: a dreamlike running game about the difficult relationship between Peter Molyneux and bavarian sausages.

    Link : http://www.molyjam.com/games/38

    Images :

    <img src="http://www.risingpixel.com/wp-content/uploads/2013/07/MolyRun_screen1.png" border="0">

    <img src="http://www.risingpixel.com/wp-content/uploads/2013/07/MolyRun_screen2.png" border="0">

    <img src="http://www.risingpixel.com/wp-content/uploads/2013/07/MolyRun_screen3.png" border="0">

    <img src="smileys/smiley3.gif" border="0" align="middle">

tatogame's avatar

tatogame

Early Adopter

Member since 21 Jan, 2012

Twitter
tatogame has 1 followers

Connect with tatogame

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies