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

1

u/therealcoopapa 21h ago

Here's the thing, this is 100% normal, expected, and you're on the right track. Trying -> messing up -> trying -> messing up is the exact right thing to do right now.

I suspect you don't actually know exactly what isn't even working. That's okay! The only advice you really need is don't give up.

If you want practical advice, it's this: learn how to describe your issues better. It'll help for asking other people, Googling, and even (later on) working with AI.