mOOnpunk's Recent Forum Activity

  • blackhornet, sorry to be a pain, it works great but i meant a sprite sheet size of 1024 not each character, as this one is gigantic (16384x8192) and i think uses hundreds of megs of memory lol.

  • Thanks blackhornet this really made my day!

  • Is there any kind person out there who can spare a few minutes to convert this font for me? I'm on mac osx.

    https://www.urbanfonts.com/fonts/Baloo_Da.font

    1024 size for a hd game, plain white color.

    Thanks very much.

  • Thanks very much.

  • Thanks, but i already tried it. The problem is scirra never seem to use standard formats, always their own json, even transferring the spacing data manually, which takes so long, doesn't seem to work, i dont know if its the outputted image file is incorrect or if i'm doing something wrong. Either way its a long and frustrating approach.

  • How are people making their sprite fonts on mac? I'd really like to hear peoples experiences.

    There really doesn't seem to be an easy way to convert a .ttf along with all the spacing info needed.

    I dont think the problem has been raised because everyone seems to rely on the tool blackhornet created, which is windows only.

    I've done a number of tests and even though the text object has been rewritten for c3, they show that its still not as performance friendly as sprite fonts, particularly when altering the text so i'm hesitant to use them.

    I raised this issue with Scirra and all i get is "post it to suggestions", but its pointless because no ones going to upvote it since its not an issue to windows users due to the free tool everyone relies on. Its frustrating.

    Tagged:

  • Well first you need to work out the width of the screen, incase you are using unbound scrolling the top left of layout is no longer 0, so to get the screen width use viewportRight - viewportLeft.

    Now you need to get the width of all your blocks put together, so combined block width = block.width * number of blocks on a row.

    Then you need to work out how much space is left over for your gaps in-between blocks and divide that by number of blocks, so gap = (screen width - combined block width) / number of blocks on a row.

    Now to do the actual spacing, you can arrange blocks by their IIDs using the optional instance parameter block(IID).expression, so you would do - repeat number of block times, set block(loopindex).x to viewportLeft+(blockwidth*loopindex)+gap

    Same for height.

    I didn't test it so dont know if it works as intended.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • By web font he means "Web Open Font Format" or font.woff file.

    There are lots on the internet you can download, or free converters online that will convert .TTF files.

    You then add them to your project under the fonts folder, and they can then be accessed by the text object as normal. They are then exported with the project.

  • Dark Theme is known to run slower, particularly in the sprite editor.

  • Seems like it just uses raytracing to get where the ball will be. I think for ai to be fun you need to give the impression at least that its not "cheating" which is essentially what its doing.

    Also having the ball fire from the halfway line to start is a bit unfair since if you can't get the paddle to it in time the ai gets the point for not doing anything. If its serving it should start from the ai paddle. In Pong the ball is stuck to the paddle until you press the mouse in which case it is released, this allows you to created the angle of shot against your opponent.

  • Oh i see now, i'll give it a go thanks.

mOOnpunk's avatar

mOOnpunk

Early Adopter

Member since 29 Mar, 2017

Twitter
mOOnpunk has 2 followers

Trophy Case

  • 7-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

13/44
How to earn trophies