Sjryan's Forum Posts

  • Thanks for all the advice guys! There are a couple good solutions there, I did look at that .capx example and that was great fun to try and deconstruct.

    I did get the array to work as above but encountereed a problem where the array wouldn't reset back to its original values on the restart if the game was failed? I had to refresh the preview page for it to reset fully. I had the 'Set Value' under 'On Start of Layout' so couldn't figure out where I went wrong there.

    I've ultimately decided to go with the instance behaviour solution though as it worked first time for me!!

  • So I tried this but It was more just guessing than anything, I still can't quite get my head around it!!

    I'm sure you can see that didn't work either I was trying to 'Pop' to the next object but that didn't work! In fact, it didn't even fire at all!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the advice guys, I'm slowly wrapping my head around it by watching some Youtube videos! I still havn't quite worked out a solution yet though.

    This was my attempt at an ugly workaround, I ran into trouble though when adding the third arrow, it fires at the same time as the last green one.

    So I understand that I can set values to certain numbers on X in a 1D array, I just don't understand how to set say 0 = GreenArrow, 1= Red etc and then edit the sequence for each level!

    I'll keep playing!

  • Hi Guys,

    I'm a newbie around here, I've been playing with construct for a few days now and I've got stuck on this game I'm trying to make!

    The basic problem is: I want to be able to spawn a list of different color bullets to fire from my turret. The turret is in a fixed position and is currently spawning on touch, kind of like a bubble shooter mechanics I guess.

    So for instance, I want it to shoot: Green, Green, Red, Red, Blue then Red - I would want to modify this for each level.

    Ideally I would also like to be able to show the color of the current bullet and the next one below at the turret point like in the attached picture.

    I've thought of maybe using Global Variables to trigger different Animations and looked at a bunch of other stuff but feeling a bit lost, if someone could point me in the best direction to look it would be much appreciated.

    Thanks!