Nhdeitmers's Recent Forum Activity

  • Would it technically be possible to rasterize web fonts at runtime?

    As it is now web fonts are quite unusable for me in many situations and sprite fonts are also not really an alternative as they are limited to one size only.

    If there was an object type based on a textbox that would not render the actual webfont, but hide it, rasterize it and show it as a png sprite it seems to me that it would solve the issues connected to web fonts and provide a true "what you see is what you get" workflow?

  • From what I've seen there were some requests for pitch detection, but so far there's no solution for it?

  • Hi,

    Is there a way to define which object in a container is created first? In my case the buttons and the labels share a container, but no matter which one I create the button always ends up on top.

    Also: web fonts have very different alignment from each other and the result I get on the PC is very different from what I get on the phone. To a point where the labels are not even on the button anymore.

    Is there a way to treat web fonts as images (other than manually creating a pixel font)?

    It would be great if there was a way to convert them to images or at least check the precise bounding box of their pixel content and then align them based on that.

    I've been trying around forever, but can't properly align my text.

  • Oh, cool! I'll try that, thank you! :)

  • Hm, OK. Thanks. Not really an option, I'll probably live with the limitation, then.

  • I'm traing to understand what would be the best way to conserve the state of a layout to find it unchanged the next time I go there.

    Persistent layouts seem to be an old idea that people were asking for years ago. Did something come up in the meantime?

    I'm thinking of the case where a layout is a certain scenario that the player can modify. Like a block puzzle in a dungeon room or walls that get bombed open etc..

    While the reset makes sense for a complete restart of the game, in many situations I'll want to maintain the last state of the layout before the player leaves it.

    Manually keeping track of everything that is going on in global variables can be a bit cumbersome, when there's lots of different objects with different properties. And it gets quite complicated when new instances have been spawned with modified variables..

    What's your solution for this?

  • Cool, thank you! Now I understand how to use it. That's a cool trick to know as a workaround!

  • From what I understand save games are generally tied to the currently used browser.

    Is there any other way to create save states that are independant and work with any browser?

    Or is there a way to convert the save data to be recognized by a new browser?

  • Thanks, mtzvd! Could you explain what JSON.Get() part is doing and where it is getting the colors from in your example?

    I've never used it before and have no idea what it does.. ;)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, cool, thanks! That's also a nice way to do it.

    What is the 24 based on? fontsize?

  • FretboardRegion is moved by code

    Nut and Strings exist in the layout, adding them as children works as expected

    Frets and Fret markers are created at runtime, adding them as children does not have any effect, they don't move along with fretboardRegion

    Might the creation be the problem? How can I solve this?

  • Haha, I was stupid. The text field was too small to display the second line. It actually works.

Nhdeitmers's avatar

Nhdeitmers

Member since 5 Oct, 2020

None one is following Nhdeitmers yet!

Trophy Case

  • 4-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies