Arcticus's Forum Posts

  • I know there's plenty of these already, don't wanna kill ash <img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" />

    But something nice I would like to eventually see in the animation editor is something similar to the click interface where there is a radial representation of what angle the animation is assigned too.

    Also I would like to be able to change the animation speed at realtime using a value from 1-100 for example:

    Runner.animspeed = runner.value('Acceleration')

    On a side note, is there any difference between an animation and a sub-animation? I don't understand them as yet.

  • No worries <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /> I figured if it's always been a problem for me, it's probably been a problem for someone else

  • Actually I think it has something to do with the vertical size of an event, I put a really large one in, and now if I scroll down I can only see like 2 events <img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" />

  • It's getting annoying watching all my events disappear the further down I scroll through them..... <img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" />

  • Is there a way to count and/or compare the amount of certain objects in the layer? If not, there should be later <img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" />

  • Hey, I'm making my own 'physics' engine type thing that I will apply to a semi-isometric game. In any case, a big problem for me was finding a way to get objects to bounce properly.

    Whenever I encounter a big problem, I make a new little example that focuses entirely on that problem till I work it out.

    In any case, while most of you might not find this very useful, I'll put it here for anyone that wants it. Plus I think it's kinda cool <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy">

    Of course it only works if you know the angle of the wall you're bouncing off.

    http://www.fileshack.us/get_file.php?id ... =Angle.cap

  • Yeah like for example my code is similar to this:

    1 If private variable "moving" = 1

    Set animation to "walking"

    2 If private variable "moving" <> 1

    Set animation to "Default"

    And all I ever get is default, even when "moving" = 1.

    Am I supposed to set the animation AND play it? cause if I do the same thing happens...

    Hmm I just tried what I put there, if I put a trigger once while true event in it seems to work. FINALLY, perhaps it was constantly playing the animation from frame 1 and before frame 1 was finished it had restarted the animation and my frame 1 of walking was the same as frame 1 default...

    I guess that explains it!

  • Am I the -only- person not able to get anything animated?

    No matter what my conditions are, the only animation I can get sprites to play is the default one.

    Also don't get me started on how clunky the animation editor is, but I'm sure it's getting fixed. I can't delete animations, or preview them, reorder them, copy or paste them (unless I do it frame by frame), also what's the difference between an animation and a sub-animation? In any case, I'm sure this has all been said before so I digress to my original problem..

    Anyone got something to help?

  • yaay!

    Thanks Ashley and anyone else involved!

    That's all <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" />

  • Ok, it's a little tricky to explain, not to mention I suck at forum examples lol

    For the While loops, it will basically keep looping until whatever condition is in the event along with 'while' doesn't happen anymore.

    For example:

    1 while

    player overlaps obstacle

    • change Y to player.Y - 1

    (or 0.1 if you wanna be super accurate)

    The loop moves the player up a pixel each time through the loop until the player is no longer overlapping the obstacle.

    The other loops like 'For' are a little more interesting and I -think- they require the use of sub-events, although are harder for me to use. Basically instead of the loop repeating until a condition is met, the loop runs a predeterminded amount of times.

    For example:

    1 For "move" = 1 to 10

    2 --(subevent)When Right Arrow is down - player.X = player.x + 1

    The result is what looks like the player moving to the right in increments of 10 pixels when in fact it's moving one pixel at a time

    That's all I learned from playing around with the loops in construct, I'm still working it all out though lol!

    Hope that was helpful

  • lol nevermind, I figured it out <img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I'd like a little help with using loops, specifically While loops. I can't for the life of me work out how to structure it or anything... I dunno what has to be a condition or a separate event or anything.

    Any help with loops would be gladly received <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" />

  • Perhaps I didn't explain myself well enough, you're solution doesn't account for angle, what I want to be able to do was to move the object relative to itself, as in, move the object to ITS left rather than just left on the screen. Anyway come to think of it I could probably just do a cos and sin thing but it'd be easier if it were built in

  • Moving an object relative to itself is something that I used to find really handy when using TGF/MMF. A similar function would be cool in construct, unless there is already one and I haven't found it <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

    By moving an object relative to itself I mean, for example, a character always looks at the mouse, pressing A would make it strafe to it's left regardless of what direction it's facing.

  • <img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" />

    I made a little .cap file that tried what you just said, I can email it to you if you want.

    But all that happens is anything in the else event happens ALL the time and the event above it does nothing.

    At least that's what happens on my machine...