hugelarge333's Forum Posts

  • 5 posts
  • LittleStain

    I just added the "Trigger once" condition to the set size events, and it worked! The fish no longer automatically faces the right side when it grows. Thanks for the tips and suggestions guys, especially for reminding me that some events are triggered every tick. I should keep that in mind now.

  • Question one:

    Why are you setting the width to 142 pixels and 51 hundreds of a pixel?

    Question Two:

    Why are you setting the size every tick instead of once?

    Q1

    Since I need the player fish to grow bigger than the medium fish, in the layout I resized the player fish to be bigger than the medium fish. Then in the properties of the player fish, I copied the new size from there (which is 142.51, 80.2) and pasted it in the actions of the "grow fish" event

    Q2

    I don't remember setting the size every tick. The only events I made involving the condition "every tick" are the "Set text to "Score: &Score" and "Set bullet angle of motion to 180 degrees"

  • Hi

    Took a quick look,and I'm not 100% sure why that happens but

    instead of setting the size, try setting the scale.

    I did it and it works.

    Ok, I'm gonna try doing that, thanks for the suggestion.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So after learning from the absolutely helpful beginner tutorial, I attempted to make a "Feeding Frenzy (fish eat fish)"- like game. The player fish is supposed to grow after eating a few fishes, so in the events sheet, I made each fish equivalent to a score depending on their size, and once the player reaches a certain score, it is supposed to grow. I wanted the fish to grow after reaching a score of 150 in order to eat the medium sized fish, so I did this:

    Condition: System -> Compare variable -> Score = 150

    Action: PlayerFish -> Set size to (142.51, 80.2)

    So I run the layout to see if it works. It worked, however the problem is it automatically faces the right side (which is its non-mirrored version) and it will permanently be facing the right side unless it ate another fish. I added the biggest fish it is supposed to eat, so I made another event in which if the score reaches 1000, the player fish will increase size again to eat the biggest fish. The problem this time is the fish now permanently faces right, and even if it ate a fish, it will still never face the left side.

    Here's the .capx file of the game: (Note: the sprites and background are not mine. I just borrowed from Google images first to see if I will be able to do this kind of game)

  • Hi!

    I'm a teen interested in making games. I tried a few other applications to make games, but they require programming skill and knowledge, which I still lack of. Luckily I found out Construct 2, and I'm enjoying it! I am still learning the basics of it, and trying to develop and improve my skills.

  • 5 posts