exrex's Recent Forum Activity

  • If I remember correctly it would be function.call('getAvailableStars')

    Thanks, it works!

  • Hi all.

    I'm converting the source code from C3 to C2.

    I ran into a problem. In C3 the condition looks like this:

    The same actions in C2 do not work:

    Is it possible to fix this issue somehow?

  • Simple just sum array values where we stored retrieved stars for each level. In my example I put them in array y index 2, but I put them in reverse which 0 equal to 3 stars, 1 equal to 2 stars and 2 to 1 star.

    Thanks for the information, I'll look into it!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I already have a similar source code. I'm interested in how to display the total number of stars.

    dropbox.com/scl/fi/xbqqd8yg7alfzhk4mlx05/levelsstars.capx

  • Perhaps someone has the source.

    The game has several levels (let there be 5). For each completed level you can get 3 stars (there is such a source). There is a certain variable that is responsible for the number of stars earned. Since there are 5 levels, then when completing all levels and completing all tasks, the maximum number of stars is 15.

    Interested in the following.

    When passing, for example, level 1, the player receives 1 star. 1 is added to the Global variable. Then we go through the level again for 1 star. The global variable remains the same. We go through the level again, but this time with 2 stars. The global variable becomes equal to 2 (since 1 star was already earned, but when replaying, they got another one). Accordingly, when passing a level by 3 stars, the value of the GV becomes equal to 3. And at the same time, stars could be spent on an upgrade, but after the number of stars decreased in a certain GV, then when passing the same level they would no longer be added.

    Tagged:

  • How to deal with the following situation.

    There is a separate layer (for the window about the end of the level - victory or loss).

    The condition of its display is as follows: when the enemy crosses a certain area, the layer with the window becomes visible, and the game pauses so that the enemies in the background stop moving and the turrets to shoot.

    I decided to make the results window dynamic, and added the LiteTween behavior to it. But a pause interferes with its correct work.

    Is it possible to somehow leave a pause, but at the same time for LiteTween to work?

  • How to make an inventory like in Plants vs Zombies?

    imgur.com/w0rqeVT

  • You do not have permission to view this post

exrex's avatar

exrex

Member since 17 Apr, 2021

None one is following exrex yet!

Trophy Case

  • 3-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies