I'm building my first ever game, Echoes of Ember! It is a small pixel-art platformer made with Python and pygame-ce.
My favorite thing I've built so far is the parallax background. It's three layers (sky, distant ruins, mid ruins) each scrolling at a different speed as the camera moves, which gives the whole scene a sense of depth:
ParallaxLayer("sky.png", scroll_factor=0.0, ...)
ParallaxLayer("distant-ruins.png", scroll_factor=0.3, ...)
ParallaxLayer("mid-ruins.png", scroll_factor=0.6, ...)
Lower scroll factor = moves less = feels farther away. Simple trick, but it's the part I'm proudest of so far.
This is my first game ever, so I'm mostly posting this to get feedback and suggestions from people who've been down this road before...what would you do differently, what am I missing, what should I prioritize next?
I'm logging progress on this as part of my Hack Club program: Link
Repo is here if you want to poke around: Link
Top comments (0)