Hi all,
I’ve never shared this publicly though it was my intent. I figure to help contribute to Lemmy, this would be a good first post.
I wrote a 2D game Engine in Java as an undergraduate project. It’s fairly simple: audio, sprites, physics, and component based architecture. If you’re interested in writing a small 2D game in Java and have past experience with Unity, you may find this to be as a helpful starting point. I will say this: this engine is not meant for serious game development – I started this project with ‘can I do this?’ mentality.
Though I no longer work on this project, I hope that someone may find use of it.
My first project was “can I build a PHP CMS off the back of the authentication system for this phpBB forum my World of Warcraft guild is using?”. And the answer was “sort of but you’re a newb so it’s gonna break the first time someone puts an apostrophe in their guild application!”
But this is the best way to learn, right? 😄
Certainly, out of curiosity did was there an API to the phpBB forum that you used to build the CMS?
Nope! I’d only just started learning so as I recall, just sort of hunted through the forum code until I found the likely looking functions and then put them in my script (no doubt via some extremely precarious and inadvisable inclusion method, and no doubt it was extremely insecure but sadly the code is lost to the mists of time). There was nobody there to tell me it was wrong so I just experimented with things until something worked!
Certainly did the trick though. Our website ended up great (once the apostrophe thing was fixed) and I started working as a web dev instead of an underpaid office admin!
I think the point of this mostly off-topic nostalgia trip is that I totally agree it’s the freedom of realising you can maybe make anything you set your mind to that hooked me on programming too. I see a lot of kids coming through school nowadays who are just doing it for the money which I totally understand, but they do seem to be missing out on the “actually enjoying it” part. You’ve gotta try stuff, make stuff and break stuff, that’s basically my life philosophy lol.