Cipriux's Recent Forum Activity

  • happyhardik I sent you a P.M.

  • Agni   thanks for you answer. Don't understand the ## part. I tried to replace """ with str("") and str(") and str(""") but didn't get the error for the first one but the width stays the same.

    Anyway I just found the solution using trial and error.

    instead of using Set character width to """ or str(""") I just put ("""") or str("""") and now is working :)

    Thanks

    P.S. I send you a P.M. if you are still want me to make that video give me a sign....but is not much to tell, my english in not native

  • nobody?

  • I have signed up...but cannot share the link to file from my computer via right-click like in dropbox. I have to share it from website:(

    [EDIT] If you have a mobile device and a dropbox account, download their app and get extra 48 GB (or maybe is just for Samsung devices). worth a try

  • You can customize the IDE and put the search box in the Title Bar

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/search_bar_00202.png" border="0" />

  • I am using the official Sprite Font and trying to set character width to a double quotation mark, but I get this error:

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/Error_3454.png" border="0" />

    How to solve this ? Do construct uses escape characters? \" ????

  • Agni It is time consuming, but you do it one time only for every font that you want to use. I had made a template in CorelDraw and make my life easier when I want to change the font type. I just select the individual characters and change font type.

    [EDIT]

    Example 2

  • Agni If your font sheet has enough space around the fonts, you can use Photoshop to make multiple selection and then use move tool. I am not expert in PS but this will do the trick.

    You can see an example of what I mean.

    Example

    P.S. I am pressing arrow keys to move the selection pixel by pixel

    and sorry for my lame selection technique :P

  • ByR even Ashley advice that replacing the old SpriteFont with the new one should be done on a new project...well, I was desperate about my fonts and I had to replace 90-100 instances. I am glad my project is not broken:D

  • Ashley Thanks for explain it.Is good to know the reason behind this decision. I hope this choice stays the same for future upgrades so I can make my Sprite-sheet modifications.

  • ByR I had problems with the old SpriteFont. In my case, I had my SpriteFont text taken from instance variable and when tested in CocoonJS 1.4 All instances of SpriteFont had the same text. I didn't investigate too much the problem because tried the official SpriteFont and everything is working well. I had spend 4 hours of replacing the old SpriteFont with the official one and it is ALL GOOD !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley I like the new official SpriteFont but I think "set character width" should be symmetrical . For the moment it cuts only from the right side of the character, forcing me to modify the PNG itself and offset narrow fonts to the left. (Or is there a better way to do it?)

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/spritefont_34543.PNG" border="0" />

    I made each char 64x64 px and have "Character spacing" set to -20

    For the second text I also set the width of "I" char to 52 at the start of layout

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/spritefont_678.PNG" border="0" />

    Character map in Windows shows characters centered on the containing squares

    Cheers

Cipriux's avatar

Cipriux

Member since 27 Feb, 2013

Twitter
Cipriux has 7 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies