DonnyCrash's Recent Forum Activity

  • Hi there,

    I don't know if this will help..

    Add an instance var to the red buttons as well as button_place in the editor changing the var to a unique no. so the first red button would be 0

    <img src="http://s20.postimage.org/mnuvh8ial/help2.png" border="0" />

    next depending on what you want to do you can add sub conditions to your overlap...

    <img src="http://s20.postimage.org/4z7q3cvx9/help1.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No Problem.... Enjoy!

  • Hey Hey,

    a random() argument takes in two numbers. so for eg.

    random(0,5) will pick a number between 0 and 5 including float numbers.

    and if you want an int its the same story as your previous posts floor(random(0,5))...

  • Sorry, i was just thinking their is an easier way..

    all you do is add floor() to all of your equations to round them off eg.

    floor(ticker % 32 / run_speed)=0

    that also works

  • Hey there, Figured out your problem...

    in line 7 & 8 instead of saying ticker%32/run_speed = 0 add two conditions.

    if ticker%32/run_speed > -1      &&

    ticker%32/run_speed < 1.

    Purely because by changing run_speed to 5 you are returning a float value which is not = 0. Hope that helps.

    What will happen is you will have gaps between your created objects so just change their width to 64px.

    Peace

    DC

DonnyCrash's avatar

DonnyCrash

Member since 23 Dec, 2012

None one is following DonnyCrash yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies