Freddy33's Forum Posts

  • Hello, thanks for any help.

    I have used this event before with a chest and it spawns diamonds around the chest when the chest explodes. However when the zombie dies, I want the zombie to spawn diamonds *5. However the event does not work.

    How can it work for one thing and not the other?

    Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Plinkie and haddy.

    Thanks for the help. So when the player collects gems in the first layout and the player kills all the zombies, he moves on to the next level but the gems collected in reset back to 0. Cap attached.

    I have the global variable but its still not working. Thanks

  • (Chest.X + floor(random(20)-10), Chest.Y + floor(random(20)-10))

    sorted! Thank you buddy

  • (Chest.X + floor(random(20)-10), Chest.Y + floor(random(20)-10))

    Thank you very much buddy.

    It does work sort off. It spawns randomly at the chest. However it dosent seem to add to the picked up diamonds. Like if i spawn 5, it might only add 2 or 3. I think maybe because they are overlapping and two diamonds are being counted as one. I will try to figure it out.

    Thank you for the event!

  • Hi black hornet.

    I tried to write random after chest, but it wouldn't let me write in the code. Invalid paremeter on chest or something. Also it only adds one diamond when I collect it, so not sure.

    Thanks man

  • Hello, when the player shoots the chest, I want the chest to spawn 5 diamonds at a random point around the chest.I have tried a few things with no result.

    Any ideas on what even I should use please?

    Thanks for the help. Here is the cap, at the moment it only spawns 1 diamond.

  • Hello, the player will pick up dimonds in the first layout, but when the second layout loads the diamonds disappear (reset to 0)

    Do i have to use some sort of save state/? no idea.

    Thank you

  • System compare two values : family1.count is equal to 0

  • System compare two values : family1.count is equal to 0

    Maybe i was doing the compare values wrong so I tried between values.

    Thanks plinkie :-)

  • System compare two values : family1.count is equal to 0

    Worked with

  • Family1.count = 0 and player is overlapping flag, go to layout 2

    Cheers Plinkie bro.

    Not working, was it because i used an instance variable?

    Thank you

  • Hello all.

    Just a simple one here. When all the zombies are dead and the player overlaps the flag, I want to go to the next layout.

    I think its something easy, but I am just not seeing it.

    Thanks for any help.

  • Thanks Corp,

    I just have one type of zombie. I am trying to keep this game basic and not over complicate anything. I think I am doing or trying to do too much. Trying to learn things by studying them. I am going to keep this game simple, utilize my skills and find simple solutions to simple problems and avoid doing anything to funky lol.

    I think I am taking the fun out of it by over complicating things or having to high expectations. Before I was trying to find different ways to do the same thing, I am just going to build and publish! - as long as its fun.

    I downloaded Unity, I am really keen to learn C# and there are good courses on Udemy. I promised myself I would finish a game on here though. I don't want to quit C3 because I really like it, but I think unity could open up job prospects and really help me learn a valuable skill. Any thoughts?