California's Recent Forum Activity

  • use Flip action on Left press

  • You probably aren't clicking far enough to the left on your event to get the Add/Else menu. You are clicking on the condition.I find that annoying, I even submitted that as a bug, I'd love a more intuitive way to get the Add/Else menu.

  • the align menu has too many options, and makes one stop trying to understand them. A simpler menu should get faster desired results.

  • thanks paradox too!

  • > Hi Phaze, something like:

    >

    > creating sprite particles

    > or

    > calling arrays

    >

    > I saw that including "CodeSheet" in another sheet automatically executes anything inside them, but I'd like to know how to call code from CodeSheet, that is, how to reuse code inside a current Layout sheet, like

    >

    > current sheet: GameSheet

    > Event: On destroy: Create particles (call code stored in CodeSheet)

    >

    > hope I explained myself.

    >

    If you've included the sheet which holds the event you wish to run, you don't really need to 'call' it in any manner. What including an event sheet to another does, it basically pastes all it's content to the other event sheet.

    So in your example, if you included an event sheet with trigger : On particle created, it would trigger when the destroy event in your other event sheets runs and creates particles.

    so you're saying, if I have

    spriteDude

    and includedCodeSheet has

    spriteDude on click: destroy

    spriteDude on click: spawn dust particles

    that will work?

    <img src="smileys/smiley3.gif" border="0" align="middle" />

  • Hi Phaze, something like:

    creating sprite particles

    or

    calling arrays

    I saw that including "CodeSheet" in another sheet automatically executes anything inside them, but I'd like to know how to call code from CodeSheet, that is, how to reuse code inside a current Layout sheet, like

    current sheet: GameSheet

    Event: On destroy: Create particles (call code stored in CodeSheet)

    hope I explained myself.

  • you need:

    on ballID1 click:

    set globalVariableAffectColor = 1

    set colorFrameVariable = ballID1 frame

    and an event:

    True on globalVariableAffectColor = 1

    inside the event:

    on ballID2 collision with ballID1: set ballID2 frame to colorFrameVariable

    set globalVariableAffectColor = 0

  • To learn from

    thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is all fantastic news! Now, if only we could convince them to incorporate WebGL...

    So apparently Nintendo and Sony are both seeing that indies without giant corporate overhead may be a safer bet in the not-too-far-off future. Seconded, no one is too big to fail, SquareEnix just announced a 100 million loss...

  • Claws, I've seen some nicely priced Asus ones

  • What title says, delete unused stuff from the .capx

California's avatar

California

Member since 4 Mar, 2013

None one is following California yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies