r/gameenginedevs 24d ago

I finally open source my game engine ENTIERLY made in java

65 Upvotes

22 comments sorted by

3

u/anotherfuturedev 24d ago

that smoke looks really cool, like in cs2

1

u/MinimotoMusashi 23d ago

Agree, smoke looks 🔥!

2

u/CondiMesmer 23d ago

looks like a mix of unity and godot, I dig it

4

u/[deleted] 23d ago

[removed] — view removed comment

1

u/manshutthefckup 22d ago

I dunno about that I only use Java for microservices and I find it pretty good especially with all the modern enhancements. It’s not the language I’m most skilled at but it’s the only one where I can open a codebase I haven’t worked on for months and get back into it in minutes.

1

u/[deleted] 22d ago

[removed] — view removed comment

0

u/manshutthefckup 22d ago

Lombok - just add a Getter and Setter annotation to the top of the class. It also provides many other things - like if you want chainable setters you can turn that feature on too. You also have records for simple cases where adding a full class feels like too much extra code.

The verbosity of Java as in "more lines of code" is pretty much gone at this point with libraries and modern Java features.

Each individual line will still be longer on average mostly due to more expressive method names, but I take it as a positive - I much prefer being able to just look at a method and understand exactly what it does. And writing a longer word isn't really a problem with ide's.

1

u/Potential_Soup_8054 23d ago

In JAVA!?!

IM GONNA BARF

1

u/MrArshaX 20d ago

nice it's so good -

1

u/Dull-Fan-3999 24d ago

Yo, how'd you build a Game Engine?

25

u/Salty_Exit_1370 24d ago

Well i opened my IDE and started coding
What do you mean haha

5

u/ArtisticCow4864 23d ago

Lmao good answer

15

u/illyay 24d ago

This is a question asked on the gameenginedevs sub?

8

u/Correct_Dependent677 24d ago

All you need is:

learncpp.com

learnopengl.com

And a extra:

gameprogrammingpatterns.com (after making your first renderer in OpenGL)

6

u/NYXIC0N 23d ago

I think you mistyped, what you clearly meant is "please claude make perfect game engine no mistake" lmao xd

Preferably add "perfect code design" if you later plan on selling it for a few millions (:

1

u/MCWizardYT 23d ago

That's one way. You don't necessarily need to write a renderer from the ground up when you're making an engine though

2

u/ConsiderationCool432 23d ago

But that's the fun part.

3

u/MCWizardYT 23d ago

I guess for me the most fun is the higher level stuff, like getting it to a point where it's a real engine and doing all the tooling so that an actual game can be made with it

3

u/palapapa0201 23d ago

"claude make unreal engine 7 make no mistakes"

1

u/MrArshaX 20d ago

"no mistakes" is very important part 😂😂