igortyhon's Forum Posts

  • ...The stretch mode makes the entire image appear on the screen, and that's what I need.

    Hello. You think this is what you need, but it is suitable for website content, not for scaling the game's appearance. You are simply distorting the game's dimensions.

    You need to use construct3 events to customize the appearance.

    You can create a small example of a “*.c3p” file and post it here, and we will assist you.

  • I got it working with your lerp idea! It seems really cool. When you say not very good do you mean performance wise?

    These are minor details, and Construct3 can handle them well. As an artist, you are free to do this and even more.

    In terms of performance, it won't be immediately noticeable, because if there are 10 or 100 such health bars on the stage, it won't change much, but if there are more than a thousand of them, it could potentially harm the project.

    I am more concerned about the logic of this, because every time our game will need to go through each health bar even when it has not changed.

    Wouldn't it be better to change the amount of health when receiving damage from the enemy and start a “tween” to decrease it? Or only increase health when we drink potions.

  • The option using `lerp` linear interpolation is not very good, as it requires performing this action every tick even if the health parameters have not changed. If you don't know how to do this in TS, you can simply subtract half a pixel from the length until it becomes necessary; this is not visible to the naked eye.

    But it would be better to use “tween” only when necessary during health loss.

  • It is very bad practice when the variable is equal to 7, the code will try to run the ad 60 times per second until the level ends.

    Why don't you set the ad to run when you click the button that appears when you win?

    -

    At the start of the level, you have an action that creates an interstitial ad but does not display it. This is normal practice, but it would be better if you didn't just try to create an ad, but checked at the start of the level whether the ad is loaded, and if not, only then load the ad.

    -

    I recommend making these changes for the interstitial ad and checking in the tests that the test ads should be displayed.

    I recommend removing the banner completely for now, then adding it later, because it is not displayed during the test and is more difficult to test.

    I think AdMob will see that you are not flooding it with unnecessary requests and will start showing ads.

  • Everything seems fine from the admin side.

    Let's now check the Construct3 code.

  • Here are two options.

    I often use the “tween” behavior to change the size of the health bar.

    fex.net/s/a4tnnzy

  • I played around a bit but didn't see any ads.

    Check the number of calls to the app-ads.txt file to see if Google can find this file.

  • I played around a bit but didn't see any ads.

    Check the number of calls to the app-ads.txt file to see if Google can find this file.

  • The very principle of the scaling mode means that the image is expanded to the size of the screen with different options.

    I don't quite understand your need, but I'll make an assumption.

    When I have a horizontal game and smartphone users open it in a browser and hold their smartphone vertically, everything looks terrible.

    I check the aspect ratio in the code, and if it is vertical, I cover the game with a “plug” sprite that prompts the user to rotate their smartphone.

    I also reload the layout when the resolution changes, because I have a lot of positioning of control elements at startup.

    Here is a minimal example.

  • AdMob advertising currently works in Construct3. I check it every morning over coffee.

    Our forum and AdMob itself have enough data to start displaying ads.

    Has your app been verified by AdMob for ad display? Does AdMob find your app-ads.txt file?

    Can you provide a link to your app so I can download and check it?

  • If you need to summon family members all at once straightforward approach would be looping through ObjectType of that family.

    Example: dropbox.com/scl/fi/07wqkp6cujsyz36nrudd2/summon_family_at-once.c3p

    But this will only affect family members who are already on the platform.

    - needs to be created, not just listed.

    Of the available options, I also support a list of members in an array or dictionary where we can go through each name and create it.

  • Hello, you are currently using the center of the sheet. Perhaps the center of the viewing area would be more suitable for you.

    LayoutWidth --> ViewportMidX(0)

  • You can create a large red button with the inscription “GIVE ME MONEY.”

    But seriously, you need to look at websites with analytics on sales and game players.

    A large number of players does not guarantee that you will be able to make money in this genre.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello.

    Add the Tween behavior to the plant, and you will have many options.

    I wanted to write it in text, but adding an example in a few lines will be faster.

  • Hi.

    The game looks cool and the video is great.

    Are you going to use this video on your Steam page? But I beg you, please remove those 2 seconds of black screen at the beginning. Maybe start with the spinning newspaper and then the fight.

    Those first few seconds of the video are very important, they are the most important, don't steal them with a black screen.

    Modern players don't wait, it greatly reduces effectiveness, I do a lot of AB tests and it's confirmed by statistics!