Somebody's Recent Forum Activity

  • Sure is progressing nicely. I'm still waiting for the proper new interface, though.

    Oh, and labels! :)

  • This is WICKED cool. Thanks, Rojo!

  • I mean this:

    <img src="http://images.devs-on.net/Image/1M0izDV0KOVebbH-Screen1.png" border="0" />

    But really, if you share a capx (or at least a screenshot of your events) we can help, otherwise it's a guessing game.

  • Works here as well.

  • Post your capx, otherwise it's kinda hard to guess what exactly you are doing to check the value of the random.

    Also do note that the random number will be between a and b-1 basically.

  • Most likely a problem with global/private variables. It's a bug in r66, just update to r67.

  • Also tried Admin mode before reading this - no Waffles!

    Edit: Did a full HDD search, no Waffles anywhere.

  • Should have given the already mentioned here and also in chat TeamViewer a try. Rumour has it it does just fine with OpenGL or whatever's on the screen. Perhaps not, but worth a try.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmm, you probably want to make some sort of private variable, say a Boolean named "Active" that you set when the object is clicked on and then when the mouse is clicked again you select the object with the "Active" bit set to True and make it move towards where the mouse is. When you click an object you just set the "Active" to false for all objects and again to true for the one that was clicked on.

    There may be a more efficient way, but this is what comes to mind.

    PS. Forgot to mention - there's currently a critical bug in the latest (r66) C2 that crashes if you work with private variables so if you haven't installed yet you are good to go or, if you have - tough luck.

  • SoldjahBoy... n00bface :D

    Says the man who's fault this whole thing is! <img src="smileys/smiley36.gif" border="0" align="middle" /> To those who didn't know it was Yann who suggested the awesome Variable Description feature that's clearly responsible for all this misery.

  • Crashes dead on doing something with instance variables in events, but at least global ones work ok now (got an error message then crash previously).

  • I see. Your topic title and explanation wasn't exactly clear.

    In CC this worked by having angles for all the animations, which seems to be missing in C2. So my idea was to just have the animation frame correspond to angle and then you could animate it using events.

    So far, so good - we decide to have, say 16 directions, which gives us 360/16 = 22.5 degree increments, thus our animation frame is round(Sprite.Angle/22.5).

    And it works, BUT C2 seems to lack a great option from CC, which is the option to not turn the sprite when the angle changes (maybe I'm just missing something).

    So what we currently have is the animation is being set correctly, but the object also rotates by itself, so it doesn't look right. Anyhow, the demo is here.

    If Ash implements NOT turning the sprite on angle changes we are good to go.

    Edit: Lock animation angle is the option from CC that C2 really needs.

Somebody's avatar

Somebody

Member since 12 Feb, 2010

Twitter
Somebody has 2 followers

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies