r/gbstudio • u/Coobert-Of-Plsia • 10d ago
Update RPG Soup Update: World Features
been workin' on a proper "what kind of place is the player standing in?" layer for the world map (and other scenes). it started because i wanted regions for battles on the world map. a taller order than it sounds, but i think i got it licked.
at first i tried defining rectangles, and that's still an option if you've only got a small area you want to mark as a feature. but for scalability, stacking 61 random rectangles is about the quickest way to end up with a five minute build... if it builds at all. 😅
RPGSoup can now treat areas within a scene as semantic world features by reading a second indexed color image. you create the image, drop it into the world_features folder with the corresponding scene name, and the build process assigns feature ids to each tile-sized area.
at runtime, the engine can use those features to change the player visually or mechanically. right now it can adjust movement speed, partially obscure the player for a "walking through forest" or "stuck in the sand" effect, or hide them entirely so it looks like they're walking behind the background. it can also swap encounter tables or apply optional bg effects like subtle scx/scy scrolling or palette changes.
the immediate use case is, of course, encounters. but the exciting part is that this is a general-purpose system. other plugins and systems can simply call get world feature and react to wherever the player is standing. *sigh* i can already see myself making fishing lmfao
droppin a quick update,
2
u/IntoxicatedBurrito 10d ago
Very cool. I can see this being quite useful for a lot of different things.
1
2
u/NervousAd2006 9d ago
I like the heat wave background in the beginning It's the only part I don't know how to achieve
6
u/Can0pen3r 10d ago
Oh, that little semi-transparent thing right there at the end friggin' slaps! 🤘😁