WizLore's Forum Posts

  • What I did to make it work is:

    I downloaded a font editor (eg. Typograf), with this I renamed my font so there were no caps in the name.

    This way it works, and you don't have to use 'Set font face'.

    Sorry for this little conversation with myself! :)

  • It works with another font...

    Maybe the first font didn't work cause it's a webfont converted to .ttf

    I will post If I find out.

  • beufreecasse, did you use the - 'every tick' set font - method?

  • Hmm... I follow both your advice, but still something must be wrong...

    I will check with another font later to see it that is causing the problem.

  • Thanks for the little tutorial.. Unfortunately I can't make it work.

    I make sure there are no caps in the font name as I've read in another post. But not working.. yet.

  • Did you need to convert it.. or did it work as .ttf with cocoonjs?

    And where should you create the folder?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice post... I did not even know you could implement a font in your project till I saw your post, how does it work exactly?

  • Ok.. as far as I've experimented it is enough to preload the sounds on a single layout... And they are cached on every other layout as well.

    Can anyone confirm this?

  • Is it necessarily for apps?

    Or is preload sound only intended for webcontent?

  • Anyone got updates on this?

    I've used the following workaround: To give the repeating music different tags, and set volume to -1000db.. which works like a mute.... on most stereos! :)

    But I guess this is impacting performance since all the sounds are playing simultaneously, I would really prefer to be able to stop a sound.

  • The game resolution is set for 1024*768

    The game sidescrolls with a 2048*768 background

    I got 3 layers

    1. 'background' - parallax 100,100

    2. 'sprites' - parallax 100,100

    3. 'UI' - parallax 0,0 - and some of the objects fixed with anchor.

    This works fine in browsers, but then exported to windows phone (maybe other phone exporters as well) :

    A. Some of the objects appear at wrong positions.

    B: A status bar appear at the left side, forcing some of the game area out of the screen.

    Anyone know a solutions to this?

  • Is there a turorial on this somewhere?

  • I would very much like C2 to remember how you arranged your tabs (layouts and event sheets) at the top of the screen.

  • Just a toggle button...

    So far I made it as joxer first suggested... and made it work with a 'wait 0.05 seconds' to prevent it toggles back again...

    I know it's a messy way to do it, but I don't understand Tulamides answer.

  • Tulamide "...fake a boolean with a pv or global. Just set this variable to 1 - variable on every button click..."

    How do you make it variable on every button click so it actually works?