Asmodean's Recent Forum Activity

  • If I activate in Chrome 'Block sites from setting any data' I get this Error in the Console:

    Uncaught (in promise) Error: No available storage method found.

    at b (http://localhost:8000/LocalStorage_plugin.js:17:9502)

    It seems that with this error, some or all LocalStorage events does'nt work. I tried OnError and 'On Item missing'.

    My workaround is: make a variable like 'isSaved' and set it to 0 and set it to 1 in the event 'On item set'.

    Now you can try on the start of your game to set the variable. If the variable is set to 1 it works, if not it's not possible to save the game at all.

  • As far as I know you can not use particles for collision. It's only a graphical effect.

    You can try to mix sprites in the particles. You have to look how many, so that the sprites will really hit what you want.

    I made a litte time ago something similar, maybe is useful for you:

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

    Click on any of the blue boxes and it will explode and if the 'particles' hit a other box it will explode too. Double click anywhere will restart the layout.

    I mixed 15 sprites in 100 particles in every explosion. You will see that sometimes it is not enough and a box will not explode, but to many sprites will affect the CPU Usage.

  • If you want to learn javascript from the scratch is the best to use a Framework, otherwise you lern only how to use this special game engine with javascript as scripting language.

    The only other one I tried and I know that uses javascript, is the MightyEditor it's based on Phaser.

    It's a online IDE: http://mightyfingers.com/ and there are beginner tutorials http://mightyfingers.com/tutorials/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For me the best Javascript Game Engine, aside from construct, is Phaser. Phaser is more a Framework then a game engine. There is a online code editor, so you can try it out http://phaser.io/learn , but also a tutorial how to get started http://phaser.io/download

  • You do not have permission to view this post

  • I tried cocos2d-js a little time ago. The main problem I had, was the lack of a complete documentation and examples in english. Maybe is it better know, but then you have to be fluent in mandarin to use cocos2d.

  • There was/is a problem with NW.js and Avast, don't know if this still a problem.

    https://github.com/nwjs/nw.js/issues/4023

    What you could try, if the problem is not Avast, delete the folder with the name of the game in:

    %USERPROFILE%\Appdata\Local

    If the files in this folder are corrupt, it could cause problems, but also all save-states from the game will be deleted.

  • I made an example to look if 30 FPS will save CPU Usage on mobil. Now it locks at 15 not 30 FPS.

    Hold mouse button to spawn some sprite, then double click on the blue square for 15FPS, double click again for 60FPS. It only execute in 15FPS the subevents under every x second event.

    Have a look:

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

  • I already told you, use FireFox, it works. Why don't you follow proposed solutions ?

    It doesn't work for me. I have tried FireFox, Chormium, Chrome and Internet Explorer on Win7 and FireFox and Chrome on Linux Mint.

    It doesn'n work. I have to use Colludium's trick with "keep me logged in" then it works.

  • 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.

Asmodean's avatar

Asmodean

Member since 31 Jul, 2015

Twitter
Asmodean has 9 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies