what is HTML5 whitout CSS3 ?

0 favourites
  • 14 posts
From the Asset Store
Jump on the mole rats and see how far you can go!
  • This is HTML 5 or more js or jQuery ,but what is HTML5 whitout CSS3 they go hand in hand,i miss setting normal CSS3 properties to text like inset textshadow etc.

    anyone working on CSS3 plugin ??

    or c2 should make this HTML5 essential thing in to the engine.

    Loocking forward to c2 update beta on this .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Construct 2 games basically don't use CSS at all. If your question is what is HTML5 without CSS, then the answer is everything you see in Construct 2!

    C2 games are based on HTML5 canvas, which is just a grid of pixels that can be drawn to via Javascript. No need for CSS there, except to position the canvas (which doesn't touch CSS3).

  • hmmm not the best answer

    <canvas> is a tag in html5 that you can apply css on as all other tags in the htmlanguage5

    then it is a CANVAS ENGINE and not HTML5 , HTML5 includes many aspects,css3 ,webgl,webstorage, semantics,nuts and bolts, audio video,Connectivity,presentation , many of this thing are in c2 .so i dont see why to leave out css3 , it should be possible i believe , it would make the engine even more HTML5 , i think you guys can fix it somehow, looking forward to this implementation , it would be awsome for all of us and allso good for the engines reputation

    Thanks in advance

    Dan

  • istavang

    A css3 plugin is on my todo list for a while now...

    I'm on a big project for now, but if you can wait...

  • Canvas is a HTML5 tag, so it's still correct to say it's a HTML5 engine. It's not actually possible to directly use CSS3 in canvas games, because CSS applies to styling DOM elements in a HTML document, and there are no DOM elements in a canvas game other than the canvas itself.

  • well its possible to use several <canvas> in one layout then u can if so easely apply css on to an other child <canvas class="css3" > that should be doible ..think posetiv, its a challage to u guys it would be appriciated

  • is it possible to apply css3 on fontface then ? that was what i was missing. or apply a file style.css to modify all the css3 properties

    on the text element c2 plugin

    any tips there

  • You need to consider it doesn't work with webgl, and the dom stuff cant be easily stuck into anything other than a browser, IE no native, or mobile.

  • well maybe its sounds not quit right ,

    i live by the motto nothing is imposible! its only more or less difficult ;)

    i will figure it out myself then some workaround

  • well maybe its sounds not quit right ,

    i live by the motto nothing is imposible! its only more or less difficult ;)

    i will figure it out myself then some workaround   

    Export your game to html then add the css3 stylesheet in using the index file. Won't that work?

    Or else use spritefonts.

  • YES thats an option sure , but it would be nice to have it complete in preview here , but i will find a way ,no prob

  • YES thats an option sure , but it would be nice to have it complete in preview here , but i will find a way ,no prob

    Ideally you could request from Ashley a empty stylesheet (texbox thing) that is included with exported project. If not used it is exported empty. And can be filled later then, or not at all.

  • its ok i found a way true the textbox element

    fontface icon applyed css3 inset textshadow in textbox

    capx include

    https://gameportalen.com/fontface_icoMoon/index.html

    <img src="http://html-5.no/2insetCSS3.png" border="0">

  • When I started writing web apps (1995) No one used CSS... there was no need for it...JavaScript and HTML attributes took care of everything (IE FX and HTML + Time). CSS is basically just an easy mode for doing things without needing JavaScript. C2 is a much more advanced engine than CSS for doing things without JavaScript (unless writing a plugin).

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)