Asmodean's Forum Posts

  • You do not have permission to view this post

  • Right Side in 'Project', double click on your even sheet.

  • It's like R0J0hound says. With scripting it's possible. I made a very basic example. This player can only play Soundtracker mods and is for non-commercial use only.

    You have to look for a player for your requirements.

    https://drive.google.com/file/d/18g12o-tUVg5lNwFMvlGKCGNzKWl7iMo9/view?usp=drive_link

    I used atornblad's player

    https://github.com/atornblad/js-mod-player

  • When it's not browser it shows nothing. So I guess negation will do

    It should.

    I'm working on a mobile version where Ctrl-R is not available. Only the reload action of the Browser plugin. If it is cached, is there a way to clean cache from construct ? Don't think so...

    On mobil I can't really help. I would make a new topic for that question otherwise it will get lost here.

  • EDIT : I tried it. It is fine, Browser mode is recongnized but not Standalone nor Minimal UI...

    What does it shows in Browser.DisplayMode when in standalone?

    If it always shows 'Browser' then negation will have no effect.

    After update, I prompt a button to let user reload the game but reloading the page doesn't run the updated version but previous version.

    Maybe it's cached?

    If you force the App with Ctrl-R to reload does you get the new version?

  • Variable1 is a string and you compare it with an integer. Either make variable a number or compare it to a string.

  • Laurent in the manual is mentioned that the browser is changing the display mode of the project to its app form (typically standalone display mode), if is installed. You can check that with the condition 'compare display mode' in the browser plugin, if it's in 'standalone'.

    Maybe that the easiest solution. I can't say how reliable that is you have to test it for yourself.

    It's all in here: https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/browser

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to call 'Check item exists' before use 'On item exists'

    Check item exists:

    Check if a key exists in storage. This triggers either On item exists if the key exists, or On item missing if the key does not exist. If the item exists, the ItemValue expression is set to the key value in the On item exists trigger, so there is no need to use a subsequent Get item action to read the value.

    On item exists

    Triggered after the Check item exists action completes if the key checked does indeed exist. In this trigger the ItemValue expression is also set to the value of this key, so there is no need to use another Get item action to read it.

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/local-storage

  • Use RegexReplace

    RegexReplace(TextWithTabs,"\t+","gm"," ")
    
  • I like that a lot, especially that you don't use spaceships and asteroids. Music is good, controls with Gamepad is very good. The only suggestion i would have is that the player could wrap around in the playfield but the enemies not. So you could get rid of your pursuers.

    And one last thing, if you use the arrow keys + space for controls some keyboards can have ghosting with that key combinations.

    People already familiar with Construct's JavaScript coding feature will find it much easier to develop addons, and vice versa.

    I have my doubts about that. It would be easier to not handle 10 different files to make an addon. But i will cope with it, as always.

  • Are you sure it's not another problem? It works fine for me.

  • Like press once, and done. Instead of holding R down.

    Now I understand. But it should work. Only press R once should work.

  • I like how you have done it. It's really neat and tidy.

    I don't understand what you mean with: I rather just press the button.

    Don't you want an automatic and a manual reload?

  • Your "Every 1.0 seconds" is a subevent. If you press R it will start to wait for 1 second and it will start every tick as long you press R. So your subenvent will not executed. If you release R the subevent won't be executed at all.

    Make it an event not a subevent.