seanwatson91's Forum Posts

  • blackhornet, Thank you sooooo much. That is perfect. You are the man. Still getting my head around what you've done, but it works perfectly. I can't thank you enough.

  • Bump

  • Hey Niko, the issue not having the same frame appear at the same time. What you suggested makes sense, but doesnt see, to work because when the call is made for an instance to move up, it doesn't always happen 1 at a time. So if 3 get called to move up and I tell it to display frame 3, all 3 instances come up as frame 3.

    I need a way to talk only to one of the instances at a time. Really not sure if that makes sense. If you have a look at the capx file it should make sense.

  • Hi Guys,

    I've posted before about this problem but having some trouble with a whack a mole game i'm creating using sprites which pop up into windows.

    The way i've created it is shown below in the construct 2 code.

    I understand using arrays is going to be the way to do this but i am struggling to get my head around how to use them in this way.

    I will outline exactly what i am trying to achieve.

    -I want 16 different sprites

    -The 16 sprites pop up into 9 different windows

    -I want the sprites to appear every 0.7 seconds with a MAXIMUM of 3 sprites at once

    -I do not want the same sprite to duplicate itself (for example if the sprite is already up i do not want the same sprite twice)

    -The sprites which appear every 0.7 is randomly selected from the 16 sprites.

    • I want the sprites to pop up into the window and not just appear

    I have attached the CAPX file which i hope with give some clarity on what i am doing.

    Thanks so much guys, i've received some brilliant help so far here.

  • Cheers guys i got hold of Magicam and create a really simple zoom, its perfect. Cheers

  • I want to be able to create a zoom with the camera which gradually zooms when i press 'start' on my game. (zooming in from a wider scene into a smaller area).

    Lerp doesn't seem to be working for me. Any other suggestions?

    Thanks

  • Try now... I deleted spritefont..

    Spritefont+

    Thanks man really appreciate your fast reply.

  • ,,,,

    Hi Mate, you used a plugin called spritefont + which i cant seem to locate, can you help me out? Cheers

  • Someone must know! Check out the xcap please

  • Bump

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • An array would help you with assigning unique animation frames to your sprites. Something like the attached file should work.

    Thanks Magistross, I have had a look at your file and we haven't used arrays. I've attached the capx file of ours (the characters used are just placeholders at the moment) can you take a look and see if we are doing this a silly way, and if using arrays is easier... We want the characters to pop up and not repeat themselves whilst the same character is still visible.

    Any other people willing to help would be great... cheers

  • That would be great.

    I assume it needs an action so that when x is visible then do not repeat that number , but don't know how to apply this in construct

  • Plus this one

    https://www.scirra.com/forum/viewtopic.php?t=64056&start=0[/code:1dcjbsv3]
  • https://www.scirra.com/forum/viewtopic.php?t=67794&start=0[/code:vskw5e0s]
  • Brilliant cheers Rjan,

    That has randomised them appearing however when just using 3 different characters some of the same character appears twice coming out of two different windows. How can i adjust this so that a character will only show out of one window at a time ?

    Hope this makes sense, if it doesn't i can try and explained better.