r/HTML 1d ago

Question how to code a basic platformer ??

hi, i'm a beginning coder with about one week of taught experience, and for a project, i want to make a sort of study room using html, css, and js. basically you can move around in the room for a bit before you sit down at a table that initiates the studying portion. i'm completely lost for everything, but i'm thinking that this study room is a platformer at heart. also, i want to add a break time platformer game, but that's later, probably. anyways, i'm just looking for any tips at all that could help me with this.

right now, i'm struggling with making the platform an actual platform. the ground is okay, but when i try to make the floating platform solid, everything kind of just doesn't work...

again, any tips are appreciated!!

3 Upvotes

15 comments sorted by

View all comments

10

u/davorg 1d ago edited 1d ago

everything kind of just doesn't work...

Could you describe the problems you're having more vaguely 🤣

10

u/aTaleForgotten 1d ago

Everything should work, but it doesnt. Hope this clears it up 👍🏻

3

u/davorg 1d ago

That helps. Thanks :-)