Asmodean's Recent Forum Activity

  • Try: SquareTX| Set Offset width to tile.Width, height to tile.Height/2

    But I think you are using the wrong kind of tile for a floor. The tile should more like that:

  • Thanks Jayjay

    I can confirm that with FireFox

    -Disabled: 0.4% - 0.5% engine, and 0.1% to 0.2% draw calls; CPU-Utilization 0%

    -Enabled: 1,6% - 1.7% engine , and 2,6% - 2.7% draw calls;CPU-Utilization 4%-5%

    with chrome the profile in the debug-inspector seems not to work correctly it doesn't update. The CPU-Utilization seems to be correct and this is still 0.1%-0.2%

  • With Chrome, Windows 7 64Bit, C2 R221:

    0.1% engine

    0.1% draw

    no difference between enabled or disabled.

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

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

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