Log Text & Objects to Chrome Console

0 favourites
From the Asset Store
Animated Text
$3.99 USD
With AnimatedText behavior you can make an impression of the text being “typed live”.
  • This Construct 2 mini-plugin for Chrome fanatics (like me!) let?s you log things to the JavaScript console.

    I find it to be much more useful when debugging than simply displaying things in a textfield within C2 because:

    • you can look at object data
    • you don't have to worry about things disappearing when you change layout
    • the Chrome console has a bunch of other awesome features (you should try it, it really is amazing!)

    DOWNLOAD LATEST VERSION HERE

    The latest version has improvements made to my plugin by boolean that makes arrays display nicer.

    You can still download the old (original) version here, as well as see a demo and get more information on how to use it here.

    Screenshots

    Logging the number of seconds since the layout started

    <img src="http://i.imgur.com/bQNEB.jpg" border="0">

    Peeking inside an array at the contents

    <img src="http://i.imgur.com/eJPOw.jpg" border="0">

    Actions (there are no conditions or expressions)

    <img src="http://i.imgur.com/DV7aC.jpg" border="0">

  • Nice work, handy for advanced users!

  • Well congrats sir <img src="smileys/smiley1.gif" border="0" align="middle" />

    This appear to make my firebug respond.

    Meaning that your plugin works for Chrome and FF <img src="smileys/smiley1.gif" border="0" align="middle" />

    Awesome job ! This is top notch.

  • Just wanted to reply and say that this little plugin really streamlined my debugging. Once I wired all of my events into the console, I was able to start diagnosing very complex interactions between game events that I had been putting off for quite some time. Nice work!

  • wgfunstorm

    It might be useful to have a "condition:log text". So that designer could use it to check if the triggered event had been executed or not.

  • This plugin is broken on r99, could we perhaps get it up and running agian? Thanks!:)

    *edit* Aye, the plugin works beautifully, it's only the example that is broken in the current build. Looks like there's a problem with Div buttons.

  • *edit* Aye, the plugin works beautifully, it's only the example that is broken in the current build. Looks like there's a problem with Div buttons.

    Hi Julmust, just out of interest, what is a div button? I use sprites as buttons which is missing some buttony type behaviours such as the ability to set inactive/disabled. I saw the form controls-> OK Button, but its pretty ugly.

    Anyway, Im going to try that debug plugin as it works in FF <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Ok, tried the demo app on his page: funstormgames.com/blog/2012/01/construct-2-log-to-chrome-console-plugin

    With FF 14.1 and it doesnt seem to work, just get lots of warnings like this:

    Timestamp: 19/08/12 11:43:17

    Warning: Error in parsing value for 'filter'. Declaration dropped.

    Source File: funstormgames.com/blog/2012/01/construct-2-log-to-chrome-console-plugin

    Line: 0

    I guess its time to install chrome <img src="smileys/smiley23.gif" border="0" align="middle" />

  • I hope wgfunstorm doesn't mind, but I made a modification to his plugin. If anyone has an issue with me editing another users plugin, let me know and I'll pull the file offline.

    What it does:

    Changes this:

    <img src="http://i.imgur.com/eJPOw.jpg" border="0">

    To this:

    <img src="http://i.imgur.com/rh69Q.png" border="0">

    This is really handy when you are dealing with big arrays, for example:

    <img src="http://i.imgur.com/fM6Du.png" border="0">

    Click here to download. Just replace the runtime.js file in the same folder you installed the original plugin.

  • I'm using boolean version of this plugin. It works perfectly!

    Thank you very much, I have a big 2 dimension array and now is easiest to debug it :D

  • you just made my day.. Thank you!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I hope wgfunstorm doesn't mind, but I made a modification to his plugin. If anyone has an issue with me editing another users plugin, let me know and I'll pull the file offline.

    Awesome! Gonna download and use it myself. I hope you don't mind I updated the OP with a link to your version <img src="smileys/smiley17.gif" border="0" align="middle" />

  • DOWNLOAD LATEST VERSION HERE

    The latest version has improvements made to my plugin by boolean that makes arrays display nicer.

    Extracting it all I get is the runtime.js

    and readme section in that file says copy playtomic folder into construct2installdir/whatever/plugins

    Missing files?

  • >

    >

    > Extracting it all I get is the runtime.js

    >

    > and readme section in that file says copy playtomic folder into construct2installdir/whatever/plugins

    >

    > Missing files?

    NEvermind <img src="smileys/smiley2.gif" border="0" align="middle" /> Found it <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Sorry but i can't get it to work. Could you do more detailed explenation how to use it. Thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)