wgfunstorm's Recent Forum Activity

  • Repro:

    • create an array and change the default width in the object properties
    • do a for each X loop
    • loop does as many iterations as the array is wide (as expected)
    • switch layout
    • switch back to original layout
    • do a for each X loop
    • loop does 10 iterations (bug!)

    Didn't test if it's the same with height & depth.

    Demo: http://dl.dropbox.com/u/46072108/arraybug.capx

    What makes the bug annoying is that you can't simply work around it by resetting the size on layout switch because it appears to get ignored as well. Would appreciate resolution in next release. <img src="smileys/smiley16.gif" border="0" align="middle">

  • I'm really not sure about the performance, and I won't be able to release this as a plugin, sorry. I'm only doing this to solve 1 highly specific problem in my game, and it would take really really really to bring it up to a releasable quality level. There's just so much to consider like caching, animation frame sizes, rendering modes, rotation, effects, etcetcetc. As it stands it works for what I want to achieve, but everything else is broken.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It wooooooooorks! <img src="smileys/smiley31.gif" border="0" align="middle" />

    well, at least the basic tiling + animation, now I just need to polish it up a little

  • Expected:

    If an object is on an invisible layer, the condition 'visible' for that object should return false.

    Actual:

    If an object is on an invisible layer, the condition 'visible' for that object returns true.

    Repro:

    1) Create an object on a layer.

    2) Make the layer invisible

    3) Create a condition testing if the object is visible

    Demo

    dl.dropbox.com/u/46072108/layervisbug.capx

  • Same here

  • Thanks dude! Can't believe I missed that.

    BUT it still doesn't work. I tried adding the flags 1 by 1, starting with pf_animated and the animation editor opens but as soon as I add pf_texture (which I need to do the tiling like in tiledbg) the animation editor stops opening. It appears to be you can only have 1 or the other flag active, but not both at the same time. Dang! <img src="smileys/smiley5.gif" border="0" align="middle" />

  • So I want to make a plugin that lets you add and switch between frames of a TiledBackground just like a Sprite.

    I was hoping this would just be a matter of copy-pasting & tweaking some stuff from Sprite->TiledBackground, but I can't actually seem to find anything in Sprite that tells it to bring up the animation editor and store multiple textures.

    It looks like both Sprite and TiledBackground call the same function, yet with different results:

    this.instance.EditTexture();

    Is there some behind the scenes trickery going on?

    My goal is to let players customize the wallpapers on the walls of their in-game shop, which is a TiledBackground. Creating ~20 TiledBackground objects and then using some huge if-chain to spawn/destroy whichever one they select sounds really clumsy. So I thought a more elegant solution would be to add multiple frames to a TiledBackground.

    Thoughts?

  • 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">

  • Could you please change mine's name to: Playtomic Metrics and Leaderboards

    Description: Register for a free Playtomic account and easily create Leaderboards or record player metrics such as number of deaths per level.

    Is that too long?

  • I could see myself using that <img src="smileys/smiley20.gif" border="0" align="middle" />

    Also the plugin you linked me above parses JSON->hashtable and can convert to string, which sounds pretty useful. Maybe you could team up with Rex and add XML to his plugin? Just a thought.

  • There's certainly some similarities, and it would theoretically be possible to achieve what I want with a hashtable, but I really don't need the extra functionality of having to worry about matching keys->values. I like the simplicity of enum's that create & manage unique numeric keys behind the scenes for me.

  • No, I don't think its suited to your purposes. It's useful for recording general metrics such as 'how many times did players die on level 2' so you know if you need to make level 2 easier. But not for recording unique per-player data. (With the exception of leaderboards which save per-player data of course)

wgfunstorm's avatar

wgfunstorm

Member since 30 Nov, 2011

None one is following wgfunstorm yet!

Connect with wgfunstorm

Trophy Case

  • 13-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies