dop2000's Forum Posts

  • Did you stored JSON's of each objects on Layout in Dictionary and recreate in runtime?

    No, it's easier to create room templates on an unused layout. Each room is a hierarchy consisting of multiple objects. One of the objects is a "parent" (say, a tilemap) and is set up as a template.

    Then you can create the entire room from that template.

  • ChatGPT knows very little about Construct, and its answers will be nonsense most of the time.

    You don't need scripting to style a textbox. Use "Set CSS style" action. EDIT: didn't notice that's a Text object.

  • According to the manual, this expression only works in "On gamepad connected/disconnected" trigger, or when using "On any button pressed/released" with a gamepad of -1.

  • I believe some platforms may have only one voice, and some may not support TTS at all.

  • I think something is wrong with your gamepad, it shouldn't work like that.

    Try updating the driver. Or try a different browser.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think you need to change the sprite frame first:

    repeat 15 times
    Sprite Set Frame to loopindex
    Set Array at loopindex to (sprite.animationframetag) 
    
  • Are you saying that when you press Up on DPad, the cursor goes two steps up in the menu, instead of one?

    Maybe your gamepad emulates keyboard input and triggers "Keyboard on key pressed" events..

    Can you remove these two conditions and test if gamepad Up/Down buttons still work?

  • Check out this demo, maybe you'll find something useful for your project:

    howtoconstructdemos.com/platform-wall-jumps-with-decreasing-height-camera-scrolling-panning-effects-capx

  • It looks like events 10-17 are running on every tick? In this case using "wait 2 seconds" there is a very bad idea. This can explain why the game starts lagging and freezing. After a few seconds there will be hundreds of delayed actions which will start to trigger and change the "state" value uncontrollably.

    Use Timer behavior if you need to do something with a delay.

    Also, random(2,2) will always return 2. You need to use choose(1,2)

  • You are setting the vector to (player.Y-750), which means that it will be different depending on the player Y position.

    The vector essentially means "speed". Simply set it to -750

  • That's what I've been doing so far. Do you have any specific sites to make this easier on a per-language basis? Maybe sites that have the character-set as comma-separated values or in a different list format.

    Unfortunately, no. Just using the best result I can find in google..

  • You won't be able to create spritefonts for languages like Chinese, because they have tens of thousands characters. Japanese is possible, but only for the hiragana and katakana.

    If you need a universal object that supports lots of languages including Chinese, you will have to use Text object.

    I usually just google the alphabet for a particular language, copy/paste it into Word, use Find/Replace to remove all unnecessary characters like spaces. Shift+F3 to change case. And that's it.

  • There are several addons for working with JSON in C2. I would advice learning JSON since it's easier and more popular than XML.

    construct.net/en/forum/construct-2/addons-29/plugin-json-75330

    construct.net/en/forum/construct-2/addons-29/plugin-json-114772

  • You can use global variables to save the state and position of the player.

    Also check out this demo:

    howtoconstructdemos.com/a-system-of-doors-portals-to-travel-between-layouts

  • for some reason even tho changing the ability states has nothing to do with wheter the animation plays,it still gets interrupted and refuses to play.

    How do you change the ability state? Do you need to click something with the left button? This would explain why the timeline is restarted.

    A simple way to test this is to add "Browser Log" action to your event #84.

    I am surprised you have such a big complex project and not using console logging - the most basic debugging tool.