this post was submitted on 19 Jul 2023
11 points (100.0% liked)

GameDev

2800 readers
1 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! โ™ฅ

GameDev Telegram chat.

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

That's so awesome! ๐Ÿ™Œ Did your college assign this project to you, or was it something you did just for fun?

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[โ€“] [email protected] 1 points 1 year ago

Classic snake to full game engine pipeline ๐Ÿคฃ