orugari's Forum Posts

  • Hello,

    Please edit your post, change title and explain what you want to do in the comment section.

  • Hi,

    Your code is a bit... Messy 0_0

    And that is the reason your code is not working.

    You should rework your logic.

    Add a "Tween Behavior" and "Physics" to your cookie.

    On Left button clicked
     -> Create Object Cookie at cursor.X, cursor.Y
     Tween(one propriety) property X Scale, End Value: 2, time: 2, loop: yes, ping pong: yes
     Tween(one propriety) property Y Scale, End Value: 2, time: 2, loop: yes, ping pong: yes
     Physics Apply force at angle Force: (set it based on your sprite), angle: random(0,360) or choose(any angle, any angle)
    

    and this replace all of your logic with wait and size.

    Also a good thing would be to check examples, there is a lot of good ideas.

  • Okay, I get your point.

    You can export as HTML5 and run it locally (for example with Wamp64) to test real URL parameters.

    But you don’t really need to export every time — you can also simulate them by setting the variables manually, and later replace that logic with Browser.QueryParam("myParam") when you’re ready to test with actual parameters.

  • Hello,

    Did you tried the Speech recognization example ?

    A good things would be to allow URL to access microphone (website parameters)

  • Hello,

    Based on your message, I guess you want to test Browser or Ajax url ?

    If you want to test URL, you can press F12 and check "Network" for XHR request.

    If the window is not showing, you need to click outside of the game (but still on the preview game window)

    And if you want to test ingame, just create your debug mod.

    Put a text object on your game, and add some event that write logs you want.

  • Thanks a lot for your feedback.

    I see a lot of "How do I…" questions, where users get confused because the way they try to build their "code" is a bit messy.

    I wish I can help with this method.

  • Hi everyone!

    I just published a new tutorial to help you organize and optimize your Construct 3 projects.

    Even though Construct 3 isn’t strictly object-oriented, you can apply some best practices inspired by software development principles (like SOLID) to make your projects:

    - Clear and easy to navigate – with properly organized Event Sheets, folders, and naming conventions

    - Reusable and scalable – using families, generic functions, and smart event groups

    - Optimized for performance – by structuring sprites, animations, and assets efficiently

    The tutorial includes:

    - An example project with ready-to-use structure

    - Naming conventions for Event Sheets and sprites

    - Tips for families, event groups, and generic functions

    - Sprite optimization techniques

    Whether you’re working on small prototypes or larger games, following these practices will save you time and make your projects much easier to maintain.

    Check it out here: https://www.construct.net/en/tutorials/build-clearer-easier-to-3240

    If you find it useful, feel free to leave a comment or a star! You can also reach out if you want guidance on your own projects—I offer support and optimization tips, free of charge (with optional voluntary support).

    Thanks !!!

  • Hi,

    If I may, playing a sound for every single letter is not recommended.

    What you can do instead is:

    Text is typewriting

    Sound "letter" is not playing

     → Play sound, no loop, tag "letter"

    That’s all.

    You just need to find a sound that matches your typewriting speed.

    Ex:

  • Hi,

    The Construct 3 editor has nothing to do with Python.

    Python is extremely versatile — you can build web servers, software, REST APIs, games... it’s up to you.

    You might try to find something related to Python that can interact with Construct 3, like APIs, database or something like that.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hello,

    You know what? Taking breaks is really important... Even Construct 3 gives us a gentle reminder every two hours!

    Thanks for pointing out the confusion 😊

  • Hi,

    I'm having trouble creating or updating an object in Construct 3 depending on whether an instance with a specific variable already exists.

    What I’m trying to do:

    On signal received:

    Pick the player_hitbox object using its instance variable myId

    If it does not exist, create a new one

    If it does exist, update its position

    Unfortunately, I can't get this to work. Right now, the event always ends up creating a new player_hitbox, even though one with the same uniqueId already exists.

    Here’s a screenshot of my event sheet for reference:

    Any idea what I'm doing wrong? Thanks in advance!

  • I understood now. yes, JS is needed for this :)

    Thank you for the clear explanation !

  • Okay, let’s start from… the beginning.

    Instead of using "Wait X seconds", you should use "Wait for previous actions to complete".

    This ensures Construct waits for what's actually needed before continuing.

    You already have the event "LocalStorage → On item 'HighScore' get", which acts as a proper trigger for when the loading is finished — so no need to wait blindly.

    Also, instead of doing something like:

    Wait SplashExplosion seconds

    → Create ExplosionSmall

    Every SplashExplosion seconds:

    → Create ExplosionSmall at int(random(0, viewport width)), int(random(0, viewport height))

    Using "Wait" without being linked to a proper flow or trigger does nothing, because you're not actually telling Construct when to wait or why.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads