0plus1's Recent Forum Activity

  • Ahhhh now I understand from the example, I couldn't find the configuration while I should've made an action. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm trying to rotate 5 objects, 4 o them are around a central one, if I rotate them at the same time they all rotate on their axis, is there an easy way to "attach" a sprite to another to a certain point?

    Thank you very much for your time

  • So this lead to the next version, what is the correct way to "animate" a sprite from opacity 0 to opacity 100?

    Thank you Weishaupt

  • I made a cycle inside the On start of layout.

    Repeat 100 times

    • Wait 1.0 Seconds
    • Add 1 to Variable

    It waits one second, then Variable goes to 100 immediately.

    In my mind it should go from 1 to 100 in 100 seconds! Why it doesn't do this?

    Thank you

  • Good to now! Thanks Again!

  • Bump?

  • If someone who doesn't know how this works.

    -20+floor(random(2))*520 (this is the right formula in my case)

    a general would be

    You need number X or number Y

    X+floor(random(2))*(Y-X)

    p.s. Thank you very much ranma

  • I see that the tough laws of mathematics always rule over our world, never though about doing it like this!

    Wouldn't your example yield -20 or 480 though?

  • I'm creating objects every second, two types, both of them spawns (potentially) infinite objects:

    Is touching objectOne

       - Set Touched = 1

       - set t_TouchX_s = Touch.X

       - set t_TouchY_s = Touch.Y

    On touch end && Touched == 1

       - Set Touched = 0

       - set t_TouchX_e = Touch.X

       - set t_TouchY_e = Touch.Y

       - objectOne Physics Force distance(t_MouseX_s, t_MouseY_s, t_MouseX_e, t_MouseY_e) toward (t_MouseX_e, t_MouseY_e)

    This applies the force to ALL objects of that type. How can I make it that it applies the force only to the one I originally touched. I understand that I could set the UID in a variable, but that would mean destroying the multi touch! And things gets a lot more complicate since I have two types of objects.

    Anyone has a solution?

    Thanks

  • I need to get a random number that is -20 OR 500, not a range, I need it every tick.

    I already tried with the | operator but I don't think it works this way <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thanks

  • I don't want to open another thread, but has anyone tried physics on the iphone? I made a couple of test and I get really really low fps for only a couple of objects, is this normal, has this improved on ios5 (I'm still on 4.3)?

    Also, when you talk about dpi you are talking about sprites? Or is there a way to force a specific dpi in the layout?

  • Thanks Ashley, the testing with the mouse is ok, but since html5 is a hit or miss on mobile devices (and I go on record saying that I tried most of the js framework and construct2 is by far the best performance wise) I was searching for a way to test several little aspects to improve performance and having the http server instead of dropbox would be much much faster.

0plus1's avatar

0plus1

Member since 29 Dec, 2010

None one is following 0plus1 yet!

Connect with 0plus1

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies