dop2000's Forum Posts

  • The screenshot you posted isn't enough to understand the issue, and the video is 18 minutes long..

    You should definitely use "On Touch" and not "On Tap". But if you are suspecting that the stamina is still not set properly, try Debug View and Browser Log to troubleshoot.

    Does this happen when you preview on a computer and click the button with mouse, emulating the touch event?

  • I thought about including some events to manually replace the static data, but that seems iffy if I want to change the static info for 20+ items in the future.

    Yeah, either that or add a new array which will only contain the data you want to update. Say, a weapon code and a new price. And make an event which will compare both arrays and update the data in the main array if it's outdated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The easiest solution would be to set the origin point of both the dialogue box and the text to the bottom-right corner.

  • Not sure what you mean by "hiding" it - you don't want your program to show up among the list of other games?

    There are lots of other websites where you can host your program, for example itch.io, Netlify etc. The best solution would be hosting it on your own website.

  • Not sure if this is relevant, but check out this demo

    howtoconstructdemos.com/bend-a-sprite

  • If you can reliably reproduce this error in a small demo project, you need to submit a bug report.

    Are these platforms dynamically spawned in runtime? If they are static, you can add NoSave behavior to them.

    One workaround that comes to mind is to use temporary placeholder sprites in place of those platforms. Spawn the placeholders, save the game, then replace the placeholders with real platforms. And on loading the game - replace them with real platforms.

  • The obvious solution would be splitting it into two or more arrays/dictionaries. Some will store static data, and a separate array will store player-specific data.

  • Using a PHP script to send an email is a very common solution. If the script in the tutorial doesn't work, there are plenty of other examples on StackOverflow.

  • Yes, "On Tap" is a gesture, it waits until the finger is lifted.

    To add to KryptoPixel's suggestions - to make an OR-block with two triggered conditions, right-click the first event, change it to OR-block, then you will be able to add "On Touch" condition to it.

  • Looks like you are right:

  • Every X seconds works correctly with reasonable frame rate. If you have a code which takes a long time to complete, all other events will be paused until it's finished, including the game clock.

    You can use system timer instead - Date.now expression.

  • Load the image into a temporary sprite, check the sprite dimensions, and if they exceed 250px, inform the user that they need to select a different picture.

  • After C3 throws that error, press F12 and check the messages in the the console log. They should tell you what exactly is wrong with the project.

  • You do not have permission to view this post

  • Here the animation editor is bugging when I open the editor and change some sprite when I close the editor and press ctrl +z it gives a fatal error

    This appears to be fixed in the latest beta.