Jump to content


Photo

Special Characters help!


  • Please log in to reply
6 replies to this topic

#1 redfid

redfid

    GMC Member

  • New Member
  • 33 posts
  • Version:Unknown

Posted 21 November 2010 - 12:30 AM

Hi, can someone help me with special characters. I use Game Maker 8 pro with gml. I wanna know how to use special strings like "é". When I write them, in the game they just don't appear <_<

EDIT: I also wanna know how to change the color of a certain part of the text for example
str="CYNDAQUIL(change this in red), the fire-(the - is invisible)type

Edited by redfid, 21 November 2010 - 12:49 AM.

  • 0

#2 Davve

Davve

    Procrastinator

  • GMC Member
  • 3665 posts
  • Version:GM8.1

Posted 21 November 2010 - 12:47 AM

In the properties of the font you're drawing with, click the "All" button.
  • 0

#3 redfid

redfid

    GMC Member

  • New Member
  • 33 posts
  • Version:Unknown

Posted 21 November 2010 - 12:50 AM

In the properties of the font you're drawing with, click the "All" button.

Wow it's an honor for you to reply master Davve (you helped me alot) but that's not what I meant look at my code above
  • 0

#4 Davve

Davve

    Procrastinator

  • GMC Member
  • 3665 posts
  • Version:GM8.1

Posted 21 November 2010 - 12:59 AM


In the properties of the font you're drawing with, click the "All" button.

Wow it's an honor for you to reply master Davve (you helped me alot) but that's not what I meant look at my code above

Look in the scripts section and you will find a draw_text_colorcodes I made a while ago. :D

str="[color=c_red]CYNDAQUIL[/color], the firetype"
draw_text_colorcodes(16,16,str)

  • 0

#5 redfid

redfid

    GMC Member

  • New Member
  • 33 posts
  • Version:Unknown

Posted 21 November 2010 - 01:15 AM



In the properties of the font you're drawing with, click the "All" button.

Wow it's an honor for you to reply master Davve (you helped me alot) but that's not what I meant look at my code above

Look in the scripts section and you will find a draw_text_colorcodes I made a while ago. :D

str="[color=c_red]CYNDAQUIL[/color], the firetype"
draw_text_colorcodes(16,16,str)

Thanks but what about the "é"?
  • 0

#6 Davve

Davve

    Procrastinator

  • GMC Member
  • 3665 posts
  • Version:GM8.1

Posted 21 November 2010 - 01:27 AM




In the properties of the font you're drawing with, click the "All" button.

Wow it's an honor for you to reply master Davve (you helped me alot) but that's not what I meant look at my code above

Look in the scripts section and you will find a draw_text_colorcodes I made a while ago. :D

str="[color=c_red]CYNDAQUIL[/color], the firetype"
draw_text_colorcodes(16,16,str)

Thanks but what about the "é"?

Double click on the font you are drawing with, and check the "All" button under "Character range" to cover all 255 characters.
  • 0

#7 redfid

redfid

    GMC Member

  • New Member
  • 33 posts
  • Version:Unknown

Posted 21 November 2010 - 01:31 AM

Ah thanks alot and thanks for your awesome tools :D
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users