Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

King's Crook

A made-from-scratch combat focused RPG set in a fantasy middle eastern land. · By EMMIR

what all tools were used to build this game?

A topic by qwertyasda created 77 days ago Views: 114 Replies: 5
Viewing posts 1 to 3

Since it doesn't use any graphics API, what tools do you use and how do you make this game cross platform? Do you use glfw or some audio library or do you write that yourself too?

Developer

Hey! To make it cross platform I write backends for the different platforms.

A few platform specific things are needed to be done:

1. Making a window that I can draw an image on
2. Getting keyboard and mouse input
3. Audio

On macOS I use X11 and AudioToolbox, on Linux I use X11 and ALSA, and on Windows I use Win32 + GDI + WinMM

I have some code on GitHub that demonstrates some of these things (minus the audio):

https://github.com/LMP88959/PL3D-KC

Why didn't you use a window library like glfw or sdl2? Wouldn't that make it more cross platform? Or is it to simply challenge yourself?
I do enjoy game engine programming, but I would never dare to write a renderer on the CPU. Good luck on your journey. I will be following this

Developer(+1)

Yeah using glfw or sdl2 would make it more cross platform for sure but I did my own backend to both add to the challenge as well as learn about more about how everything works. Also, sorry for the late response, I'm not sure why but I don't get notifications for these messages.

Good luck on your journey brother

Developer

Thanks!