mindfaQ's Recent Forum Activity

  • rightclick the event and add another condition (the one he mentioned)

    use system compare 2 values for that condition

  • CSVtoArray is a Construct 2 plugin. I can write the dialog lines and actions into a table in LibreOffice Calc or Excel, then import the contents into Construct 2.

    My data looks like this:

    <img src="https://www.scirra.com/images/articles/03_5.png" border="0" />

    you see only few fields are filled. Only the filled cells will be processed. The empty ones will be set to -1 in Construct 2 and thus be ignored by the code via a simple condition.

    If you later on wanna add or remove lines inbetween, this is easy to do in Excel/Calc by adding/removing rows.

    And as you said - you could also add a column that tells the script whether to completely ignore the line or not.

    I am at the fifth page of my tutorial, but all the explainations make it really long - so I've paused the writing atm.

  • I've prototyped a visual novel engine for free Construct 2 (intended to write a tutorial for it) and just put everything into one array. Worked well, imported via CSVtoArray and blank fields are set to -1 and ignored later in the script.

    Why would you need to remove anything from the array in the process? Modify maybe, but even that is not really necessary oO.

  • If you have 20 frames ranging from 0 to 19, you need to scale it properly. (set size to 20,1,1 and use random(20-loopindex))

    You don't need the helper2, it is not used (was just a leftover)

    I am not really sure what you want to achieve with the spawning. Do you have all possible sprites covered? Or maybe you have some overlap? (you could test that by setting the opacity of the slice to 50, as you could notice when 2 congruent pieces are on top of each other)

  • The solution proposed may work if you only wanna spawn two sprites, but not with more than that.

    This would work with as many as you like.

    s000.tinyupload.com/index.php

    <img src="http://666kb.com/i/cj935bhtsbtsqknck.png" border="0" />

  • Give the rotating part of the turrent the behavior, pin or place or container the rest to the position of the rotating part, adjust z order.

  • Look at the Plugin's topic, everything is covered there.

  • 8direction-movement-behavior with only left and right movement

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • add an event: health > 100: set health = 100

  • 1) Look up the CSVtoArray Plugin, this is an easy way from spreadsheet to construct 2 imo.??2) array.at(x,y)??if you wanna search arrays, use compare value or for each x/xy/xyz. If you wanna select only certain rows / columns, use system compare: array.curx = x or array.cury = y and things along this line??????? and y being your indexes

  • Maybe stop the sounds in a "load complete"-event.

mindfaQ's avatar

mindfaQ

Member since 12 Oct, 2013

None one is following mindfaQ yet!

Trophy Case

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

Progress

13/44
How to earn trophies