igortyhon's Forum Posts

  • It works quite well for me.

    PlatformInfo.CanvasCssHeight
    PlatformInfo.CanvasCssWidth
    
  • The image you posted is Grammarly. It's used for spelling and grammar correction.

    Thank you very much, I didn't use it, so I didn't recognize it. In general, I think it's better not to use add-ons in the browser where we use Construct3.

    Now to your question, the action that I marked orange will be executed faster than the data will be loaded into the array.

    I would recommend moving this action to a group and disabling it when the layout starts and enabling it when the layout is complete. I marked it on the screenshoot.

  • 1 - You don't need to do this action every tick, you need to do it at the start of the layout.

    2 - This action is not necessary at all, because we determine the position of the crosshairs according to the angle using the formula.

    3 - This action is not necessary at all, you fix the crosshairs at a certain point, but we must position it according to the formula every time according to the angle.

    As for your question, you have not provided any information on how you have implemented weapon switching, how can we help you?

  • ...

    Please help me make this.

    I have attached the project's Construct 3 file.

    https://www.dropbox.com/scl/fi/0y2y4u8hemqhwwoolhwen/Game_File.c3p?rlkey=yy8c9yy0zebnbc5rqysdfda6d&dl=0

    I don't know if we still need this solution, I made it, but only now I was able to post it.

    fex.net/s/ra82bd0

    Subscribe to Construct videos now
  • Hello. I'm sorry for getting into your question a bit.

    I noticed in this guy's video that he has some kind of plugin for Construct3. Does anyone know what he does?

    My search on the photo didn't give me anything.

  • Вот смотрите у меня есть персонаж и есть магазин Когда нажимаешь на объект устанавливается анимация другая это понятно но когда он умирает этот персонаж и перезагружается макет устанавливается классическая анимация но ни анимация которая была до этого как это исправить

    You're doing it on purpose, you've already been told that you need to use English, there are translators for that.

    You need to create a global variable, and when you open the store, write the state of the store there, for example, the name of the animation.

    And when you start the layout, set the store animation from your global variable.

    This is the base, you need to spend time learning.

  • I've got the cmaera to take a picture then when you click on the photo icon goes to layout2 which loads in the image BUT it's stretched out too far horizontally.

    https://drive.google.com/file/d/1n0HMZeRNwoWT05WANeZAf0djD785EavF/view?usp=drive_link

    In the example I added, this is taken into account.

  • To make and test this simple example, I had to take my old webcam out of the drawer.

    I don't know why you need to go to the next page, I did it with and without the transition.

    File *.c3p

  • Hmm.. I simplified using your example so I could understand how to do this.

    I've got the camera working, it takes a snapshot but it wont move it to Layout 2. Just a mini version of the snapshot appears. Originally I had it working and moving to layout 2 but it stretched the image horizontally so trying to fix that I created this new issue.

    https://drive.google.com/file/d/1NHbPrag3ridFMErzGhAzijYp-nAeqdpj/view?usp=drive_link

    This is not my example, I gave a link to the usual example of Construct3.

    But I'll see what I can do.

  • I noticed this problem after I switched to Linux, but I'm not sure if it's because of the OS change, because after that the browser had several major updates and Construct3 itself changed the version.

    I see it this way: sometimes when I open a project file, the editor buttons become unclickable, I wait a few seconds, and if it doesn't go away, I just close this tab and open the project in a new browser tab.

    It doesn't happen regularly, and I can't sit and open all day to catch it.

    Platform information
    Product: Construct 3 r440.2 (stable)
    Browser: Chrome 137.0.7151.68
    Operating system: Linux 6.8.0
    
  • Hello. You've been on the forum for quite some time now and know a lot.

    You need to stop using the layout saving option and always use saving global variables or dictionaries or arrays. Layout saving is a tool that seems simple and can be useful for beginners, but it becomes even more troublesome when the game becomes more complex and you need to constantly check what to save and what not to save.

    And when using variables, on the contrary, when you start the event sheet, you set the desired states through the saved variables. This method is more flexible and versatile and does not lead to a big complication when the project grows.

    As for your specific question, you can check the layout name at the beginning and proceed accordingly.

  • Simple game, seriously...why does the ball go through the paddle? I CAN'T debug it.

    I feel silly. Here's the link to the file. I'm trying to help a student.

    https://libertyuhsd-my.sharepoint.com/:u:/g/personal/lapradel_luhsd_net/ERH01PnFkGVGuT1DCJu0hTQB595QGmAUzKU9gipuvjBvUQ?e=SQRSh5

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello. In my opinion, the bug with the screen shown in the video is not related to the crash and error rate in the developer console.

    1. What we see in the video looks like a bug, but it does not go beyond the game and Google most likely does not register it, because it is clear that the game did not freeze or close, but reacts quickly enough to the player's actions. But why everything turned white there, you need to reproduce it yourself and figure it out.

    2. Now back to the errors in the developer console, if you have analytics, purchases and advertising in the application, and maybe even advertising mediation, unfortunately you will be very dependent on the quality and volume of traffic. You need to triple analyze how many devices and which devices create errors and block these devices if there are too many coincidences, it happens that some model of a cheap Chinese smartphone destroys all indicators.

    It happens that an application is just gaining popularity and still has few installations, and some three players from India ruin your crash rates.

    It also happens that the good times of the game have already passed and you have started to buy traffic and its quality is cheap and it can also have many such devices that destroy the indicators.

    High fragmentation of devices is a very big headache for developers.