Dseipp's Recent Forum Activity

  • Thats excellent, works great, thanks you very much for your help with this, spent ages battling with it

  • Hi, thanks for that, I have done the additions and its still not doing anything, I've done a quick .capx with just the glove elements and the code we are working on

    https://www.dropbox.com/s/81711k8dx6tsyld/glove-test.capx?dl=0

    Hope that helps, thanks again

  • Hi, thanks for the reply. I have tried doing that (I guess I've done it totally wrong) attached a screenshot of the event sheet

    Also I couldn't get the last 'set animationframe 0' bit to work, I can send you the capx file if that faster / easier

  • Hi, I have a button that controls a different sprite (animation) and it steps forward one frame, all working fine but I want it to loop back to frame one when it gets past the last frame, code I've got looks like this

    touch | On tap gesture on eyebutton | eyesani | Set animation frame +1

    The actual animation for 'eyesani' is set to loop but it wont do it for some reason, any ideas?

    thanks

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Thank you :) That works perfectly. Thanks for your help - cheers Dave

  • Hi, I'm using as a base a quiz kindly supplied by dop2000 https://www.construct.net/en/forum/construct-2/how-do-i-18/please-help-project-138137

    I'm trying to add a different image on stage for each question and have created a sprite in the game with animation frames (1 to 6) and have added that image at 'On start layout' and set it to 'Set animation frame to 0' (it shows fine on running the layout)

    On 'Answer is correct' I've added the image again with Set animation to frame 5 (and that works fine, it jumps to 5)

    What I'm trying to do is get the sprite animation to step one image forward on each correct answer, eg

    question1 = sprite1 animation-frame1

    question2 = sprite1 animation-frame2

    question3 = sprite1 animation-frame3

    I've tried using the 'On start layout' and set it to Set animation frame to 0 and then on the correct answer adding the sprite with self.animationFrame+1 but for some reason it wont change.

    Any ideas

  • Your a star!! That works fine, thank you. I have spent ages trying to fathom it out. I've looked at other capx files (they do it a different way) and googled etc. I was aware what the 5 was from changing the number and testing it.

    Thank you again, thats really helped me out :) - cheers Dave

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Dseipp's avatar

Dseipp

Member since 5 Nov, 2013

None one is following Dseipp yet!

Connect with Dseipp

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies