+ 2
Is it possible to build games using html5 and css3 only?
answer: yes ;) check out link below https://codepen.io/elad2412/pen/hBaqo
16 Antworten
+ 1
no, add JavaScript
https://code.sololearn.com/Wiv9Z9z3L6Az/?ref=app
+ 3
Connor Q. Hudson
thanks for your opinion :)
it's not like i've asked if it possible to build (...), because i want to stop where i am atm or i'm not aware that JS is required to build games ;)
it was just cuz of pure curiosity. i liked the code of the game i found, it's impressive that the guy was able to show how much you can get out of html5 and css3 only!
+ 2
Jakob Marley , tnx for answering.
It's not about avoiding learning other stuff ;)
I was just wondering if I can practise using html5/css3, before start learning JS.
+ 2
@Fjodor
Gotcha! :) I'd recommend getting started on JS sooner than later. You could easily go through the course here in an afternoon. That'll make what you're practicing a lot better, and HTML/CSS/JS go hand-in-hand with one another.
Either way, best of luck to you in your studies! I'm sure you'll end up creating some reallly awesome stuff. Keep pushin!
+ 2
Martin Taylor , I was pretty much sure that it's not possible to build games using html5 and css3 only, just wanted to make sure.
there are so many peopel here, who are much more experienced, so always worth to ask ;)
I've checked the link posted by Jakob Marley
Definitely going for JS straight after html5/css3.
tnx for your answer too :) !
+ 2
Jakob Marley Martin Taylor Bartosz Pieszko đłđŹBrains I did some research and apparently it is possible to bild a simple game using html&css only :)
Check this out, it`s cool:
https://codepen.io/elad2412/pen/hBaqo
+ 2
I feel like you could make a very poor game using css and html ONLY.
JavaScript will benefit you greatly because HTML isnât even considered a programming language. Itâs a âMarkup Languageâ
This goes along with CSS. Itâs not even a programming language, but instead, Cascading Style Sheets.
Basically,
HTML is for page structure,
CSS is for style and feel of the page,
And JavaScript is for the interactivity of the page.
Sorry if Iâm wrong, but please note that this is PURELY my opinion and is PURELY based upon what I have heard and currently know.
+ 2
Didi Georgel Danaila - cool game, btw :) !
+ 1
If you want to make browser game then try to learn JavaScript additionally.
+ 1
It's possible. There are a lot of better options to pick from though, so I wouldn't do it if your only reason is that you don't feel like learning other stuff.
However, since you're asking:
https://html5gameengine.com/
^Database that has a big listing of various engines for HTML5/Javascript. You can find a lot more and additional resources by utilizing a simple Google search. ;)
*edit*
I just read the other responses. I'm 100% assuming that you either know or are planning to learn Javascript. Games or not, you shouldn't stop at just HTML/CSS3.
+ 1
Well I would have said no until I found a sololearn code which sadly no longer exists.This guy built an interactive 3d world fps shooter with ONLY html and css.How did he respond to touches and things like that he used css's hover property about the rest I don't know he pulled it off,but yes it is possible
+ 1
You'll need javascript to tell various components how should they behave.
+ 1
Didi Georgel Danaila,
Apparently, you can:
https://codepen.io/elad2412/pen/hBaqo
And yes, it's like an art for art's sake, not very efficient or best choice, but possible ;)
+ 1
very interested. I didn't know that is possible. Thanks Fjodor đ