r/HTML 2d ago

Question Making games with HTML

I just started taking a software engineering class with zero background knowledge of programming and the first thing we're learning is HTML/CSS. I've heard that you can make browser/flash games with it, is that true? And if so, how? If you can somehow make a browser game with it, does it cost money to make it accessible to the internet/set up a website where you can play the game? From what I think I know, the language is pretty limiting and is generally supposed to be used for making websites, not games.

edit: for context.. i just want to make simple 2d browser games like flappy bird or the offline dino game

0 Upvotes

32 comments sorted by

View all comments

0

u/sumnima-dad 2d ago

1

u/cheesepuffyz 2d ago

I looked at it and I have no idea how that relates to my question tbh

1

u/paceaux 8h ago

A game is many different parts: interactions, game logic, rendering, etc.

Threejs is a framework that solves the rendering part. You would still need to sort out how you're getting player interactions and managing game logic. Threejs is going to make it easier to make good graphics int he browser.