mOOnpunk's Forum Posts

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

  • I mean a corner where 2 walls meet, like an L shape. In your example if you put a wall going vertical next a wall going horizontal the path goes through the corner.

  • First, you could add directional conditions on wall tiles and its opposite tile, so an entity could walk along it but not through it.

    Like this (grass tiles act as walls) : https://www.dropbox.com/s/4xaq1y5yt97hi ... .capx?dl=0

    Hey this is great. How would you handle the 4 corner walls though? I can't seem to get the right combination of directions.

  • If you indicate that the function has a return value, then it can only be called as an expression and not as an action. Only functions without any return parameter can be used as an action

    Ah that explains it, thanks.

  • This happens to me as well. If i create a new function and set its return value to anything other than "none" then that function doesn't appear in the list, so it can't be called.