Freddy33's Recent Forum Activity

  • Hi, Yep that done it! cheers buddy.

  • ahh i see, thanks man, I think I was over complicating that one!

  • Hello, cheers for the help.

    I was quite impressed that I nearly done this, however right at the last minute I have hit a knowledge hurdle.

    When the player hits the ammo icon, it updates the text to 5 (Ammo is the global variable) and you can see i added an instance variable for the text.

    However, when the ball shoots a bullet, i need the text to update 5-4-3-2-1-0.

    I have tried loads of different expressions and I am thinking there must be a way to set text and subtract from it, but I am struggling.

    Many thanks,gutted because I wanted to do this on my own.

  • This is a simple 2 event version, I tried to keep it as simple as possible.

    http://www.sizzle-games.com/hearts.c3p

    Thanks buddy, that makes sense. Did you have a global variable in there?

    And what does this symbol mean - &

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks buddy,

    That worked perfect. I just put the moose in the container and that worked :-)

    Thanks buddy

  • Sorry dude, I mean I want to destroy each individual moose. At the moment they all disappear.

  • Hi, O yeah, thanks man. Like the way this is done, you used a more mathmatical approach. It works well. Please can you explain what this is though? why 4-1, does that mean between 1 and 4 or is it 4-1.

    Thanks, this is good stuff.

  • Hello, firstly thanks for any help.

    I am trying to destroy the moose, but there is more than one.

    I have hit a bit of hurdle?

    Thanks you.

  • Thanks buddy, but i cant open these - there just a bunch a files?

  • Thank you very much for sharing this buddy, But what is the parameter thing?

    Pick instance with uid function parameter?

    Thanks

  • is moose a part of Family1? because if so your code is telling it that on collision with moose to subtract 1 from lives.

    maybe add two collision boxes to each (both the player's ball and the moose) to differentiate where the collision takes place, so you have a box for player's feet (or bottom of ball) and a box that represents "top/front/back" of player, and then a box that represents the "top" of the moose and another that covers the "bottom/front/back".

    then set it so if player's "bottom" collides with moose "top", destroy moose, add whatever to points

    BUT

    if player's "top/front/back" collides with moose "bottom/front/back" then subtract 1 from lives

    Thanks buddy

    everything got really confusing with all the events and hitboxes. it makes sense what you said.

    In the end i done this and it works perfect. Thanks for your help.

  • This is very good tutorial, try this one.

    https://www.scirra.com/tutorials/253/how-to-make-a-platform-game/page-7

Freddy33's avatar

Freddy33

Member since 7 Aug, 2018

None one is following Freddy33 yet!

Trophy Case

  • 6-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies