Zetar's Recent Forum Activity

  • Array at (Loopindex("X")-1, Loopindex("Y")) = 0|4|9|12

    is exactly the same as

    Array at (Loopindex("X")-1, Loopindex("Y")) = 1

    The "0|4|9|12" evaluates down to "1".

    To do what you intended use system compare:

    (Array.at(Loopindex("X")-1, Loopindex("Y"))=0)|(Array.at(Loopindex("X")-1, Loopindex("Y"))=4)|(Array.at(Loopindex("X")-1, Loopindex("Y"))=9)|(Array.at(Loopindex("X")-1, Loopindex("Y"))=12) = 1

    Thanks ROJOhound, but I am still confused. I am trying to populate the Array at loopindex("x"), loopindex("y") with (0 or 4 or 9 or 12 or whatever numbers I supply) randomly picked.

    So if I understand you, | will give you a 0 or 1 as true or false? Mabey my example is way off base...

  • I am using for events to populate x and y of the array. Maybe it doesn't like the choose function...   I am pretty sure the | symbol can be used as an OR function. It says I can in the Manual.

  • So, I have an array 10,10 that I want specific numbers to populate in. I have created a text box grid to de-bug this issue. Why are the values all staying at 0?

    I am using the | symbol to act at an OR, (am I doing that right?)

    http://www.box.com/s/zfcovcsvvvvtkx184inv

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Yann. Fixed it and now it works great.   I hope he updates the download for future downloaders though :)

  • This is an issue that appearead around r70.

    Try to go in the preferences dialog and click "Reset dialogs".

    If this doesn't solve the issue follow the process from that post.

    Geez, Kyatric! I deleted the registry entry for Scirra, and now my interface window is updated! Not only is that fixed, but the page looks a lot nicer. Thanks! (Why didn't I catch that earlier... ) <img src="smileys/smiley17.gif" border="0" align="middle">

  • It seems to work fine with current C2 versions if you edit the runtime.js a little.

    Search for all occurences of "cr.plugins" and add an underscore, so it'll be "cr.plugins_". I think it just appears four times at the beginning of the file.

    Found it! Thanks bud.

  • Whew... That makes me feel better. <img src="smileys/smiley14.gif" border="0" align="middle" /> I did not check to see if anyone else had posted about this, so sorry if you all did...

  • I am not sure if this is happening to anyone else, but ever since downloaded the fist copy of Construct 2, when I create a new C2 File, in the New File window, "Stores part of the project..." text overlaps location text box for the project folder. See link below for image of window.

    box.com/s/szubghfaigtb0s2q9vji

    Is it a resolution setting issue for just me or something. I have updated about 10 c2 Upgrades, and it has never fixed itself.

    Any thoughts?

  • Try this:

    http://dl.dropbox.com/u/5426011/examples%209/mazegen.capx

    The maze size is determined by the array size. Adjust the repeat condition if the whole maze is not generated.

    -cheers

    Getting a plugin fault.   Anyone else getting this?

    Assertion failure: cr.plugins not created

    Stack trace:

    assert2((void 0),"cr.plugins not created")@http://localhost:50000/preview_prelude.js:12

    ://localhost:50000/dataStructs_plugin.js:5

    (Already posted this in the plug-in forum, but just curious.)

  • OK, So I downloaded this little plugin to view an example CAPX for maze creation. However with r80.2 I am getting

    Assertion failure: cr.plugins not created

    Stack trace:

    assert2((void 0),"cr.plugins not created")@http://localhost:50000/preview_prelude.js:12

    ://localhost:50000/dataStructs_plugin.js:5

    Any Ideas? (I placed the folder in the Plugins folder...)

  • When you imported the egg image into the sprite, did you face it to the right? The Sprite's default angle is right...   If you are using Physics it might me your gravity? Maybe you can post a Capx we can look at?

  • I never tried this, but I am currently trying to create a map generator, so i will try Tutorial and get back to you - If no one else does :)

Zetar's avatar

Zetar

Member since 19 Dec, 2009

None one is following Zetar yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies