CSS Class behaviour

0 favourites
  • 1 posts
From the Asset Store
A single chapter from the "Construct Starter Kit Collection" workshop for social studies or history classes.
  • 1. The present Set CSS style action lets me set different CSS values in the System -> On Start of layout one by one.

    Is it somehow possible to use a CSS file and just set the class of, ex text objects to something?

    2 The present Set CSS style action lets me set different CSS values in the System -> On Start of layout. I seem not to be able to use it in, ex Mouse over -events.

    I want to create a CSS file and set objects to different CSS classes like I would normally do in HTML/Javascript. Is it possible?

    Ex, I have a Family: txtMenuTexts

    I want to set them to css Class='Normal' on layout start.

    I want to set them to css Class='Hover' when Mouse Cursor is over them.

    I want to set them to css Class='Normal' when Mouse Cursor is not over them.

    This is basic functionality when doing HTML/Jscript.

    But the only way I can achieve a near (not very) decent management of different styles now, is by using a staggering amount of global variables for the different font faces, sizes and colors + multitude of events, setting those values one by one. Quite unpractical...

    Is there any other way of controlling text styles apart from what passes as CSS in Constructor or global variables?

    Or am I just doing it all very wrongly?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)