Antylope's Forum Posts

  • Yeap.

    I use c2 in 3 PCs (notebook, desktop and Job's) and I have my project in my google drive folder so it syncs every time I turn on any PC. The problem is that Google Drive shows as ticked (synchronized) some files that aparently aren't and it looks like some files of the project (like the files indicated in the pop up) where still synchronizing when I tried to open the project.

    When I press "Omit", another Pop up asked me for another missing file (an xml in this case). If I press on something I would translate as "Void", the program crashes.

    Once the sync was finished, I tried to open the caproj and it worked fine.

    Not sure if you need any other data.

    bye and thanks again!

  • Sorry, It was a sinc problem with google drive. It works now, sorry for the false report. You may delete this post if needed.

    Thanks anyway!

  • http://s10.postimage.org/wgcxnua93/bug.png

    I'm affraid this corrupted my file and I'm not sure how to open it.

    The back up look to be useless too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I support this suggestion!

    Just wanted to say it

  • THANKS!!!

    I also learned that a group inside another group counts as a whole block (despite of events being independent)

    Ok, thanks for your help, it works now.

  • Damn. I've tried that when Ramones told me but still not working. I've checked the capx of Nimtrix and the only difference is how the objects are created (instead of "on start o flayout" is a variable comparison).

    I'll ceck it out later but I see the calling is not the problem.

  • Not sure to get it. I tried to add the event you say but by it self it doesn't do anything. Tried to attach it the rotation events as sub-events but nothing.

    Could you explain a little?I'm stucked in this since yesterday.

    Thanks!

  • Sorry I may get offtopic but I didn't want to create another thread. I'just want to know what I'm doing wrong trying to pick instance by number.

    Here's what I have

    <img src="http://img209.imageshack.us/img209/9838/bohscrtrainingbox.jpg" border="0" />

    In event 47 I create several platform instances.

    In events 48/53 I try to rotate some of them but only 1 (the one with the 0 IID) get modified. Why the others don't?

    bye and thanks!

  • Hi! After almost 40 minutes I figured out that, for a countdown to work, the variable should be global. Why is that? Why the variable can't be local for this to work?

    antylope.com.ar/countdowntrouble.zip

  • Thanks, it works perfectly.

    But, let's be clear.. the manual isn't a InDeep explanation of the functions and is not even close. Lot of information that could be clearified in the manual is actually in the forums (even this simple function to prev and next an animation could be cleared out in the manual in the Animation controlling section).

    Either way,I'll check it out in the future just in case.

    bye

  • On Next pressed
      -> Sprite: Set frame to (self.frame+1)%self.Animationframecount
    On Prev pressed
      -> Sprite: Set frame to self.frame = 0 ? self.Animationframecount-1 : self.frame-1
    

    Should work fine

    I'm trying to use it but it says

    "frame" is not an expression or instance variable in "Object"

    Any idea?

    Thanks anyway!

  • You can use the animation controls within the sprite object:

    Event: On Button press -> Action: SpriteName -> Set frame (Frame number)

    EDIT// On re-read, you want a function that goes to the next frame instead of a specified one? Like AS nextFrame? That one I'm not so sure, you could manually specify each frame using the set frame action, but this may not be what your after

    jajaja, sorry, didn't saw the edition. I guess that I should set every posibilty but I'm sure there must be an easier way to do it. If it isn't I would suggest it's integration for the next launch.

  • Event: On Button press -> Action: SpriteName -> Set frame (Frame number)

    But I should cover all the posibilities in events and actions? I mean, If the object is in frame 2, the prev button should set it to 1 and the next button should set it to 3, but, if the object is in frame 3 the buttons will still work like if it was in 2.

  • I swear I search in the forums and tutorials but I coudn't find the action that let me set an animation to a previous or next frame.

    I'm making a prev and next buttons that, when clicked, will change the frame of an object; how can I do that?

    thanks!

  • Thanks for the example Yann, it works great!