Headbang Games's Forum Posts

  • Problem Description

    When using a costume webfont, setting a text object text to "text..." doesn't render the periods, setting text to "text. . ." does render them, I am not sure if this a font, an engine or a browser related issue, on Edge it seems to render OK.

    Attach a Capx

    http://badpadgame.com/webfontbug.capx

    Description of Capx

    Official text object, loading webfont on start of layout then setting text to objects.

    Steps to Reproduce Bug

    • Loading webfont on start of layout.
    • Setting texts to object.

    Observed Result

    Setting text to "text..." render just "text".

    Expected Result

    All periods rendered.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)
    • Edge: (NO)

    Operating System and Service Pack

    Windows 10 Pro - build 14393

    Construct 2 Version ID

    r236

  • It's basically a zip file, you can make a patch that will just add/replace file in the original package using a cmd zip compressor.

    I think I saw a plugin a while ago for handling zip files, try looking for it.

  • Add a scale var to your player, if you don't show the player at 1:1 at the start you need to set the initial value to the correct one else set it to 1, then on collision set this var to self*1.01 then set player scale to var value, you can do the last part on a every tick with dt and possibly lerping to get a more smooth growing transition.

  • Great, thank you!

  • Problem Description

    Layout size doesn't update after loading an internal saved file

    Attach a Capx

    http://badpadgame.com/layoutSizeSave.capx

    Description of Capx

    One layout for saving and one for loading.

    Steps to Reproduce Bug

    • Load layout 1.
    • Click save.
    • Close preview.
    • Change layout's 1 height.
    • Load layout 2.
    • Click load.
    • Try restarting layout.

    Observed Result

    Layout size does not update.

    Expected Result

    Layout size should match current layout and not saved layout.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    Windows 10 pro

    Construct 2 Version ID

    r233

  • Is there a way to delete an internal saved game?

  • You can use a shader called tabletop for the depth view, then just scroll the text with a set Y event.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Suggestion: your effect will be more beautiful if we will be able to turn around the tower completly..."

    You can do that by creating an endless scrolling layout, not so hard to achieve.

  • This looks amazing!

    Makes want to make a tower climb game

  • Not sure that's a good idea, because if its on the game layer you will need to send it to the top with every new object you spawn on that layer and if you going to scale in/out the game layer, you'll probably want the crosshair to stay the same size, not to mention it's unnecessary extra events and behaviors.

  • Because I wanted it to affect the entire surface of the tile object, what should I set it to then?

  • You can use CanvasToLayer and LayerToCanvas to get the X Y of an object on a different layer

    example

    CanvasToLayerX("UI",LayerToCanvasX("game",object.x,object.y),LayerToCanvasY("game",object.x,object.y))

    CanvasToLayerY("UI",LayerToCanvasX("game",object.x,object.y),LayerToCanvasY("game",object.x,object.y))

  • This is even stranger, I made a fresh mini capx and now it doesn't show up at all!

    http://headbangames.com/reflectionFX.capx

  • sure I'll make you something.

  • Cool thanks,

    I tried it, it doesn't work, here is how it looks:

    https://youtu.be/38BN8p6P22w