ChaosTheoryDev's Forum Posts

  • 2 posts
  • I am having some issues with the Font component. At the moment my game has some buttons with text centered inside them. I am using the Font asset and have set the Horizontal and Vertical alignment both to "center". The font sort of centers, but not quite. Generally, it sits a little bit below where it is meant to, which becomes more pronounced the greater the font size. This seems to apply no matter the font I use (both default fonts and custom imported). Interestingly, disabling "Enable BBCode" causes the font to dramatically move up, but still doesn't vertically center it. See image attached for a visual example of the issue. The font has ample room inside the button, and I have tried increasing the container height in case of padding issues, but it doesn't change anything.

    From my reading around, the solution most people seem to gravitate towards is SpriteFonts, but the font I am using needs to be dynamically sized, so I don't believe that is possible in this case.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am currently developing a suite of 8 games, all of which are fairly similar, with their core gameplay differing. Each game will have the same flow, such as "Select Settings" -> "Main Menu" -> "Game" -> Leaderboard. The games themselves are fairly rudimentary, so I'm not worried about the projects getting awfully complex.

    I'm currently trying to anticipate a particular issue I forsee happening down the track early, wherein I decide I want to update some animations or part of the generic game flow, and then have to duplicate my work across all 8 projects to keep them up to date.

    Does anyone have any suggestions on ways I could make this process more painless? Is there a way to structure the game in such a way that I would be able to copy certain project files from one game to another without causing references to be broken? My experimenting so far as not been wholly successful.

  • 2 posts