#⌨coders-cave

1 messages · Page 51 of 1

orchid frigate
#
string vertexShader = @"#version 330 core
                                    layout (location = 0) in vec2 aPosition;
                                    layout (location = 1) in vec3 aColor;
                                    out vec4 vertexColor;
                                    
                                    void main()
                                    {
                                        vertexColor = vec4(aColor.rgb, 1.0);
                                        gl_Position = vec4(aPosition.xy, 0, 1.0);
                                    }";

string fragmentShader = @"#version 330 core
                                        out vec4 FragColor;
                                        in vec4 vertexColor;
                                        
                                        void main()
                                        {
                                            FragColor = vertexColor;
                                        }";
barren shale
#

Shader language

#

I dont think its a problem with the shader

#

If its showing nothing

#

The code for displaying the ahader

#

Send now

#

Or i kell u

orchid frigate
#
uint vs = glCreateShader(GL_VERTEX_SHADER);
            glShaderSource(vs, vertexShader);
            glCompileShader(vs);

            uint fs = glCreateShader(GL_FRAGMENT_SHADER);
            glShaderSource(fs, fragmentShader);
            glCompileShader(fs);

            glCreateProgram();
            glAttachShader(shader, vs);
            glAttachShader(shader, fs);

            glLinkProgram(shader);

            VAO = glGenVertexArray();
            VBO = glGenBuffer();

more shader code

#

uhh

barren shale
#

Tbh

orchid frigate
#

idk why its so spaced out

barren shale
#

Why use shaders so early

#

Just draw a white rectangle

wet girder
#

Modern opengl has to use shaders

orchid frigate
#

idk the guy said i need shaders for a shape

barren shale
#

And put a texture on it

wet girder
#

and learning legacy first isn't good idea because you should never use it in production

orchid frigate
#

i watched the tutorial like 3 days ago

barren shale
#

Idk if its legacy or modern

wet girder
#

if it doesn't have shaders it's legacy for sure

#

legacy is easy and fast to write but gosh damn is it inefficient and hard to read

#

it was made in 1990s

barren shale
#

What are legacy versions

#

The numbers

#

For them

wet girder
#

legacy is opengl 1.1

#

and 1.0

#

but apparently 1.0 was a mess

orchid frigate
#

1.0 is a mess in everything

wet girder
#

but you can use legacy in never opengl versions too

wet girder
barren shale
#

Wait

#

What is the latest version

wet girder
#

3.something

barren shale
#

I think lwjgl

orchid frigate
#

4.6

barren shale
#

Just mixes them

orchid frigate
#

i think

barren shale
#

Sometimes its GL11

#

Sometimes its GL31

#

Idk man its giving me 1k fps on 2d Minecraft

#

Sounds efficient enough

#

Ill search more on this

orchid frigate
barren shale
wet girder
orchid frigate
#

the guy in the tutorial was getting 4000

barren shale
#

Maybe rewrite everything

#

U mightve missed something

orchid frigate
wet girder
#

I'm watching tutorial series from the cherno and damn his videos are good

#

vut they're all about c++

#

He keeps my intrest so well even for the boring parts and I learn so much better from most tutorials

orchid frigate
#

goddamnit exams suck, the worst part is that i wont use litteorly anything from them in coding due to the fact the ones are bulgarian exams which...well bulgarian isnt used in coding at all

#

and maths...i will probably use them tbh

wet girder
#

I have 4 exams next week. Physics, biology, religion and hunting license exam

barren shale
#

Ahh shir

wet girder
#

i don't even know why I'm getting hunting license

barren shale
#

Gotta rewrite the rendering system

wet girder
#

damn

barren shale
#

fun

orchid frigate
#

my exams are on 16 and 18 of june, but my teachers have been hyping them ever since 5th grade

barren shale
#

Ill watch a tutorial tomorrow morning

#

My finals are after 14 days

#

And im making a gam engine

#

Last year of school

orchid frigate
#

HEngine

barren shale
#

Hardest year of school

#

Biology book thiccer than u mom

#

I mean i have to implement shaders anyways

orchid frigate
#

how do you find time foe everything tho, it feels like i dont get enough time to breath nowdays

wet girder
#

yeah I have last year of school too

#

but next week is last graded one

barren shale
#

So i have to rewrite it sooner or later

wet girder
#

then I go to school for 2 weeks, fuck around and do nothing useful

barren shale
#

Shaders for lighting

#

I know how to do the lighting

orchid frigate
barren shale
#

From the raymarching thing i did

orchid frigate
#

goddamnit how did i get from making a simple roguelike in unity to setting up a rendering system for a game engine

wet girder
orchid frigate
#

our teachers have been hyping these exams so much that i went to volleyball matches for 2 days after the spring break so i couldnt do my homework, the next day i got completely destroyed for deciding to leave my city a month before the exams

wet girder
#

damn

orchid frigate
#

i wait i think i understood the problem

#

i missed a line of code

barren shale
orchid frigate
#

nope

#

still doesnt work

barren shale
#

U might've missed something

silver flicker
#

Got a question about swimming behaviour

knotty root
#

go to #🎲game-room this channel is for telling everybody how smart you are

#

even if it is true or not

dusk summit
silver flicker
#

It is very simple. Where can I find the condition that decides if a unit will swim across the water or will take a boat.

frosty delta
#

*(  ̄皿 ̄)/#_(╯‵□′)╯︵┻━┻ damn itttt

#

i just wasted 2 hours just to find out why the occlude was half the tile off

#

turn out it was these little *****#@$#$#@$

main brook
#

run synchronous code in async function or run synchronous code in another thread

#

im just logging things

#

but the framework doesn't wanna run synchronous function normally

barren shale
#

async functions just do it for u

#

dont reinvnet the wheel

#

just use the god damn wheel

main brook
#

fair

#

i mean all im doing is logging

#

which doesn't require async

#

but the god damb framework doesnt want to run function normally

#

instead either run async function or run normal function in another thread

orchid frigate
barren shale
#

Wheel: The sequel

#

I just packed my laptop

#

Gotta focus on my studies

orchid frigate
#

Did you just finish your coding session hagrid

#

Was that just one coding session xzibit

#

I have so many questions

orchid frigate
barren shale
#

Bruh

#

A week long code session

#

I have 1500 biology questions to memorise

#

Did u think im gonna start 14 days before the finals

orchid frigate
#

Idk that's what I would do

#

Anyway so I am interested in renting hengine for until you finish with your exams...do you accept dogecoin

barren shale
#

100000 🐶 coin

wet girder
#

that is not a lot

#

wait no it is

#

4.8 USD

#

lots

#

not a cheap engine to rent

bold verge
#

Anyway, how do you script for a game?

barren shale
#

Script what

bold verge
#

Like scripting NPCs or something

barren shale
#

As i said before programming is the ability to google effectively

wet girder
barren shale
#

I think he doesnt even know anything about programming

bold verge
wet girder
#

Idc, I help everyone equally

bold verge
wet girder
#

NPCs in Roblox studio CB_catto_angery_why

keen shell
tropic dagger
bold verge
#

I'm a beginner HOW DO YOU EVEN FUCKING DEVELOP GAMEEEEESSS

dull stump
wet girder
dull stump
tropic dagger
#

With effort, time and google.

bold verge
bold verge
#

me*

bold verge
dull stump
#

On roblox?

wet girder
#

if you want to start making roblox games this tutorial series seems good:
https://www.youtube.com/watch?v=vCpl5M_9mcQ

Want to know how to make a Roblox game and make Robux? AlvinBlox will show you how to make a game on Roblox with scripting. Learn how to make a sword fighting battle royale game in this series, for any skill level. You don't need any experience to get started with Roblox Studio!

To take the code from this video, watch it entirely and copy it do...

▶ Play video
dull stump
#

Jupe when roblox game

wet girder
#

I know mostly python and I hate Lua so much I won't be doing Roblox game any time soon

bold verge
dull stump
wet girder
#

I am learning to make my own game engine which is way cooler

dull stump
keen shell
#

Lua looks easy but idk I have never tried it

dull stump
#

what’s a game engine

wet girder
#

yes

dull stump
wet girder
keen shell
#

Like unity

dull stump
#

not an actual game?

wet girder
dull stump
wet girder
#

then I can make my own game in my own game engine

#

lol

dull stump
#

lol nice

wet girder
#

Then I atleast know 100% what is going in at all times

orchid frigate
#

making a game engine is great until you have to deal with renderers

#

so you meet your first problem as soon as you start

wet girder
#

Making rendered is fun ngl

orchid frigate
#

its fun when it works

#

but before thatr you are stuck trying to figuere out why shaders dont work for 3 days straight

wet girder
#

I watch tutorials so the learning is really fun Imo

stark ravine
#

FryThink wait where did that cat coder guy go

wet girder
#

Who exactly

north dune
#

why is hamza a bandit

stark ravine
#

hagrid Din"t he appear most of the time in here showcasing his police mod thing

wet girder
#

ohh yeah

fierce epoch
#

i feel it's stupid to do a game engine cuz it's just making what is already made for free at a level we will never reach

#

that's just my opinion

orchid frigate
fierce epoch
#

no

orchid frigate
#

and not satisfiying to work in what so ever

#

they do everything for you

fierce epoch
#

unity for example isn't new-user-friendly

orchid frigate
#

half the time you dont even understand whats going on

orchid frigate
#

trust me

#

i have been learning it for 1 year

#

its so simple

#

compared to real c# code

fierce epoch
#

then UE4 is VERY VERY VERY NEW USER FRIENDLY

#

:lol:

orchid frigate
#

but that doesnt mean its good

#

because for instance, 2d physics suck in unity

#

so you will have to rewrite them

#

3d physics are fine because they dont really exist other then rigidbodies and collisions

#

but making your own engine means you can customize it however you like

#

for your games

#

with your own library

#

its hard as shit to setup

fierce epoch
#

creating game engine means u create ur own game dimension right ?

orchid frigate
#

and use opengl

fierce epoch
#

no i meant

#

ur

#

environment

#

so

orchid frigate
#

for rendering you use opengl

fierce epoch
#

ah

#

not fun

orchid frigate
#

which is...complex

#

af

fierce epoch
#

code by urself the rendering

orchid frigate
#

you have to create your own shaders in a comletely different langauge

#

doesnt matter what you use to make the engine the shaders are always in some strange language

orchid frigate
#

dont

#

its hell

fierce epoch
#

i know

orchid frigate
#

the language is called glsl

#

its not hard actually, very smol

#

made for rendering and visual purposes

#

you can learn it in a couple of days even

#

i feel liek this stuff is so amazing to do and code once you get the hang of it, but while you dont its hell

#

i cant get my thing to work because something something code is bad and i just get a dark screen

knotty root
#

glsl is pretty much easy lol

#

when you get the grasp of it you'll know why

wet girder
bold rover
#

Guys Codenet from IBM is a thing (From news not sure for official Release for there Dataset)

#

But just think of it The Power ultrazucc

barren shale
#

Maddox is just stupid

#

Making your own engine is better performance wise

#

Lighter

#

And gives you more freedom

barren shale
#

Until the apocalypse hits

#

And it drains you

astral basin
#

enjoy working with notches

barren shale
#

And dont overburn yourself

#

You work on it 7 hours a day for a week then you get burnt out and stop for a month

#

You're not mastef you dont get money to keep you motivated xzibit

astral basin
#

i didn't start coding games for the money xzibit

barren shale
#

You might've not

#

But it keeps you going

wet girder
#

From what I've seen best programmers never do it for the money

barren shale
#

You never start it for the money

#

But any kind of hard work becomes more of a chore if theres nothing to motivate you

#

Look at haydot

#

He tried to learn rust

#

Which is hard

#

He did it for fun

#

He got burnt out in the first day

#

If he was working for q company and they told him we need rust devs and that he would get a raise he wouldnt get burnt out

#

Because he has a goal

#

A goal is like q fountain of motivation

#

Money is a fountain of motivation

#

That's the secert to keep studying for very long times

#

Goals > motivation

#

I used to study around 7-10 hours every day

#

I finished my goal now i cant complete 3 hours xzibit

#

I need some new goals dud

#

Heres someone who explains it better than me

#

Good video to watch before exams

#

@orchid frigate you have exams coming right ?

orchid frigate
#

Ye

orchid frigate
wet girder
#

How are you gonna do good code without reading any documentation

orchid frigate
#

I will read documentations this summer

#

I just need to get out of june

wet girder
#

Well I have work to code 7th of june to 21st of june so I am probably gonna need to read docs quite a lot there

wet girder
#

Should've used HEngine instead

keen shell
#

One of the first animations I have done on PC was in PowerPoint

#

A jet crashing into the ground with a big explosion, it looks so bad

barren shale
orchid frigate
orchid frigate
#

still havent fixed the shader/rendering issue, im giving up for now

#

it doesnt make any sense

#

imma start reading LearnOpenGL(a very nice free book) and see if i learn anything, it looks good

#

you make a window on the first pages of it which took me 3 days otherwise

wet girder
barren shale
#

How is ur engine going jupe

wet girder
#

I'm still working on renderer

undone rain
#

Do you guys know about this mod called trait editor?

#

I saw it on a discord page there might be a bot or something

barren shale
#

Hasnt it been like a week

trail ocean
#

deployInto
awesome

trail ocean
#

typical

barren shale
#

Im pretty sure this is the wrong channel for this bud

#

Or its not idk

trail ocean
#

isn't it CODING channel

#

@barren shale

barren shale
#

I thought you were talking about mods firat

trail ocean
#

well- isn't mods are also relate with coding

barren shale
#

Only making them is

north dune
#

visual studio snippets are so convenient, it just auto laid out a whole switch statement for me when i gave it an enum

barren shale
#

Rider is even better at these

north dune
#

hit enter -> it lays it out entirely

barren shale
#

Rider changes 5 lines into 1 linq

#

For you

north dune
#

that sounds hard to read

barren shale
#

Thats why comments exist

#

I never do it tho

#

Cuz linq is a bit slower

#

Most of the times im doing something that requires performance

#

But it also has a lot of recommendation

#

S

#

Like making your variables names more consistent

#

But its a bit expensive

#

Tbh i would still use VS

#

But it doesnt work on Linux

#

But I've heard rider is very fuckin good for unity

wet girder
barren shale
#

When you have 2 for loops

#

With 4 if statements in them

#

You will understand

#

Too much nesting makes your code look bad

#

But there are other ways to solve this

#

And reading linq is sometimes easier

#

Depends on how well you know it

#

I don't know how to read linq and i want performance

#

So i dont use this feature

north dune
#

only took 2 hours but i made shitty blackjack

#

uh.. dealer hit on 21

#

so not quite there yet, but almost

#

okay now he stands properly

barren shale
#

Why the frick would god need money

north dune
#

why not

barren shale
#

God's a gambling addict

north dune
#

👀

barren shale
#

I mean he is a gambling addict

#

Look at the randomness of real life

#

Come on god

north dune
#

doesnt get much better than that

barren shale
#

Omg

#

I dont even know how the game works

north dune
#

you try to get 21 or as close as possible

#

over = bust

#

once you stand/stop going higher, the dealer tries

#

if you dont get 21 and the dealer goes higher, you lose

#

dealer gets 17-21 they stay

#

theres probably stuff im forgetting but thats most of it

barren shale
#

Highest number under 22 wins ?

north dune
#

right

#

or if you hit 21 from 2 cards its auto-win usually

#

ace + face card = "blackjack", the best hand you can get

#

i need to rewrite how the deck and hands are generated if i want this to be "legit"

#

right now it pulls from the same deck and acts like the cards never get removed

barren shale
#

@north dune Here if you dont wanna wadte 10 mins of ur life

north dune
barren shale
#

Made them like a couple of months ago

north dune
#

i have what i need its just that it could be easier to use

#

as far as making sure its mechanically perfect

barren shale
#

Why use a dictionary

#

Instead of classes

north dune
#

why would i make classes

#

lmao

main brook
#

is list of integer faster than list of objects

barren shale
#

Makes the code cleaner

north dune
#

how

#

it spreads the code further

main brook
#

but for some reason class name can be long as frick Jerry

barren shale
#

Now you have to make a shuffle method inside that class

north dune
#

no i dont

barren shale
#

How would u shuffle then

north dune
#

Deck.ToList().GetRandom()

#

lol

main brook
#

UseThisIfYouWantToGetTheDataFromAWebWithCachedResponsesAndFasterLookup

barren shale
#

Thats because you dont want to display it

#

Yea it makes sense from what ur using it for

north dune
#

then i could remove the random card and keep getting new ones, itd shuffle after each pull

#

but

#

still not quite how itd work realistically

knotty root
#

Damn I played this game for years and didnt know there was a PC release 😄

barren shale
#

In my code i had the console as an interface so i overrode the ToString

#

And stuff like that

#

Stuff that you dont need in your case

main brook
#

isnt that just overriding the prototype methods or whatever its called

barren shale
#

I just made it for fun, works in all games

#

Like a real deck

north dune
#

said fuck it and simplified it to save my brain

#

usually 9 + 12 wouldnt be blackjack

#

but with this it is

barren shale
#

I have a hand class too

north dune
#

lmao

#

arrays, lists and dicts

barren shale
#

Imo it having these classes makes it look cleaner

#

Thats how i code

north dune
#

only time i make new classes is for independent menus in some mods

barren shale
#

Just a preference

north dune
#

1-3 classes in most mods

barren shale
#

Reminda me wheb i used to never make classes

north dune
#

simplegui has like 15 for no reason

barren shale
#

Everything in Program.cs

north dune
#

it sounds bad but its not hard to organize within one project

barren shale
#
  • having more classes makes u look kewl
north dune
#

1 class = coolest line count

barren shale
#

1 line

#

Never did yhe 1 line thing

north dune
#

my online mod takes 1100 lines of code in one class

#

no idea how many itd be if i split it up like a normal person

#

harder to track either way

barren shale
#

Its just preference

north dune
#

also every mod has the same helper methods for reflection lul

barren shale
#

You prefer less classes

#

I prefer more

#

If you make a gamengine

#

You will start prefering more classes

#

You need an abstract class for almost everything

#

And then you will have like 3 classes derived from that class at lwast

#

Ah shit

#

I should be studying

#

Bye

north dune
#

bye

main brook
#

me after making a code 0.15s faster

north dune
#

lmao

barren shale
main brook
#

i know

barren shale
#

Its like 5 more fps

main brook
#

i just added caching

barren shale
#

Ehat are u coding ?

main brook
main brook
barren shale
#

Noice

#

On unity?

main brook
#

nO

#

i dont use unity yet

barren shale
#

What den

main brook
#

secret Tophat

barren shale
#

Ahh yes secert

#

Can i see one line of code

main brook
#

s o r e

barren shale
#

Not even gonna tell what programming language

#

Thats one hell of a secret

#

You better be making some mills every couple of days

main brook
#
let data = await connection.get(user.id);
barren shale
#

Js

#

.

#

?

main brook
#

yes

barren shale
#

Browser game ?

main brook
#

apparently not

barren shale
#

Then why JS

main brook
#

secert

barren shale
#

Its not that good for performance

#

But whatever

#

You do you

main brook
#

fair

#

atleast im not making games in roblox

barren shale
#

You can keep your js game development secert

#

None probably wants to know anyways

#

But i guess for a turn based rpg performance isnt a probelm

main brook
#

true xzibit

#

my drawing is shit and is probably gonna be pixelated

#

so a 1gb ram machine can run this

knotty root
#

When the imposter is = sus amongus.get(user.sus);

orchid frigate
#

@barren shale so yesterday i tried to code for longer then 30 minutes

#

ended up passing out at 9:30 pm on my desk and woke up at 1 am confused as all hell

#

but anyway i didnt end up fixing the shaders so i just ended up reading the learnopenGL book that is in c++, should still use the same methods

#

plus c++ aint that difficult to read even if you havent learned it

barren shale
#

C++ isnt very hard

#

I just hate the syntax

main brook
#

same

#

apparently

#

after i put my code on the production machine

#

it slows down and is now back to 0.8s

#

instead of 0.6s

#

oh wait nevermind

#

its just my wifi being a [DATA PURGED]

knotty root
main brook
#

today i realized that my machine can process image faster than requesting from a website

main brook
#

what does it mean when using ps a -o %cpu,%mem,cmd a process is using 1.8 mem and other uses 0.0

#

does it mean 1.8% of memories

#

or 1.8gb

#

nvm my process just took 300mb of memories

barren shale
#

Probably GB

#

Oh nvm i just read the rest

#

Why woulf it not say %

main brook
#

idk though

#

although i read up and ps doesn't return the process actual memory

#

i have to use pmap

north dune
wet girder
#

I love watching this guys videos. I find this one especially intresting
https://youtu.be/hhgxsrAFyz8

Almost everyone has opened an EXE file in a text editor and been mystified by the apparent nonsense. How does a computer make sense of it? Let’s uncover the illusion.

Become a member: https://youtube.com/Bisqwit/join

My links:
Twitter: https://twitter.com/RealBisqwit
Liberapay: https://liberapay.com/Bisqwit
Patreon: https://patreon.com/Bi...

▶ Play video
keen shell
#

Good video, I need a good hex editor / hex compare tool now, became interested in Planet Coaster mods again because of that video.

north dune
#

hxd was the universally recommended one when i messed with hex stuff years ago

#

using @barren shale card and deck thing but with some changes

north dune
#

Player drew card: Eight of Clubs. New total: 8. Cards left in deck: 51
Player drew card: Ace of Spades. New total: 19. Cards left in deck: 50

why is it always added as 11

#

oh man im just being a big idiot

#

Player drew card: Three of Clubs. New total: 173. Cards left in deck: 30
Player drew card: Ace of Hearts. New total: 174. Cards left in deck: 29

works as expected, i just wasnt testing properly

north dune
#

used a label + goto in c# for the first time

#

the if statements all return and prevent the loop from going infinitely

north dune
#

back to where i was 12 hours ago.. except it outputs to the log and the code is actually readable

main brook
#

should i make my own LFU caching as a hashset instead of hashmap

#

or should i just store 0 in them

#

or its a bad idea

#

for both of my ideas

barren shale
#

WHY

#

its the worst thing that came to C#

#

Pls use a while loop

#

Hurts my eyes

north dune
#

nah

#

usually id use a loop

#

this time i dont see a reason, label and goto worked perfectly

barren shale
#

Its unreadable

#

In your case its a small one so its kinda readable

#

But still a shit habbit

#

And having a isRoundOver method is good

north dune
#

doing it for the first time and only once

#

cant call it a shit habit

#

it just fits the use case best

barren shale
#

While loop or recursion looks way better imo

north dune
#

maybe

north dune
#

okay i swapped the label for a loop

#

just to be consistent

#

i will still be stubborn and say a label was perfectly fine

#

and even took less lines

main brook
#

anybody know the regex for ```
hello [matched ll]
hi [not matched]
aaaaaa [matched aaaaaa]

#

i found the regex for one that's not able to search between the string

#

so mine is ```
aah [match]
haa [not match]

#

but i want both to be match

wet girder
#

I'm really really bad with regex

main brook
#

same

#

guess raw string operation it is then

wet girder
#

I just copy regex from google

main brook
#

that's literally me

#

but my keyword suck

#

"how to find substring between characters in regex"

#

that showed me solution completely different

north dune
#

@barren shale learning a lot from your small example

#

trying to use classes a bit more proper i think

#

contained all the blackjack logic/behaviour in one class, calling it all from the menu in a seperate class, and created AI players that each have their own window/board

#

looks dumb, but thats from this

#

also figured out "= null" after a parameter makes it optional

#

so now i can create players with specific names, or without one at all

half warrenBOT
#

User reported to the proper authorities!

barren shale
#

I try to add classes

#

And fill them up with methods

#

Even ones that im not gonna be using now

#

It just makes code look cleaner

#

Btw that example was wrote on phone

barren shale
#

For playing

#

Id suggest making a Player class

#

Abstract class

#

And deriving a HumanPlayer and AIPlayer from it

#

Have an abstract method called play

#

And a Variable storing the hand

#

In the base class

#

Then if you want to implement more advanced AI

#

You can just make a new AdvancedAIPlayrr

#

And derive it from the base class

barren shale
#

Heres a quick one i made

wanton summit
#

What apps in play store good for coding?

orchid frigate
#

C# shell if you wanna write stuff in c#

#

Otherwise idk

wet girder
#

Termux definetly

barren shale
main brook
#

apparently i installed ffmpeg super fast but long

#

for some reason

#

usually it took me a few minutes even half an hour for the building part

main brook
#

also you also might wanna use andronix with that

#

hm frick

#

after installing libsodium my process took 500mb

weak holly
#

null

still no idea what null fucking means

north dune
#

undefined

north dune
weak holly
#

ouh

barren shale
#

Cody

#

Did u look at what i said

orchid frigate
#

@weak holly null basically means nothing, kind of like unassigned

#

It's kinda rare to use it but still a very good thing to know

main brook
#

basically the state of my dad when he say he's buying milk

orchid frigate
#

exactly maybe

main brook
orchid frigate
#

Wait what language is you learning @weak holly

#

Because I'm pretty sure null is different in some languages

#

Usage wise

main brook
#

yss

#

yes

#

i usually use null to the absence of value

#

like in a object

#

something like Me.BankAccount = null;

barren shale
#

Null still takes space in memory tho

#

If they are in an array only

#

So dont think you can make an array with 5 millions nulls

main brook
#

yes

#

basically

#

true is 1
false is 0

#

null is a whole object

#

containing a few bits or bytes

main brook
#

just handle the memory leak next

barren shale
#

Jokes on you i use c#

main brook
#

Jokes on you i have very slow phone and using more than like 100000 null will warn me of memory error

barren shale
#

But the empty reference still takes space

main brook
#

yes

orchid frigate
#

I will make a roguelike so I don't give a shit about memory xzibit

main brook
orchid frigate
#

I still need to make the engine tho

main brook
#

or maybe garbage collector

orchid frigate
#

Lol no

main brook
#

uae

#

Uae

orchid frigate
#

Uae

#

Hengine more like

#

Bengine

barren shale
#

🇦🇪

main brook
barren shale
#

The H stands for hbest

orchid frigate
#

@barren shale I wonder if you are Turkish

#

A Turkish coder man

barren shale
main brook
barren shale
#

Everyone started trolling me

#

So i made it yes im turkish

main brook
#

lmao

barren shale
#

Now none asks me and none troll me

orchid frigate
#

H stands for ham

barren shale
#

🍔

orchid frigate
#

Ham engine

barren shale
#

Minecraft 2D 😳

main brook
#

Minecraft is already 2d 😳

orchid frigate
main brook
#

just illusion

barren shale
#

After exams dud

main brook
#

goodluck dud

orchid frigate
#

Fokin exams ruining Minecraft 2d

barren shale
#

Yesterday i had to wait in the queue for one hour

#

To get my exams cqrd

#

It was so hot

orchid frigate
#

If I didn't have exams I would have finsiahed my game engine by now

barren shale
#

Final year of school

orchid frigate
#

Or atleast finished setting up open GL

barren shale
#

Finally

#

Its the hardest year of school tho 😭

orchid frigate
barren shale
#

😳 😳

orchid frigate
#

Will Minecraft 2d have nether and end

#

😳

barren shale
#

Idk 😳

orchid frigate
#

It should ngl 😳

barren shale
#

😳 😳

#

Lets focus on the exams rn

main brook
#

should i work on my game or just watch memes

orchid frigate
barren shale
#

Cuz if i dont get 230/240 i cant go to computer science college

main brook
orchid frigate
main brook
#

i got 40

#

on my exam

#

40/100

main brook
orchid frigate
#

I will get like

#

Some points on my exam

#

Maybe 70/100

#

80 if I'm lucky

main brook
#

that's not some

#

that's alot

barren shale
#

Bye

orchid frigate
#

But 90 is downright impossible

main brook
#

bye

barren shale
#

Gotta fo study

orchid frigate
#

Cya coder man

main brook
orchid frigate
#

From Turkish

barren shale
#

Nvm

#

Lunch is after 10 mins

#

Not gonna study for 10 mins

main brook
#

woo

orchid frigate
#

90 points is for the People who never get out of their homes to study or do anything else

main brook
#

yes

orchid frigate
#

Hamza more like

#

Coolza

#

😎

main brook
#

oh also how do we install redis in windows

orchid frigate
barren shale
#

Redis the database thing

#

Or what

main brook
#

yes

orchid frigate
#

Ah

barren shale
#

Shit idk

orchid frigate
#

That redis

main brook
#

shit

barren shale
orchid frigate
#

Idk I don't work with databases

barren shale
#

Just use mysql

main brook
#

iam

orchid frigate
#

I make shitty engines

barren shale
#

Whats wrong

main brook
#

ITS SLOW

#

also again im caching

barren shale
#

How big is your js game

main brook
#

potatoes

#

basically not big

#

but the process of starting battle is increased

barren shale
#

Ive never managed to get redis working

orchid frigate
main brook
#

by 0.3 second

barren shale
#

Probably cuz i never tried that hard

main brook
#

if im not using cache

main brook
barren shale
main brook
#

i actually never used one before but now im using it

main brook
orchid frigate
#

GTA 5 in moon runes 😳

main brook
#

😳

barren shale
#

Assembly isnt that complex tbh

main brook
#

FOR ME IT IS

#

im still learning bits please dont hurt me with hex

orchid frigate
#

Unity sucks
Ima leave on that note

main brook
#

But better than roblox engine

orchid frigate
#

Unity too simple

#

Too boring

barren shale
#

Depends on what ur doing

orchid frigate
#

And 2d physics suck

#

In unity

#

3d physics are ok

knotty root
#

also hearthstone be like: ???

#

monument valley 2 also be like: ???

#

hitman sniper be like: ???

#

Alto’s Adventure also be like: ???

knotty root
#

and tbh they're prob better than what you could do in 1 year

wet girder
#

it's pretty simple compared to other stuff

#

I'm learning to make game engine on my own and idc how bad it's gonna be but I'm gonna do it

wet girder
#

that's common practice in unity

knotty root
#

but unity was formally made only for 3d

#

so it's kinda normal that the 2d isn't the best

wet girder
#

yep

orchid frigate
#

plus im sure that alot of these games modified the physics of unity 2d to fit their game style

#

alot of pluses lol, its like i forgot i wrote one like 2 seconds ago

#

but i guess i was too harsh on the physics of unity which is my bad for which i apologize

#

after 2 weeks of thinking i finally have a shiny rectangle

weak holly
#

just remember one thing from me

#

im a dumbass and i dont understand codes no matter how easy they are

orchid frigate
#

uhh

#

i mean

#

what did you read about null

#

were you watching a tutorial or...

weak holly
#

i just hear about it

orchid frigate
#

oh

#

ok

weak holly
#

and sometimes i watch coders do stuff i dont know what it means

#

by that i mean codebullet and dani

orchid frigate
#

codebullet is really damn good at what he does

weak holly
#

indeed

#

haxering god

orchid frigate
#

i have been coding for over...idk how much and i cant even think of how he does the things he does

#

mainly because i dont really work with ai

weak holly
#

he likes to

#

A U T O M A T E

orchid frigate
#

i mean self learning ai

weak holly
#

just like ssundee in crazy ass mods

#

he just keeps

#

automating

#

end the series?

#

make a new one and automate

orchid frigate
#

dani is also cool

weak holly
#

it never stops

#

dani is gamer

orchid frigate
#

he seems really good for only coding for an year and something

weak holly
#

**i feel like we shouldnt talk about this here Thonk **

weak holly
#

do u even know when an gets used

orchid frigate
#

but i guess he has enough motivation to keep learning at a goof rate

weak holly
#

i dont

#

i need music to keep motivated

orchid frigate
weak holly
#

aeoi

orchid frigate
#

motivation is one of the hardest things in coding

weak holly
#

especially if you are 12+ sadcat

#

because depression go brr after 12

orchid frigate
#

because you will learn stuff and do stuff, until you dont burn out

weak holly
#

burn out more like

#

code out

orchid frigate
#

then you wont want to even go near visual studio or the IDE you use

keen shell
weak holly
#

daniel the stalker

keen shell
#

I kinda had that for a long time

#

What

weak holly
#

sadpanda name reveal 101?

#

my name is r|| ||

orchid frigate
#

r

weak holly
#

basically starts with r

orchid frigate
#

so your name is r

orchid frigate
#

just r

keen shell
#

Rain

weak holly
#

wrong

#

its an arabic name
which makes sense because im from iraq

#

good luck there finding it out xzibit

keen shell
weak holly
#

semi auto

orchid frigate
#

its bad

keen shell
#

Because of a worldbox mod I didn't get completely finishedxzibit

orchid frigate
#

but once you get it out of you then its amazing

weak holly
#

"i didint get finished"
-daniel 2021

keen shell
#

I don't SeA anything wrong with that

weak holly
#

leaked company

#

SaA

keen shell
#

Sea

orchid frigate
#

there once was a ship that was put to sea

weak holly
#

nd it hit a rock and died

keen shell
#

And the name of the shit

orchid frigate
#

wrong word Jerry

keen shell
#

Nah exactly right wordaye

weak holly
#

fat

orchid frigate
#

was the "Billy o'Tea"(dont know how to write that lol)

weak holly
#

Bo''le o' Wa'er

keen shell
#

Have no clue how this continues but probably with "soon"

#

Nah too soon

orchid frigate
#

the winds blew hard... blow o bully boys blow shout(dont know either lol)

keen shell
#

Alright now let's code Wellerman: The Game

orchid frigate
#

aight

weak holly
#

how about potato farm simulator xzibit

keen shell
#

potato ultra simulator X

orchid frigate
weak holly
#

the eternal engineer gaming library

north dune
#

who needs card textures anyway

#

||me, i need them, but this is simpler||

tropic dagger
main brook
#

yes

#

except my life is inefficiency

tropic dagger
#

Oh.

#

Makes sense.

main brook
#

yes

tropic dagger
#

But like, why?

#

You could be much faster.

#

Why be slow?

#

When you could be zoomin'?

main brook
#

wait how much bytes does an int contains

tropic dagger
#

Depends.

main brook
#

especially when the teacher called my name

#

that's why i skip school for 3 month

tropic dagger
main brook
#

got it

#

so apparently use the actual datatype instead of integers

#

since its smaller in size than actual integers

#

the fok is wrong with me finger

tropic dagger
#

I don't know.

barren shale
#

If you're in C#

#

You can use sizeof(struct) to check

north dune
#

hi hamza

#

how ugly are my cards

main brook
#

-100

barren shale
#

Nice ugly crads

orchid frigate
#

these ugly cards look beautiful

orchid frigate
main brook
north dune
orchid frigate
#

amazing now i can lose money in worldbox

north dune
barren shale
#

Lol

#

Nice UI

north dune
#

thanks

#

bettergui skins

barren shale
#

Text should be white

north dune
#

no

barren shale
#

Bruh

orchid frigate
#

Text should be red

barren shale
orchid frigate
#

Best color

#

For that ui

barren shale
orchid frigate
#

@barren shale can I get a free copy of Minecraft 2d when it releases 😳

#

On all platforms

barren shale
#

Sure 😳

#

You have to upgrade to linux

orchid frigate
#

Ez

barren shale
#

When u change to linux ill release on windows

orchid frigate
#

I will sue you

#

For....

#

Not letting me play my favourite terraria copy cat

barren shale
orchid frigate
#

Will Minecraft 2s have diamond 😳

barren shale
#

It already did

#

Does

orchid frigate
#

Anyway so Hamza you should be proud of me

#

Becaus so made a shiny rectangle

barren shale
#

Show

#

Shiny triangle

#

Or rectangle

#

Whatever

orchid frigate
#

It's up

#

I can't download it for some reason

barren shale
#

I'm not gonna scroll

orchid frigate
#

But...

#

I can't download it

#

So you will scroll

barren shale
#

Its shiny indeed

orchid frigate
#

Yes

#

I make that into method and call it every time I need.to make one

#

So I make Minecraft 5d with multiverse and time travel