Bonesey's Forum Posts

  • As manarsoft said, use the set animation action under the sprite when the key is pressed to run. Also for most platformers (which I assume you are making) you only need 1 animation for running, and then set "mirror sprite" when walking in one direction, and "don't mirror" for the other.

    Hope this helps

  • Only give the family that has ALL the bug types the behaviors you want them ALL to have. If the 1-5 family has the behavior, all the objects in the family have the behavior so adding the behavior to the 1-3 and 1-4 types is redundant. You would only use the lower level families to spawn the bugs while the higher family would do all the processing.

    What he said ^^

    Also I would like to add that you may only need 1 family for all of the bugs, then add/check for an instance variable to determine what type of bug it is

  • What about:

    System -> On Load Complete ---> Go to layout "whereEver"

  • I am also having the same problem.

    And letterbox scale does nothing because cocoonjs defaults to scale outer.

  • I am on my phone so sorry I can't give you a more thorough example but...

    What you want is to call a function with the family UID as the parameter when a collision is detected.

    So it should look something like...

    Condition

    PsyAttacks on collision with ZombieFamily ---> Call function "zombieEffects"(ZombieFamily.UID)

    And then create that function

    On Function "zombieEffects"

    ZombieFamily pick by UID (function.param(0)) ---> do fancy effects

    Hope this helps

  • Make an event for the text box with this:

    Every tick --> Set text to: XP&"/"&LevelUpXP

  • Like Tom said, 100 events can actually do quite a bit. But if you are serious about game development, $100 for a personal license isn't really that much in the long term.

    While I was playing around with C2 using the free version most of the prototypes I made rarely needed more then 100 events. The reason I ended up buying the full version was actually for the Families feature which allows you much more freedom to make games with even less events.

  • Hey Richard!

    I dont have any experience using LOS, but comparing distance in a "For Each" loop instead seems to do what you are looking for.

    Does this work for you?

    dl.dropboxusercontent.com/s/pbcfbq8xttgicx5/ghost%20shooter%20v1test.capx

  • I just want to say thank you to ArcadEd for all of these helpful courses! I am just starting out with C2 and so many of your lessons have already helped me improve greatly. Looking forward to this one for sure!

  • Very cool! Thank you for sharing this   <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you right click on a condition you can select "Invert" which does what I think you are looking for.