Alex Macafee :raylib: :linux:

I'm not American...

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-08-27

Note to self, don't re-read your own code from when you were initially learning a new language...

#odin #gamedev

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-07-04

This is going to be my villain origin story mark my words...

#dev #golang #zig #OdinLang

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-07-02

@EMR oh awesome, had never seen that book, will have to look into it

Edit: turns out I've had a PDF copy from humble bundle for years now

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-07-02

Free #gamedev book idea: A book that runs through the core principles of building a basic game from some top genre's like survival, RTS, tower defense, ETC.

Wouldn't need to be in a specific language but just provide and explain the logic and math behind systems enough that someone could build a BASIC game in their language of choice.

I'd buy it

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-06-30

Was going to keep this mess a private repo but meh, 'finished' working on a simple texture atlas creator that allows for origin points and sprite renaming as well as a basic #raylib implementation!

Warning.. It is not coded well at all and has not been stress tested but I am sure someone will have a use for it :-)

github.com/lxmcf/sprite-bundle

#c #gamedev

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-05-08

Slowly working on a a texture atlas creator with some basic meta data editing (Name, origin point, etc) and finally starting on UI, it's spaghetti code right now but's its something!

#raylib #c #gui

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-05-04

So been trying to find a good #json parser in #C, all options I found were over complicated or split into tonnes of files and not easy to just slap into a project...

Not once did I think to go through my starred repo's and found parson... Oh my god it's perfect!

No it's not the fastest but by far the easiest to integrate and learn, cannot recommend enough

github.com/kgabis/parson

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-05-01

First attempt at rectangle packing... I'd say that's not too bad!

No it's not fast but right now; don't care!

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-05-01

You know what.. It works... It may be janky and awful but it works!

#c #raylib

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-04-04

You know you are about to enter a very dark place when this in your header...

#c #win32 #posix

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-03-13

Well after using the #win32 API all day to try and build a wrapper... I can safely say... I will not be doing this often.

My god it's so convoluted and just abstraction on top of abstraction on top of abstraction... Why do I need 5 different typedef's for what amounts to a void pointer :-(

Oh also CL is just awful, I will not elaborate.

#c #linux

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-02-21

So I am working on a simple review website using Jekyll, tailwind and deploying via vercel, was going to go ahead and use prettier to format everything correctly with the tailwind plugins... WHY DOES WEB DEV NEED SO MANY CONFIG FILES.

I miss having just .editorconfig and a makefile...

#webdev #tailwind

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-02-03

So turns out I had mir wrong and didn't realise it was a wayland based compositer... Hmmmm

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-02-02

Don't suppose anyone has successfully gotten #raylib working on #ubports?

Suppose you would need to use SDL to support MIR but my brain is far too smooth...

#gamedev #c

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2024-01-22

Sometimes caveman code is all you need...

#c #gamedev

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2023-12-03

@hmans have not messed with 3D unfortunately so can't really talk for that avenue but for 2D; all up to you (unless I am massively wrong)

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2023-12-03

It doesn't look like much but this is 10,000 squares with local and world position, scale and rotation...

Not too shabby for 500+ FPS! (No multi-threading because I am too smol brain for that)

#gamedev #raylib

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2023-11-28

So looks like #gamemaker works out of the box on Fedora as long as you extract the debian file...

Install steam runtime and a couple tools, done.

Might have to give it another whirl as long as my pre-subscription license works!

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2023-11-25

I really envy people using a game engine sometimes, always prefer the hand rolled method but spending the past week trying to get camera sway really does suck...

#gamedev

Alex Macafee :raylib: :linux:lxmcf@mastodon.gamedev.place
2023-11-18

For those interested, plan to go through and completely redo the #raylib #VAPI to implement 5.0.

Hopefully porting across more examples too!

github.com/lxmcf/raylib-vapi/t

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst