Minor's Recent Forum Activity

  • 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".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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]

  • 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.

Minor's avatar

Minor

Member since 24 Jul, 2009

None one is following Minor yet!

Connect with Minor

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies