Asmodean's Forum Posts

  • If you check the "keep me logged in" tick-box then everything is good for me, but if you don't then it is impossible to log in.

    Ahh, thanks. I could logging in for two days. That bug is really annoying. I could see I was logged in, but was immediately kicked out after logging in. I could even send PMs.

  • It's like oosyrag and briggybros said.

    Put all your enemies in a Family called 'Enemy' and put all of your projectiles in another called 'Projectile' for example.

    Give both families a 'family instance variable' (right click on the family name) with the names you want like health and damage. Now click in the layout-view in the left Objects-Windows of all of your objects one by one. If you click an object you will see on the right instance variable in the 'Objects properties'. Now you can give every object a individual value for health or damage.

    Now use:

    Projectile| On collision with Enemy -> Enemy| subtract Projectile.damage health

    The rest does construct do for you.

  • HI,

    i'm actually doing a menu in wich you can set differents names for a team, and save it in an arraylist.

    and there is an option to edit existing team.

    the process i'm using is actually working for teams with simple names as rococo, fire, build etc...

    but it doesn't works when i when to test composed names like: Buring Fire, Space angels etc...

    is there a way i can confirm my test when it find Array.CurrentValue = Input.Text ?

    Are you sure that this works even without spaces?

    Your variable NomExist will be overwritten with 1 even if you found the name in the Array, because the next element set the variable back to 1.Even if the last element is the name you are looking for, the variable will be set to 1 in the next tick, when the loop starts again. The variable will only a very short time 2.

    Delete the first sub-event and it should work. You have to set the variable back to 1 after you have done what you want to do if you found a name, outside of the loop.

  • Make it static.

    By default, local variables reset to their initial value whenever entering their scope (usually every tick), like local variables in programming languages. If the variable is marked static in the Event Variable dialog it will persist its value permanently, like a global variable.

    https://www.scirra.com/manual/83/variables

  • Without seeing your capx I can only guess. I still think it's a problem with the collision polygon.

    If your hitbox (invisible box) has the same size as your chest-sprite, take a closer look at you chest sprite with the image editor. Normally there is a padding around your sprite with a gap of 1 pixel. If your hitbox and the chest-sprite has the same size, your chest will about 1 pixel over the ground, because of the padding. Try to make your hitbox 2 pixel smaller in x and y, so the hitbox is 2 pixel smaller in each direction. Another problem could be the origin-point of your chest-sprite an the hitbox. If both points not exact in the middle you can also get problems.

  • Look at the collision polygon of your chest and the floor where it stands. It is possible that the collision polygon is not exact and has a little space. Then your chest will 'hover' a little.

  • Did you run this test on your machine?

    Yes, on my Core2Quad 6600 and AMD Radeon 6670 I have a Test Score of 60 and there is no frame drop. CPU is max. 20%

    Have you looked if your GPU on your notebook is blacklisted in chorme?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your notebook has only a Intel HD Graphics 5500 integrated in the i3-5010U CPU and that GPU has a very poor performance. It's even possible that it's blacklisted on Chrome (No WebGl).

    What's wrong with your dektop, I cannot say.

  • [quote:2xb7x7xd]Tonight, I was showing my game at an event for a couple hours already, when suddenly the game shut down. I tried to relaunch it, either the windows 32 bit or 64 bit version (it's a NW.js export) but none ever worked.

    There is a log-file in the folder of your game, so you could see what goes wrong when you start it.

    [quote:2xb7x7xd]I tried reinstalling the latest version of NW.js and reexporting but it changes nothing.

    Did you uninstall the previous version before? Was the previous version 0.12?

    For Construct 217 and higher you need 0.13 and if you install 0.13 over 0.12 you can get very bad side effects.

    What you can try:

    delete the folder with the name of your game in %userprofile%\AppData\Local\

    (I don't know where the folder ist in Windows 10)

    Is this a Windows 10 problem? I have after uninstall an reinstall NWjs4c2 no problems with nw-tasks after exit a nw program under windows 7.

  • Use PCM .wav files and let construct do the conversation.

    https://www.scirra.com/manual/52/import-audio

  • In Chrome I have only a entry in local storage and session storage with WebStorage 'Set local', 'Set session'. The indexedDB is empty.

  • [quote:636m4ysp]

    What makes you believe that ?

    It uses browser storage. In the absolute, web and local storage store infos at the same place in the browser (not the cache, the storage, a dedicated space for those infos thanks to HTML5 specs).

    It all uses the storage of the browser ,but it uses different kind to store the data. LocalStorage uses the IndexedDB, WebStorage uses local storage and session storage.

    [quote:636m4ysp]

    Moreover, it shouldn't solve the problem of storage files being cleared by the OS.

    I don't think using webstorage would help with the issue at hands.

    I found out that iOS 8 and 9 has bugs in IndexedDB and WebSQL. So my suggestion was to try WebStorage, because I didn't find a bug report about local storage on iOS 9. I only suggest that he could try, I didn't say that is would fix the problem.

    [quote:636m4ysp]

    If you could somehow create files on the system and read them, that could be something considered, but I doubt this will be an easy treat, especially on Apple device.

    Shaming them for their awful software and asking them to comply better with HTML5 specs could be the only solution around.

    But they don't seem to care a lot as per they slow release cycle which goes on breaking previous features.

    It is a shame, the bugs are quite old. But it looks Apple don't care about.

  • I never tried it, but I don't think that makes a problem, because WebStorage and LocalStorage uses different places to store their data.

    But be careful, session storage from WebStorage only lasts with the current browser session, you have to use local storage from WebStorage.

    https://www.scirra.com/manual/120/webstorage

  • I think WebStorage is only deprecated because of the Google Play Store. WebStorage uses the real Local Storage or Session Storage as far as I know.