I've been experimenting with using Compose to rend...
# compose-desktop
b
I've been experimenting with using Compose to render a retro-pixel-art style RPG. All programmer art for now. Having fun though. The pixelated text is rendered using normal compose
Text
function, I made the human sprite in Aseprite. And yes, there are hats.
๐Ÿ‘๐Ÿป 2
๐Ÿ‘Œ 19
๐Ÿ˜ฎ 9
๐Ÿ‘๐Ÿผ 1
๐Ÿ‘ 3
t
That's really cool! The art is also really nice, I'm looking forward to see your game progress ๐Ÿ‘๐Ÿป Is it open source?
๐Ÿ™ 1
b
I think I would like to open source some or all of it when I'm less ashamed of the code quality ๐Ÿ™‚
c
I'd love to see the most basic version of this games code.
First things that come to mind is... how does the little guy move. how is the background/level built? how is this only with compose! Way cool. id be very interested in just a stripped down version of this game. like walking, and level. that could kickstart me to build my own!
b
Thanks for the interest, I hope to have time to share some of the code in the future. At this point I'm still figuring out if I like using Compose this way.
I'm also toying with with writing Behaviour trees using coroutines.
t
Yeah, I mean as much as this project is nice I have a weird feeling Compose would make your life 10x harder when creating a game, it would be better to use a dedicated game engine or framework. Although what you have demonstrated is the fantastic capability of Compose.
b
That depends entirely on the game. The more UI-heavy your game, the more useful Compose will be, since it really is a fantastic UI library. And the
Canvas
is good enough for most simple 2D graphics rendering.
๐Ÿ‘€ 2
I actually converted this project from libGDX and I find the Compose version waaay simpler
t
That's interesting, because I was actually wanting to get into game development with Android Studio, most people I spoke to recommended a game engine - thanks for changing my perspective on things.
๐Ÿฅณ 2
b
I saw this other Compose game that is already open source. I recommend checking it out! @Colton Idle @therealbluepandabear The source code is very clean, easy to follow: https://github.com/mariodujic/Neon
t
Interesting, I'll take a look.