Asmodean's Forum Posts

  • The link doesn't work. I used the link from your post yesterday.

    I guess that will be a mobil one button game? However I played a while and I liked the look but it's really only a try and error gameplay. Maybe it would be better to make something like a maze game/logic game. Where you can switch ladders and walls on and off and so you have to lead your player to the exit. You have alle the logic in the game already. You could do more than one path and the other paths are harder but you get extra point.

    But that is only an idea.

  • If you click somewhere or use another html-element you will lose the focus, then you have to use every tick if you only want the focus on that text box. Otherwise you could make an event and set the focus only when you need this text box.

  • If you mean a Text Input Box that is 'Set focused'.

  • Sprites with Platform-Behavior shouldn't effect each other. Only if you have the solid behavior too. If you don't need the solid behavior disable it, otherwise you have to use collison filtering. This tutorial shows how to use ist with tile-movement but it should work with platform.

    https://www.oneminutevideotutorials.com/2021/10/20/how-to-use-solid-collision-filtering-with-tile-movement-in-construct-3/

  • Cannot reproduce. Works fine for me.

  • Try to set the Framerate mode to v-sync in the advanced properties settings and look if that helps.

    Unlimited should only used for testing.

  • No need for an apologize, it's hard to find if you don't know where to look.

    My answer wasn't meant to be an accusation.

  • https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/text

    The Text object can display text using a font in your project. Note that there are not many built-in fonts common to all computers. Instead you can import web fonts for use with the Text object.

    Using web fonts

    Follow these steps to use a custom web font in the Text object.

    Locate a web font to use, in WOFF or WOFF2 format. There are some web services that list web fonts. (Be sure to check the web font license to ensure you use it correctly.)

    Download the .woff or .woff2 file for the web font.

    In the Project Bar, right-click the Fonts folder and select Import fonts.

    Import the .woff or .woff2 file you downloaded previously. This will add the web font file as a project file.

    Select a Text object in the Layout View, and click the button next to the Font property in the Properties Bar.

    In the Font Picker dialog, pick the web font you imported from the second drop-down list (under Or pick a web font from this project), and click OK.

    The Text object will now be displaying the custom web font in the Layout View. Since the web font is bundled with your project, it will be available on any platform.

  • You could try to disable worker. The variable a is assigned to window and window is not reachable from a worker.

    But this is only a guess.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As far as I know tile movement only can up, down, left and right. But you can put a wait 0.5 sec between both movements and it will first move up and then right.

    You have to wait to the end of both moves before another move otherwise one of the moves can be ignored.

  • You can directly get hours, minutes ,seconds ect. with for example:

    Browser.ExecJS("new Date().getHours()")

    In this link are all possibilities:

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date

    But you have to be careful Month starts with 0. So January is 0.

    An Sunday is 0 and Saturday is 6. If you need the weekdays.

    So you can make your own date and time.

  • It's very straight forward. The sprite moves from the top left to the bottom right and if doesn't overlap it stopped.

    Maybe there is a more sophisticated solution.

  • It freezes by me too. I get an error in the console.

    Uncaught TypeError: Cannot read properties of null (reading 'EndTimeElapsed')

    I think that there is a problem with Framerate mode 'unlimited'. It looks like there is an overflow or something. Maybe it depends on the type of Graphikcard or memory if it doesn't appear on dops Computer.

  • Maybe a rollover problem. Some Key combinations doesn't work on some keyboards. On my keyboard up, left and space doesn't work.

    Here you can test your keyboard:

    https://www.mechanical-keyboard.org/key-rollover-test/