Asmodean's Forum Posts

  • Dayvid86

    Do you really need the ProjectFolder not the AppFolder?

    Have you tried NWjs.AppFolder&"MyText.txt" ?

  • Rable

    , could you please tell me where I could find that config.xml? I found a cordova folder on my C:/ but it contained a config.js, no config.xml. And the config.js didn't contain something similar to preference name.

    If I export to cordova with C2, in the exported folder I have another folder "www" and two files config.json and config.xml

    For more information: cordova.apache.org/docs/en/latest/config_ref/index.html

    at the end there are examples.

    Do you confirm there are 8 "f" in the line ? (I thought it was 6 for hexadecimal, but I don't know much about programming so if you tell me it's 8, I'll put 8 of them :) )

    There are 8 f because it's for R G B and A (Alpha Channel)

  • Rable What I mean is that you export your project to html and look if it's work on safari. So you can see if it's a problem with Webkit or if it's only a problem with Cordova and/or the App itself.

    I would try now the suggestion from purplemonkey. I think that's a really clever idea. If that doesn't work either you can try to change the background color in config.xml in cordova.

    <preference name="BackgroundColor" value="0xffffffff"/>

  • It could be the cache. Have you tried it in safari to look if it's work at all?

    It works for me in FireFox and Chrome, but I have to clear the cache before I try any changes.

  • My suggestion: Change only Background to background:#fff and after that you insert a new line:

    background-color: white;

  • My guess the "health ≤ 0" fires every tick and so the sound is played every tick and that distorted the sound.

    Use "trigger once while true" from System as second condition. You have to put it as second in the event.

  • I don't know why that happens but it shouldn't. You can resolve this by clone the chicken on the layout and replace the chicken object with the new cloned chicken2 object in all events.

  • I can confirm. The collision polygon of a tile is only visible in the Tilemap-window if the collision polygon is changed of this tile, but not in the Layout.

  • I made a little example with the orbit-behavior. You can release or catch the planet from the the orbit.

    drive.google.com/uc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is a really dirty hack what you can try. If the circles are not to fast it should work.

    You can try to enable the bullet only every 2*dt or 3*dt sec.

    + System: Every 3×dt seconds

    -> Circle: Set Bullet Enabled

    + System: Else

    -> Circle: Set Bullet Disabled

    This can have bad side effects if you need the precision of collision checking every dt sec.

  • totoe The plugin can read json song files without any change. Export the song on the beepbox webside and you can it import it with ajax in setSong.

  • I have to look if there is an import for json in the API.

    Is there any benefit for using json over a plain ASCII text-file? You could put the song in a text-file and import it with ajax into a variable. If you use a json-file the only change would be that the variable holds the json-file instead of a ASCII text-file.

  • Sorry for the late reply.

    If you have any problems with the plugin I will try to fix it, but it's hard to add more functions. The API of the Player-Engine is very limited. Mostly it's easier to convert the songs in wav and use the Audio-Plugin from C2.

  • I made a very basic color book example with flood fill effect. It has it's flaws and it's not very fast but maybe someone has a use for it.

    https://drive.google.com/file/d/1BNkGEShu8OPmyzxdtquQ9FHpC4HDhmo_/view

  • The plugin doesn't use the Audio-Plugin. It uses his own output. So it's not possible to get access to the output with the audio-plugin and Tags wouldn't change that.

    Volume = 0 should be mute the audio.