Minor's Forum Posts

  • Here you go working as expected.

    [attachment=0:2qo4ljel][/attachment:2qo4ljel]

  • It works here like I suggested.

    [attachment=0:14yb6zi1][/attachment:14yb6zi1]

  • Quick example of how to set different timers for an enemy to control jumping.

    [attachment=0:29svcvtb][/attachment:29svcvtb]

  • When I have done this type of thing I have used the "up" & "down" arrows to just add and subtract from 1 variable. Then use this variable to decide what menu item is selected.

    Also without opening Construct wouldn't it be better if you had one "up arrow" pressed & one "down arrow" pressed triggers and then the "selected=" tests as sub events.

  • Fair enough but the capx shows how to use "overlapping at offset".

  • I made a basic enemy platform AI capx for my blog - HERE

  • Use set text and the following should get the result you are after Egg_answer&" + "&Cannon

  • I've only scanned the previous posts so sorry if this isn't what you are after, or has already been suggested but I've made a small example.

    [attachment=0:2pob853n][/attachment:2pob853n]

    Again might not be what you are after but it's late and I'm not feeling 100%.

  • Sorry I don't quite understand what you mean.

    Shouldn't your score be 0 at the start?

  • I have no idea

    I've just checked again and I made a mistake setting the variable but it still works

    Must be magic

  • Something like this?

    [attachment=0:14auh0hk][/attachment:14auh0hk]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to add a new variable like in my example and call it "object_create". Whenever you add points to your score also add it to this variable. So for every time bounce you add 1 to "score" and 1 to "object_create".

    Like in my example compare when "object_create" is equal or greater than 10. Create your "gold object" and then subtract 10 from "object_create".

    I can't do any more really you have my working example you have to add that to your game.

  • Like I said I have

    no idea

    what type of game you are making, how your scoring works or how many points you get for doing anything.

    I used "every 1 second" because it let me add a number of points to a score which then let me show you how to create an object for every 10 points scored. What you need to do is include my method of checking for "every 10 points" into your game & scoring system.

    With the information given neither myself or anyone else can do any more to help.

  • Here is what you are after.

    [attachment=0:3gdnkb13][/attachment:3gdnkb13]

  • round(yourvalue*100)/100 will give 2 decimal places.

    The number of 0's is the number of decimal places so round(yourvalue*10000)/10000 would be 4 decimal places.