How do I use css with text object

Just started using Construct 2? Post your questions here

Post » Mon Sep 29, 2014 9:55 am

Hi every one, I'm working on a game for a client, they want to put very long texts (like 12 pages). My problem is they want to change the font in a few lines to make them "shine" and more "atractive". By now I'm using a single notebook file. But I wonder if I can put this text in XML put some tags and use this to put css style just in this lines they want to be cursive.


Thank you every one
B
9
S
2
Posts: 13
Reputation: 601

Post » Mon Sep 29, 2014 1:31 pm

You can't CSS style text objects in Construct 2. It is not HTML text, it's rendered directly in to the canvas.

For complete control over text's appearance, your best bet is either to actually use a normal HTML document, or Sprite Fonts in C2.
Scirra Founder
B
397
S
236
G
88
Posts: 24,408
Reputation: 194,506

Post » Mon Sep 29, 2014 3:22 pm

Thank you very much :) , saving my day, I haven't read sprite font yet, so I shall read the manual and i'll try.
B
9
S
2
Posts: 13
Reputation: 601


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests