Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
orto11567y@dontPanic I know but it's honestly my most comfortable language.
I'm learning concepts mostly.
These are 2d games they aren't very resource heavy to begin with. -
I know that feeling of being too lazy to learn libraries so you just do it all yourself 😂 but honestly, i think it is not even that stupid, i mean it will be way easier for you to fix bugs, you will know exactly what is going on in your program, and you will learn a lot from it.
I have used a library once and the documentation was not really that specific on many things and it just caused me headaches because hoe am i supposed to know how you should use this library when the documentation is incomplete? 😶 -
@orto I would also recommend going for something... faster 😅 It was always my fear that I put years of work into the project and in the end i have 30 FPS and lag spikes. Thats why I just initially went for C++. And honestly: Its not THAT hard. Its a bit more low level and you have do write more to do simple things but it is much more straight forward actually.
-
coolq48267yFinally, someone who respects 3d engines. I've made a few, I could share them if you want 😎
At the moment, I'm having trouble working out textured triangles 😪
(any help appreciated) -
LuPaw6047y@simulate when I started with web dev i intentionally did not use any libraries for quite a time, because that way I would understand exactly how everything worked.
If you just start using frameworks right away everything just works somehow / magically and you are never sure what happens behind the scenes exactly. -
orto11567y@vexusia
Is it the lack of memory management/garbage collection.
Or simply that it's overly verbose -
Cyanite85577y@orto @coolq
Like, a.. Whats it called..
...
Whatever Project Zomboid is..
I need an engine like that for a magic-based RPG building god game I want to make. -
orto11567y@Cyanite your UI is gorgeous.
And then I read this
Everything in this folder is for in-game usage.
The viruses are purely fictinal, and are not meant to be actually used.
!!!!!WARNING!!!! SOME OF THE .sh FILES CONTAIN IN-GAME MALICOUS CODE THAT 'MIGHT' ACTUALLY BE ABLE TO RUN ON YOUR COMPUTER!!!!!!
!!!TAMPER WITH THESE FILES AT YOUR OWN RISK!!!
what!!!!!!!! -
Snob20927yHey Minecraft ist made in Java so why not making own games in Java....it's not the fastest but it's fast enough imho
-
Cyanite85577y@orto
Ah, yes. That's the Python Edition. It was abandoned a while ago.
It says that because the files are actually files. So you could create a file called hack.sh and run it outside of the game.
The java edition uses virtual files, but you wont see that until Pre-Release 10 comes out. -
Cyanite85577y
-
Cyanite85577y@orto
It was originally based on a specific linux distro (I forget which one, maybe mint?) but now I just add whatever in a very generic sharp square style. -
coolq48267y@simulate
I'm talking much more fundamentally. I used absolutely _no_ libraries. I could only place pixels to the screen.
This meant that I did perspective calculations from scratch.
I got stuck on textured triangles because I do not know how to transform an image mapped to a triangle by hand. All I know is that it uses concepts such as Linear Algebra (maybe).
As of now, I'm stuck with flat coloured objects.
A simple 3d engine works like this:
Create array of vertices.
Create an array of triangles which consists of three elements, the first, second and third points, which index the vertices.
For every X, Y and Z position, in every triangle vertex calculate the Perspective Formula:
'x, y *= (fov / z)'
Now transform them:
X = [Cos, -Sin]
Y = [Sin, Cos]
Now draw them to them to the screen. You may either use a 2d library, or make one from scratch 😂
What I want to implement: http://www-users.mat.uni.torun.pl/~...
Scroll down to Texture Triangle. -
@coolq
No but it is like the third most common thing.. I mean you can just work with plain colors but you need textures for any of the surface shading beyond that so its actually kind of important.. imho😂
anyways, different people, different goals, different priorities right? didnt mean to be mean 😅 -
coolq48267y@simulate Haha, don't worry no offence taken.
Texturing is important, but hard and CPU intensive (not a problem for GPUs).
I'm working on implementing it, don't worry 😂
Once I've learnt how it works, I'll be on the way.
Problem is, once I've done that, I'll want to implement lighting 😪
I've got a few ideas of my own, too. Maybe they'll be simpler? -
Let’s just say m not patient enuf to not use game engines... ( c++ )
But kudos to u for being so brave and patient 😎😎
Related Rants
-
spongessuck9How do mobile sites know when I'm about to tap a link, and then load something and shift everything so that I ...
-
s3id0n10When you drink a little too much and wake up to find you wrote a program called baconTranslator that translate...
-
thatdevgirl3I was almost finished a website when the client changed their mind and decided that what they actually wanted ...
So I'm learning 2D game dev in java.
(I know)
Being stubborn I'm coding everything myself because, you know who needs libraries.😅
And
Holy toenails ,I have mad respect for the guys who build game engines. Especially 3d engines.
Y'all are beasts.
rant
how?
just how?