Somebody's Forum Posts

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

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

  • Double click the sprite in the editor window or right click it and pick Edit Animation, no?

  • Your best bet is to export as series of PNG files with full Alpha channels and then just import the sequence in the animation editor.

    You can use some 3D models using the 3D object, but they are a bit clumsy and don't really have any lighting, etc. Construct is mostly a 2D game maker.

  • Uh, how exactly should it "check if you loaded the prequels save file"?

    I mean it is, after all, but a program, it cannot guess what it is doing or what you want it to do. So there cannot be a magical something that will realise it is a sequel or a prequel or whatever and just take some data from somewhere.

    The creators of Mass Effect, for example, clearly had to spend a bit of time in putting these variables into their savegames and then making something that parses this information and makes the necessary adjustments for the sequels. It cannot happen "automatically" - it's up to the user to use the tools provided (like Kyat mentioned, webstorage, for example) to save the data and then see if it's there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, you could always use AJAX calls to store some data on a server or such, it's not really something that the authors need to implement, but rather what you as the creator of a game need to do.

  • Do provide a capx so we can have a look. As for a white background, I guess you mean transparent - that's just a case of drawing them in something that supports alpha transparency (so make png's).

  • You may want to give your platforms private variables. And then, select them by those variables and show/hide them.