cow_trix's Recent Forum Activity

  • I don't believe there is. However, WebGL layer effects can be altered in runtime. This would be your best bet.

  • I'm not sure what you're trying to achieve. Could you post a .capx?

  • Never heard of it. Could you explain what it is supposed to do?

  • blackhornet 's link will probably be fine as well. Mine is working too now, just had to give the server a second.

  • Check this out, see if it makes any more sense.

  • There is a pathfinding behavior that supports this functionality.

  • Every X Seconds

    --< Create Object "Blood" at Player on layer "Background"

    Something like that?

  • Yes, if the SpriteFont object uses a large image it will take up a proportionate amount of memory. Put only the characters you need in the font image, and alter the "Character Set" field accordingly.

  • Loops are your friend, specifically For Each Element in the Array object. If you need an example give me a bit and I'll throw one together for you. If you don't know how loops work, check out this tutorial (shameless plug <img src="smileys/smiley2.gif" border="0" align="middle" /> )

    scirra.com/tutorials/40/basic-loops-and-arrays

  • Hey jaketakelake. I think you're misunderstanding how the JSON object works. JSON is a format for expressing arrays in a string.

    When you tell Construct to "Load from JSON string" you are supplying the value "examplelevel.json". However, this doesn't actually have anything to do with the file in your Files folder. It's just a literal string, so Construct attempts to parse "examplelevel.json" - which isn't a valid JSON string in itself - and unsurprisingly nothing happens.

    So, what are your options? You have two as far as I can see. You can use the AJAX object to request a JSON string from a PHP page, and store your levels in a server somewhere. This is a fairly simple solution if you have access to a server.

    Alternatively, if you are developing for desktop, you should be able to use Node-Webkit's File IO functions to retrieve the contents of your level.

    To reiterate: The Load JSON action requires a JSON string, which right now you are not providing. There is no way that I am aware of to access this file when it is in the Files folder.

  • Hey christina, sorry for the late reply, I've been travelling for the past few months. Newt is correct on all counts except for what "Set Count to 0" does. This event basically resets the generator. For instance, the generator may output the following:

    4 8 6 3 1 4 3 1

    Resetting the count after all these values are generated means that the next value generated will be 4, then 8, and then so on and so forth. Basically the same numbers will be generated.

    As for the problem with min/max, give me a bit to work it out. It's been over a year since I wrote this plugin and trying to understand old code is... fun.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Even unobfuscated, Construct's code is dynamically generated. It is not designed to be human readable. Nevertheless, it is just Javascript and if you know JS, you shouldn't be having problems reading the code. But remember - there's a lot of code, as the engine is very advanced.

cow_trix's avatar

cow_trix

Member since 16 May, 2009

None one is following cow_trix yet!

Connect with cow_trix

Trophy Case

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

18/44
How to earn trophies