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.

  • mramazingman@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Absolutely, I’m not sure if everyone else started out the same but I believe that’s what hooked me on programming: the autocracy of trying out a new idea just for the heck of it. I think I’m still yearning for that same level of freedom and moving my career towards a position with more independence.

    • TeaHands@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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? 😄

        • TeaHands@lemmy.worldM
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          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.