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.

  • saffron
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    That’s so awesome! 🙌 Did your college assign this project to you, or was it something you did just for fun?

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

      It actually started as a high school project and became a bigger project for when I started interviewing for internships in college. The high school project was to make a game and we were encouraged to use Java GUI libraries so I made the classic snake game. It had static frame rates, many bugs, out of bound issues, and many violations of OOP, but it was more than what was expected. I kept it around in a local hard-drive and when I started my undergrad, I realized I needed to make a github and start some projects. I initially wanted to just add a repo for the current code I had but it wasn’t really well written…

      So I decided to abstract it. The more I abstracted it, the more I realized I was moving towards a game engine. Eventually I took a pause but I got an SDE intership interview that wanted me to present a project so I crunched JEngine during my winter break.

      • saffron
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Classic snake to full game engine pipeline 🤣