vee41's Recent Forum Activity

  • Hello!

    Once you create a family, how to create all the pieces together, at the same time?

    thank you very much! <img src="smileys/smiley2.gif" border="0" align="middle" />

    Based on that description it sounds more like you should be looking into containers instead of families.

  • I was referring to vee41, but thank you!

    Fixed it, shows pretty much the same thing people posting after me did :)

  • Here's an example how to handle collisions between same objects:

    Evil sprites

    Has some variable comparisons too.

  • Pathfinding could be adapted to solve that :)

  • Thanks keroberos. That is what i'm doing now but I feel it's not the best way.

    vee41, Thanks. I think that's the correct approach but my problem is when i enable the effects, all objects are affected. Do you have a working example to share?

    Thanks,

    -morex

    Heres a quick demo:

    Evil sprites

    The last event is function you can call to enable/disable effect in certain situations, you could easily adapt something similar to your own project.

  • You could have one object and create multiple instances of it in the editor (ctrl drag object in the layout). Then, either:

    a) disable effect in the properties of one instance.

    b) give object an variable like 'effect', which you can use to see which object should have which effect enabled. Set up events to disable/enable effects for objects based on this variable. You can then use this variable to set effects properly during the play.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • > Put both 'isMusic' checks under the same 'on touch'

    That seems to do the same thing, unless I move the zero check first I think :) (because of top down order of reading it)

    So better to use an "else"

    Thank you :D

    onTouch

    .. if isMusic = 0

    ... Do stuff

    ..else

    ... Do other stuff

    Should work :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The first event toggles it to 0, activating the second event as well. Put both 'isMusic' checks under the same 'on touch' events, and use 'else' on the second one.

  • Checkout Nickname plugin, it allows you to refer objects via strings.

  • Whole event sheet is calculated each tick. No need to worry about concurrency with C2. :)

    So at timetick A, function would start executing and the timetick would last the whole 300ms. At timetick B the function would execute again, and timetick would take again as long as calculating the whole event sheet takes.

vee41's avatar

vee41

Member since 12 Apr, 2012

None one is following vee41 yet!

Trophy Case

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

Progress

14/44
How to earn trophies