Magistross's Recent Forum Activity

  • The goal is a condition that is true on ALL instances. Which means a PickedCount (filtered SOL) equals to Count (unfiltered SOL).

  • Well if I take his example of animation frame, he wants an event that will check if all 24 instances have the same one, then do something to those 24 instances. My previous example will do just that. However, if he wants actions that affect all instances no matter how many instances were picked previously, a simple "pick all" will work wonder.

  • You simply need to add a "compare two values" under you other conditions with something like this.

    Object.PickedCount = Object.Count[/code:1qaha72s]
    The event will run only if all instances satisfy whatever conditions you want.
  • "Object A is overlapped by Object B" is the same as "Object B is overlapping Object A".

  • That's string formatting. Unfortunately, C2 doesn't offer much in that department, you need to be clever and come up with something. If you want to always display a number with 2 decimals, one way to do that would be this expression :

    floor(value) & "." & zeropad(round((value * 100) % 100), 2)[/code:yq0rk9s4]
  • matriax That's unfortunately impossible to make a generic approach to creating specific objects from a family... unless you use a plugin like nickname from rexrainbow.

  • I made this hacky thingy some time ago, maybe it could be of use to you if you want to circumvent form controls limitations.

    https://www.dropbox.com/s/82jbyzjymz69d ... .capx?dl=0

  • Just updated the capx... But shinkan's shader looks amazing and require no events whatsoever. Seems like the choice is easy.

  • AJAX.LastData inside the "on completed" trigger is the way to go.

  • Why was it a mess ? It seemed like a good idea. I tried it and doesn't look messy to me, maybe I just don't understand what you expect. <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    https://www.dropbox.com/s/ajhrcaggbdlv6 ... .capx?dl=0

  • You need to pay attention to the expression and action you are using when dealing with tiles JSON. Objects have a common expression "AsJSON" that saves their entire state in a JSON string, and a common action "Set from JSON" to load their state from such a string. However, the tilemap have specific expression / action to save / load only its tile data, namely "TilesJSON" and "Load". You should be using "TileJSON" with "Load", or "AsJSON" with "Set from JSON", not a mix of both set.

    Or maybe your problem is something else entirely, but we lack information to really help you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You are looking for System's "Create object" and not the Sprite's "Spawn object". "Spawn object" means that the sprites in the SOL will each spawn the selected object. "Create object" will create a single instance.

    However, for hotswapping between characters like this... it might be better to use a single object with multiple animations.

Magistross's avatar

Magistross

Member since 4 Jul, 2011

Twitter
Magistross has 14 followers

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies