Colonel Justice's Recent Forum Activity

  • Hi, is there a way to multithread or asynchronously retrieve the imageurl? Encoding a 2048x2048 image takes some time, 3-5 seconds of freezing to be exact. I would not mind getting the base64 string "later".

    Thanks,

    The Colonel

  • Problem Description

    Destroying shadowlight objects or restarting the layout will bloat the used image memory.

    Attach a Capx

    Can be demonstrated with Construct 2 example capxs.

    Description of Capx

    Just using the example capx.

    Steps to Reproduce Bug

    • Just add an event like "on right click -> restart layout" and observe the memory occupation while repeatedly restart the layout.
    • Can also create new shadowlights and destroy them afterwards, same effect. The amount of memory leaked is multiplied by the number of shadowlight instances. Removing the shadowlight object from the layout will result in proper memory cleaning.

    Observed Result

    Memory usage ups a 300-500 kb each restart. Net memory usage of a shadowlight actor is about 800 kb, so it does not clean everything properly.

    Expected Result

    Destroying an instance should free the same amount of memory as creating one.

    Affected Browsers

      Seen in Firefox, Chrome, Nodewebkit in both preview and built versions. IE probably will show the same behavior but honestly didn't test it with a recent version.

    Operating System and Service Pack

    Windows 7 32bit patched to date. Geforce 8800GT patched to date.

    Construct 2 Version ID

    Observed in the latest stable r190 and also r187.

  • Actually this has been fixed some time ago, maybe you might want to draw an update.

  • Hi,

    this will hopefully be my final question regarding displacement maps.

    Is the following possible:

    State 1: Sprite in its normal state

    <img src="http://www.schade-blog.de/schade-studios/doorsprite1.png" border="0" />

    State 2: Relative displacement lets this door slide into an invisible space.

    <img src="http://www.schade-blog.de/schade-studios/doorsprite2.png" border="0" />

    I know, with a tiled background this shouldn't be any problem, but I want angles! <img src="smileys/smiley4.gif" border="0" align="middle" />

    Darn vertices... never managed to wrap my head around them.

  • Thanks, that may come in handy at some point in the future, as I�m yet not done inserting new objects.

    Does it handle R2 caps, or are there significant changes in the format between 0.99.97 and R2?

    If not, my excuses for such a blatant display of n00bness [

  • Copying the object from a backup cap into the most recent one actually did the trick.

    Thanks though for the offer!

  • Hi again,

    an object has vanished from my layout. The code is still there, it�s still in a subfolder in the project explorer. It�s neither visible in the layout editor nor the object explorer.

    "Create object" will not spawn it and any code related to that object is not executed.

    So far I tried to:

    -drag and drop from the project explorer onto the layout. Guess that�s not meant to work.

    -Move the object into another subfolder

    -Sort the object folder from a-z, switch from small icons to list, vice versa

    -Try to place the object in another layout.

    That didn�t do the trick yet. I guess something went wrong with the cap�s internal object index, or the thing that references it in the object explorer.

    Any chance to repair the CAP, or do I have to live with a phantom object and build a new one in the same vain, then adjust the existing code for that object?

    Luckily it was not too heavy animation-wise.

    Cheers,

    the Colonel

  • Hey Katala,

    thanks for the feedback! Yeah, collision handling for the walls wasn�t the best in this version, I�m fixing it right now. The nests leave the bump map behind in this version, but they shouldn�t ;)

    Bullet time gets triggered by a x% chance an enemy dies. But of course enemies also die off-screen (when they get minced by sawblades for example), so I�m checking options here.

    Right now I�m hijacking Construct 2 as map editor and implementing pickups and items. The next test release draws near :)

    Cheers

    The Colonel

  • Phew, maybe you should drop 20 health for each 10 enemies killed.

    If you kill enemies without taking damage, awarding that with health could lead to a design problem ;)

  • Haha, that�s quite funny! But really tough!

    Are you planning to have health drops from time to time?

    I was hiding behind the wooden boxes waiting for a good shot, but the three-way shooting thing with some soldier just can make things hard to beat.

    But good work, I also like the style, keep it up!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, that approach seems doable, but the target audience may be a bit problematic then.

    A) Indie gamers, think they tend to have weaker machines than

    B) The Modern Warfare2 power gamers with their ridiculous rigs that raise an eyebrow when they stumble upon a 2D shooter, a genre not so well known to their kind <img src="smileys/smiley2.gif" border="0" align="middle" />

    On the other hand, there?s some godrays and lense flare effects already developed, but wasn?t sure wether it?s wise to show them yet, people get shrugged off easily when their first experience is bad due to lag/whatever.

    Cheers!

Colonel Justice's avatar

Colonel Justice

Member since 16 Mar, 2011

Twitter
Colonel Justice has 10 followers

Trophy Case

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

18/44
How to earn trophies