Apathy

Members
  • Content Count

    17
  • Joined

  • Last visited

About Apathy

  • Rank
    Member
  • Birthday 10/14/1989

Profile Information

  • Gender
    Male
  • Location
    Tirane, Albania
  1. Apathy

    A chrome only problem

    Yes this fixed it!
  2. Apathy

    A chrome only problem

    There is still smth. I only saw it now! Though it is fixed when pressing a key, the window doesn't scroll, it is not the same when you keep the button up or down pressed for some time, which makes the window scroll again.
  3. Apathy

    A chrome only problem

    Thanks. Yeah returning true solved it! Thanks for the help both of you!
  4. Apathy

    A chrome only problem

    I uploaded the game on fgl. The game gets put in a iframe. While in firefox it works fine, in Chrome it seems to have a problem. When the keys on keyboard get pressed, nothing happens in the game, instead it is the window that moves when pressing the up and down keys. I entered the following code game.system.canvas.focus(); and game.system.canvas.setAttribute('tabindex','0'); and somehow the keys now work for the game. But the keys still move the window as a whole. Is there a way to focus only the canvas?
  5. Apathy

    Problem with audio, only on Chrome

    Seems it was a problem of audio files. I found another person here with this problem who had solved using this online converter for the m4a files and it worked for me too. http://online-audio-converter.com/
  6. I get this strange error only when running on Chrome Uncaught Error loading: media/sounds/starst.m4a audio.js:165 game.Audio.game.Class.extend.loadError core.js:527 (anonymous function) What is more strange is that it works when i use audio from the examples like flying dog, but not with my sounds. And it only happen on Chrome, perfectly works on other browsers and on mobile with cocoonjs. Does it have to do with the file format for chrome being a different one?!
  7. Apathy

    Show Dynamic loading Bar

    Wanted to know if you can show the loading bar progress just like at the beginning with the dynamic loader?
  8. Apathy

    Dynamic loaded assets stay in memory / How to unload?

    I also have such a problem. It seems that even in dynamic mode the assets are kept in the memory even after the scene changes so you get that error when reloading them.
  9. Apathy

    unloading and loading assets

    I didn't have the new version. Now its ok tnx.
  10. Apathy

    unloading and loading assets

    Tnx for fast reply like always. I added it but it throws a error. Uncaught exception Duplicate audio source <name of audio> This error lists all the audio assets which i have added at the beginning, not in the new loader.
  11. Apathy

    unloading and loading assets

    I wanted to know if it is possible to load assets after the begining. For example before a level load a image only used in this level. And how to unload it after the level ends.
  12. Apathy

    How to use accelerometer

    Tnx a lot!
  13. Apathy

    How to use accelerometer

    I would like to know how to exactly use the accelerometer feature. I want to implement it on my game. Great work on this engine. I love it.
  14. Apathy

    Collision built in Physics

    Your new game.Circle() has no radius value. use new game.Circle(radius)
  15. Apathy

    update function of a class object not working

    Thanks a lot! This solved it!