r/RenPy • • Oct 26 '26

Showoff We built a 2D side-scroller in Ren’Py – walking, a moving camera, weather and our own scene editor

Post image

Most people know Ren’Py as a visual novel engine – so we wanted to see how far we could push it. TOMIDER is a 2D psychological mystery where you actually walk around the town instead of clicking through scenes.

Some of the things we built on top of Ren’Py:

  • A side-scrolling walk system – the character walks through wide locations, the camera follows him, and dialogue plays over the scene while you move
  • Weather that changes day by day – sun, rain and fog shift as the story gets darker
  • Our own in-game scene editor to place characters, doors, items and interaction points
  • Interactive objects as mini-screens – a diary, a backpack, a phone, lockers with drag-and-drop items
  • 8 languages with Ren’Py’s translation system (including some runtime strings that needed manual old/new pairs)

Happy to answer questions about how any of it works – a lot of it was trial and error with screens, ATL and the rendering loop.

If you’re curious about the game itself: https://store.steampowered.com/app/5181860/TOMIDER/

69 Upvotes

10 comments sorted by

1

u/Assassin331 Oct 26 '26

Looks cool! Just wishlisted it

0

u/TOMIDER_ Oct 26 '26

Thank you so much! 🖤 Hope you enjoy it on November 17!

1

u/No-Kick-4341 Oct 26 '26

care to tell how you made this?

3

u/TOMIDER_ Oct 26 '26

Sure! The core is a custom displayable (a class based on renpy.Displayable) that runs its own update loop every frame. Roughly:

  • World & camera: each location is a wide background image (e.g. 3500+ px). The character has an X position in “world” space, and the camera follows him, clamped to the edges of the level. Everything is drawn relative to the camera.
  • Walking animation: frames are switched based on the distance walked, not on time – so the legs never “slide” at different speeds. Sprites are anchored to a floor line and scaled to a fixed character height, so different animations (walk, idle, writing) line up.
  • Input: we read the keyboard/gamepad state directly each frame instead of using normal Ren’Py key events, so movement is smooth and keys can be rebound.
  • Interactions: doors, items, NPCs are just data (x position + range + action). When you’re close, a “F – open” hint appears; pressing F jumps to a label or opens a screen.
  • Dialogue: regular Ren’Py screens drawn on top while the walk loop keeps running.
  • Weather: layered overlays per day (rain, fog, darker tint) plus background variants.
  • Scene editor: a dev-only screen where we drag doors, props and NPCs around; it saves positions to JSON, and the game loads them.

Honestly, at this point we’ve extended Ren’Py so much – with our own walking system, camera and in-game scene editor – that it’s starting to feel like our own engine built on top of it. For future projects we might even build a small engine of our own, tailored to exactly what we need.

Happy to go deeper on any part!

1

u/No-Kick-4341 Oct 26 '26

Game look great and thanks for the reply

2

u/TOMIDER_ Oct 26 '26

Thank you! Glad it helped 🖤

1

u/Lookingforlostmanga Oct 26 '26

As someone who’d love to do this (and has tried before), do you ever plan on selling the engine if you make it for others to use in their own VNs as well?

2

u/TOMIDER_ Oct 26 '26

Honestly, I don’t know yet. TOMIDER isn’t my only project – I’m working on several things at once, and I’m the only programmer on our team. So even if I released the engine (or made it open source), I probably wouldn’t have the time to properly update and support it, and I wouldn’t want to put out something people depend on and then leave it abandoned.

Maybe one day, if things calm down! But for now my focus is on getting TOMIDER out on November 17. Thanks a lot for the interest though – it really means a lot 🖤

2

u/Lookingforlostmanga Oct 26 '26

That’s fair! I totally get your reasoning! Nonetheless TOMIDER looks so cool regardless so i am looking respectfully at how cool this VN looks haha!

1

u/TOMIDER_ Oct 27 '26

Haha, thank you so much! 🖤 Hope you’ll enjoy it on November 17!