newt's Forum Posts

  • Animmaniac

    Ashley

    When you load the image the first time would be sufficient imo.

  • Yeah, and it should display nicely in text as well.

    I do wonder if |, or a single character would be faster.

  • Interesting, I wasn't aware newline could be used as the deliminator.

  • Agreed, bounding box as a default would be nice at least.

  • Unless you were to do something like that in CC, which is actually doable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nerf Vulcan?

    Live long and eat my darts?

    Anywho Merry Christmas all.

  • Other than making pre-rendered images like the one you posted its just not feasible right now. It might be possible in the future using webgl.

  • Take a look at the image and animations editor it has an option to select multiple images, and you can also import as a strip.

  • You can also use for each.

    The collision will act as a filter, if you do the for each after the collision condition. You can then use loopindex to pick in actions.

    +>Sprite on collision with sprite

    ->for each sprite sprite set value to loopindex

    Then there's also picking by position(closest).

    +>Sprite on collision with sprite

    ->sprite pick closest to 0,.y

    -->pick closest to .x,0 do stuff

    ->sprite pick closest to layoutwidth,.y

    -->pick closest to .x,layoutheight

    That works since usually two object don't occupy the same xy on collision.

    Edit:

    Didn't read Tula's last para, so yeah what he said with loopindex for good measure.

  • Not sure exactly what you mean, but what you described would look like:

    +-global.value(canspawn)= 1

    ->every 3 seconds system create object sprite ant x,y

    -->sprite set value life to sprite.value("life")+ global.value("life")

    Thats with global.value("life") set to 0 initially.

    When you create the boss set the global to the "updated" value, you can also change that value when you destroy the boss.

  • So just use a global. Change the global when you spawn the boss. IE spite.value + global.value.

  • When you create objects, those objects are automatically picked.

  • Just a heads up.

    Since setting color has to be a string you cant use variables, or loops like "rgb(loopindex("r"),loopindex("g"), loopindex("B"))"

    The quotes within quotes makes C2's error checking kick in.

    You can use double quotes, and it will be accepted, since its a string, but the browser cant make heads or tails of it. IE loopindex(""x"").

    What does work is concatenating everything into one string like:

    "rgb("&loopindex("n")&","&loopindex("n")&","&loopindex("n")&")"

    Or

    "rgb("&array.at(loopindex("x"),loopindex("y))&","&&array.at(loopindex("x"),loopindex("y))&","&&array.at(loopindex("x"),loopindex("y))&")""

    and if you want to use values above 255, or below 0.. which you cant use

    "rgb("&clamp(array.at(loopindex("x"),loopindex("y),0,255)&","&clamp(array.at(loopindex("x"),loopindex("y),0,255)&","&clamp(array.at(loopindex("x"),loopindex("y),0,255)&")""

    Yeah, maybe I'll go learn to use hsl now.

  • <img src="http://images.memegenerator.net/instances/280x280/9288087.jpg" border="0" />

    Um, yeah, its kinda like that.