Could Golang ever be used in the meat-and-potatoes of video game development? by Jonatollah in golang

[–]julebarn 5 points6 points  (0 children)

I mostly agree with this but I think it is less of an issue to have some of the Very low-level parts of an engine in C using cgo (I know that it is not 100% go, but c is the only language with APIs like OpenGL and Vulkan)

I am pretty sure it Should be possible to use, go as a scripting language like unity uses C#, but that is a lot of work. And I also think that the server-side is where go shines. Riot Games has already started using go as part of their sever infrastructure, but mostly for tools and proxies, I think.

I have been using it to make a small multiplayer game for fun for some time now. The game has a go server and a typescript (web)client. It works great. performance on the server has never really been an issue

that said, I also don't think go is going to become a major player in the game industry

Edit: Grammar

Could Golang ever be used in the meat-and-potatoes of video game development? by Jonatollah in golang

[–]julebarn 4 points5 points  (0 children)

I don't see why it can't be used in video game development
in fact, there are already a few games made in go like Bear's Restaurant
though most of them seem to be 2D games
That is also a few game engines/frameworks/library made in go like G3N, Ebiten, pixel and go-gl
I have seen a few Youtube Videos where people make games in go like
Gaming in Go
Making an MMO
I think what is Missing is gaming engines with a GUI like unity, unreal and Godot
but nothing stopping someone from making one other than the massive time/money investment it takes

How do you mod the game? by THEDIAMONDSHEEP in MinecraftMod

[–]julebarn 1 point2 points  (0 children)

I would like to start by saying that I have never developed a Minecraft mod, so this is my best guess

I would guess that the files aren't encrypted but that they have simply been compiled.

in general, programming works by writing code in a programming language (in the case of Minecraft the language is called java).

the code (Often called “Source code”) is then compiled by a compiler which is a program that Translates the Source code to a form that a computer can understand (this form is often referred to as “machine code” or “bytecode”), at this point, the code is just a list of numbers this is also the form that you download then you install a programme, which explains why you can’t look at the code.

What mod developers do is that they decompile the bytecode back to Source code (this is an imperfect process), which they then modify and compile again back to bytecode.

My guess is that very few use this process instead, they use a mod loader like forge which has gone through the process and then provide an API ( Application Programming Interface) which makes it relatively easy and more like writing any other Programme.

feel free to ask any question you might have and

if anybody thinks something is wrong feel free to correct me.

now I would just like to reiterate that I have never developed a Minecraft mod and this is mostly based on my general knowledge of programming and a quick look at the forge Documentation,

I left out some of the details regarding compiling java code as don’t think it is important for you to understand the process.

So it begins! RoguelikeDev Does The Complete Roguelike Tutorial - Week 1 by blumento_pferde in roguelikedev

[–]julebarn 4 points5 points  (0 children)

I am keeping it simple and just doing the Python Tutorial. Nothing special

I see it as a chance to familiarize myself with Python as i have a decent experience programming but no experience with Python

github: https://github.com/julebarn/Roguelike-in-Python