#⌨coders-cave

1 messages · Page 48 of 1

orchid frigate
#

if not the same

barren shale
#

Hmm

#

So the rooms are not connected visually

orchid frigate
#

yes

barren shale
#

Ok

#

But in binding of issac

#

The rooms are already made

#

And it just chooses a random room

#

Do you want your rooms to be premade

#

Or generate randomly

orchid frigate
#

Premade

#

With prefabs

barren shale
#

Then theres nothing lwft

#

Xd

#

Just put doors

#

And connect them

orchid frigate
#

Makes sense

barren shale
#

Place rooms in the scene far enough from wach other that you cant see a room from another room

orchid frigate
#

I feel like the way I'm thinking of doing this is so much more difficult then it needs to be

barren shale
#

When you go to door A in room A

#

It teleports you to door A in room B

#

No need to overcomplocate anything

orchid frigate
#

That's actually pretty smart I'm just scared it won't work so good, I will still try it tho

#

Thanks

barren shale
#

And add a bit of fade to make the teleportation smooth

#

Np

wet girder
#

I really need to get back to coding

#

I haven't done anything for few days now

#

@bitter sedge doesn't give me any motivation and enjoyment anymore, it's just boring work without getting paid so I don't do that anymore and I don't really get project ideas

#

I want to do project in c++

#

but everything fun is way too complicated

#

and I don't want to do something boring

#

maybe I could use unity with c++

#

that'd keep me motivated most definitely

barren shale
#

Search ray marching

#

Do it in c++ or c#

#

With the console

#

Really fun

#

I just do shit and throw it on GitHub

orchid frigate
barren shale
#

I mean the more complicated the more fun

#

The more challenging the more fun

#

Just make sure its not way out of your skill

wet girder
barren shale
#

Or make a Acrostic poem generator

#

I made one

#

Like 5 years ago

#

Wait lemme check github

wet girder
#

that's definitely way more boring ngl

orchid frigate
wet girder
#

the first one has real world use and could give good experience

barren shale
#

4 years ago

#

300 lines

#

Of badly written code

#

I was so bad 4 years ago

wet girder
#

but I honestly think I'm gonna use Unity with c++. It seems like a fun way to master basics and learn some more advanced stuff

barren shale
#

Can you even use c++ with unity

wet girder
#

I think you can

#

if I remember correctly

orchid frigate
#

Lemme check

wet girder
#

ye you cam

orchid frigate
#

You can

wet girder
#

it's just a bit harder

barren shale
#

You can

#

But you still need c#

#

Wrapping and injecting

#

Dlls

#

Just use unrealengine

orchid frigate
barren shale
#

Neither do i

#

I just know it exists

#

Never tried it

wet girder
barren shale
#

Or learn C#

#

And use it

orchid frigate
#

But you can try

orchid frigate
wet girder
orchid frigate
#

I would say best first language

barren shale
#

C/C++ = no engine

#

Just make tour own engine

orchid frigate
barren shale
#

Yea

#

But its easy to make your own engine

#

WIth these

wet girder
#

at first I want to learn basics of C++ and game making sounds easy and fun

#

hmm true

barren shale
#

Unity is written in C++

wet girder
#

I know

orchid frigate
wet girder
#

most stuff is written in c++

barren shale
#

But its not

#

Game making

#

Is the mosy frustrating thing

#

U will ever do in your life

orchid frigate
#

it has WAY too much math

barren shale
#

Im not telling you to not do it

#

But be ready

orchid frigate
#

most of it is done by the computer

wet girder
barren shale
#

Spending days on just one bug

orchid frigate
#

but its still hard to use the numbers you are giveb

barren shale
#

Then finding out youve forgot a -

wet girder
barren shale
#

And after tou fix that bug

#

2 bugs appear

wet girder
#

That's programming in a nutshell

orchid frigate
barren shale
#

But making your own engines

#

Makes it easier

#

After your done with the engine

#

Cuz u can edit the engine directly

#

Anyways its fun

orchid frigate
#

how long would it take to make an engine

barren shale
#

Good luck

barren shale
#

Same with 3D tbh

wet girder
#

that highly also depends on skill

barren shale
#

Its just more math

barren shale
orchid frigate
#

what

barren shale
#

I can make one in 2 days

wet girder
#

That'd for me take triple the time because I'm newbie most likely

barren shale
#

U need to work on your speed

orchid frigate
#

i dont have time tho my coding sessions are very small

barren shale
orchid frigate
#

like 30 mines a day

#

and 20 are for thinking

barren shale
#

Oh

#

Lol

#

You need to be more efficient

#

Think and code

#

At the same time

orchid frigate
#

school has been real difficult
i write half a notebook and i get a hard C

wet girder
#

30mins is barely enough to get the flow going

barren shale
#

I have 600 biology questions to memorise

#

A month and a half

#

Not to forget

orchid frigate
barren shale
#

2 books of math

#

2 books for physics and chemistry

#

One arabic book

#

2 english

#

2 french

wet girder
#

I'm finishing the school I'm in and I'm not gonna lie I don't do much but get Bs and As without doing shit

barren shale
#

School here is so much harder

#

We have one of the hardest exams on earth

orchid frigate
knotty root
#

I'm stupid so I get low grades😔

barren shale
#

I need to get 230/240 to get computer science in college

wet girder
#

Finland is pretty easy especially before high school

barren shale
#

And i dont know if i can do that

wet girder
barren shale
#

Yea

#

Here i am

#

5 years experience in C#

#

But takes me 10 mins to memorise one biology question

orchid frigate
#

i write everything right and then the teacher will be like "you missed a dot here so you get an F" similar to how picky c# is with ;

knotty root
orchid frigate
knotty root
#

Problably going to have alzheimers when I grow older

barren shale
wet girder
#

I have a friend that's actually super dumb but gets always As because she reads to one exam 20-50 hours

#

I admire how much she works tho

barren shale
#

Use spaced repetition it will help you memorise for longer times

wet girder
#

but I'd feel my life useless if I did that

orchid frigate
#

oh wait i forgot tommorow starts online school
nice i can code now

#

you better believe i will be making a room generator in my classes

barren shale
#

Xd

wet girder
#

I have physical school atleast until summer break

orchid frigate
#

i had physical school for a while
it was painful

barren shale
#

I have 2 months break to memorise the books i mentioned

#

Then finals

wet girder
#

Shit my alarm is in 7 hours

barren shale
#

My alarm is in 8 hours

#

Ez

orchid frigate
#

mine is like 6

#

wait its online school

#

so there is no alarm

barren shale
#

Bruh i dont have school

#

But i still have an alarm

#

I need to wake up early and start studying

#

Cuz geyh

wet girder
#

I wish secondary school was over already, after I finish this shit I'm going to IT vocational school

orchid frigate
#

anyway so this is all the code i did for 2 days

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RoomGenerator : MonoBehaviour
{
    #region rooms
    public GameObject start;
    public GameObject L;
    public GameObject R;
    public GameObject TP;
    public GameObject LD;
    public GameObject TL;
    public GameObject TD;
    public GameObject RD;
    public GameObject LR;
    public GameObject TRD;
    #endregion

    
    public int north = 0;
    public int east = 1;
    public int south = 2;
    public int west = 3;
    

    #region singleton
    RoomGenerator instance;
    void Awake(){
        instance = this;
    } 
    #endregion
    void Start()
    {
       GenerateFirstRoom(start);
       
    }

    void Update(){
        



        
    }

    void GenerateFirstRoom(GameObject Start){
        Instantiate(Start, new Vector3(0, 0, 0), Quaternion.identity);
        
    }
    
}
#

damn thats large

barren shale
#

You need to make a room class

#

Give it a list of doors

#

Connect them with doors in other rooms

orchid frigate
#

before doing that i need to read some about lists

#

im really bad with em

barren shale
#

Xd

#

Its just a list

orchid frigate
#

they are cool but complicated

barren shale
#

No

orchid frigate
#

because i dont understand them

barren shale
#

Its just a list

#

Do you know what a list is

orchid frigate
#

but how do you get mulstiple doors

#

in a list

barren shale
#

You add

orchid frigate
#

isnt it the same door script ot whatever

barren shale
#

MyList.Add(Door);

orchid frigate
#

ok but

#

what if i dont have a door until i generate thhe room itself

#

i get the door from that room

#

i guess

limber prism
#

Anyone good with image coding? I need help unblurring an image.

knotty root
#

lol unblurring an imagine isnt that easy

#

an official unblurring program hasnt even been done yet

keen shell
north dune
#

no im using UNET which is supposed to be deprecated

knotty root
knotty root
#

syntax error at line 69

knotty root
reef bolt
#

Huh

astral basin
#

@obsidian kettle !! wooo

orchid frigate
#

!! wooo

obsidian kettle
#

Hey hey!!

barren shale
#

Ai so good

#

It cant beat itself

#

100% draw

barren shale
#

Added multi threading to SAVE 3 MILLISECONDS per move

#

Ahh yes

barren shale
#

Go fix boats

#

Boat.fix();

#

mastef.AddTask(new Task(name: "Fix boats"));

north dune
#

i have to fix boats too... for some reason in my mod transport boats never move... i dont touch boats or AI logic in the slightest...

#

ive been ignoring it but steadily keep getting reports

#

😩

orchid frigate
knotty root
#

@astral basin Hey, you asked if i had to chmod the file on linux
How did you create the tar.gz?
Was it with "tar czf worldbox_0.8.1.tar.gz worldbox_folder/" ?

astral basin
#

Yeah

knotty root
#

Because that way Unix should keep the permissions

astral basin
#

tar -zcvf worldbox-0.8.1.tar.gz worldbox

#

ok then maybe i didn't give it +x before tarring

#

as i got it from a zip

knotty root
#

ah

#

maybe that

astral basin
#

you tried it on arch right?

knotty root
#

or it's because you gave it only to that user, if it doesnt work with the +x, maybe 755 will do it, i can test that if you like

#

jup

astral basin
#

nice nice nice, that was easier than expected

#

but other than that everything works? like saving / loading maps ?

knotty root
#

let me try that real quick

#

Yes, even after restarting, you can still load worlds

astral basin
#

noice!!!

knotty root
#

So saving and loading works
Quick question, do u plan on doing an Install script, or do we have to go to the dir and ./file it everytime :D

barren shale
#

Doesnt steam do the linux things for you

#

Or do you have to build it for linux too

astral basin
#

You mean an install script that adds a shortcut to the desktop or?

knotty root
#

Oh right, I forgot desktop exist :D
More like a script that adds the launcher to the /usr/local/bin or something like that. So you can search with a start menu and also create Desktop Shortcuts yes

astral basin
#

Ah I see hm hm hm

#

At first I was thinking about .deb or AppImage

#

But not sure they do this natively

#

And of course .deb doesn't work for other distros

barren shale
#

Youre either good enough to be able to do it manually or have a distro that can work with deb

#

Maybe do both

barren shale
#

Same when youre trying to install something on linux

knotty root
#

Since the majority will use ubuntu a .deb is a good option, and for everyone else, an install.sh or manual effort will do I think

barren shale
#

All nubs like me use ubuntu

astral basin
#

But is it ok to throw a game with ln -ls into /usr/bin hypersweat ?

#

( or /usr/local/bin )

astral basin
barren shale
#

Or maybe just wait for steam

knotty root
#

Well if I do it myself, yes I throw them there

barren shale
#

Others can use wine

knotty root
#

Or that

#

Steam does it its own way

astral basin
barren shale
#

Have you tried wine on the pc version

astral basin
#

We're making a linux version right now

#

Let's stay on topic

barren shale
#

Kk

astral basin
#

( humble bundle already has it btw if you wanna try )

astral basin
#

I really have to look into this

#

Because ideally it should also have a nice icon

astral basin
barren shale
#

I dont think theres wnything that'll work for all distros

astral basin
barren shale
#

Yes but where to put the files

#

Like tou said

astral basin
#

Yeah , so right now the user decides, yeah

#

So I'm checking if there's a smart installer that is widely accepted and knows these things

barren shale
#

Maybe make a .deb a .AppImage a .tar.gz and let the user choose

astral basin
#

it's a bit older so i'm looking into how it does it

barren shale
#

Ive used an appimage

#

Like 2 years ago

#

Dont remember

knotty root
# barren shale Yes but where to put the files

Well putting them into a tar and then moving either a link or a sh script into the bin-dir works on every distro, because thats how your linux system works, unless u use some completely unknown system i never heard of :D But Steam is still the more elegant way

#

either way, please even if you put it on steam, will you keep the .gz as a download? Cause steam is... not always correctly working on arch distros

knotty root
knotty root
#

Oh yeah, and about that version, let me know when you put an updated version on Humble, then we see if we still need chmod +x

quick ferry
#

Hey! I bought the game to support your effort in porting it. It doesn't run for me yet, but I half-expected that as I'm using a very unusual setup (3 GPUs, Sway/Wayland, Pipewire, etc). Is there a way to generate a debug log or something similar to find out what it's getting stuck on?

barren shale
#

Have you tried to run it using wine

#

Does it give probelms ?

#

I dont have it on pc so i cant try it

quick ferry
#

I'm trying the new Linux beta, which should circumvent the need to emulate Windows. I don't need to get it to work immediately, I'd just like to assist in fixing problems of the native Linux port.

knotty root
#

Uh alright, not X but wayland?

quick ferry
#

Yeah, Sway window manager. I was able to get it to open using gamescope, but the window was corrupted.

knotty root
#

I mean, im on i3 and it works, so its not the tiling :D

#

But since the binary has no extra parameter, at least i found none yet, i dont think you can debug it this way

#

What Graphic card drivers are you using?

quick ferry
#

Mesa

knotty root
#

OpenMesa?

#

nvm forgot that, my head thought about openGL

quick ferry
#

The game is using OpenGL, is it not?

knotty root
#

I have no idea,, thats a question for the Dev :D

#

What distro are you on?

quick ferry
#

Arch Linux

#

I think it's some problem with creating the window on Wayland. It's getting stuck and eating 100% of a CPU core.

knotty root
#

Well unity should support Wayland, so that shouldn't be the problem

#

But i ran into Window problems with i3, too
And they didnt make any sense and were very specific, can you configure stuff in wayland? Unfortunately I never looked into it, I'm stuck with my X11 :D

quick ferry
#

What did you have to configure? Sway is very similar to i3, it even uses pretty much the same config file.

knotty root
#

In my case it was the combination: i3, with my compositor picom, and X11 always crashed windows that received a notification

#

Could it be your pipewire?

#

And do all your configs for Wayland pipewire etc use the opengl or mesa drivers and not some other stuff?

#

Also, is there a log for Wayland? Or a Log for PipeWire since it is a daemon? Could you look in there?

knotty root
astral basin
#

there should be a debug log in ~/.config/unity3d/mkarpenko/WorldBox/Player.log

quick ferry
#

Thank you! I'll take a look.

#
Mono path[0] = '/media/games/SuperWorldBox/worldbox/worldbox_Data/Managed'
Mono config path = '/media/games/SuperWorldBox/worldbox/worldbox_Data/MonoBleedingEdge/etc'
Preloaded 'FirebaseCppApp-7_1_0.so'
Preloaded 'lib_burst_generated.so'
Preloaded 'ScreenSelector.so'
Unable to preload the following plugins:
    ._FirebaseCppAnalytics.so
    ._FirebaseCppApp-7_1_0.so
    ._FirebaseCppAuth.so
    ._FirebaseCppDatabase.so
    ._lib_burst_generated.so
    ._libsqlite3.so
    FirebaseCppAnalytics.so
    FirebaseCppAuth.so
    FirebaseCppDatabase.so
    libsqlite3.so
    ._ScreenSelector.so
Desktop is 0 x 0 @ 0 Hz

Probably the 0x0@0Hz thing then.

knotty root
#

Or maybe its the missing plugins

quick ferry
#

If that were the problem it wouldn't start with gamescope.

knotty root
#

What is your Xrandr alternative?

quick ferry
#

You send messages to sway with swaymsg

#

This is what it looks like with gamescope:

Display 0 'XWAYLAND0': 1920x1080 (primary device).
Desktop is 1920 x 1080 @ 60 Hz
Initialize engine version: 2019.2.11f1 (5f859a4cfee5)
[XR] Discovering subsystems at path /media/games/SuperWorldBox/worldbox/worldbox_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Renderer: AMD Radeon RX 6800 XT (SIENNA_CICHLID, DRM 3.40.0, 5.11.16-zen1-1-zen, LLVM 11.1.0)
Vendor:   AMD
Version:  4.6 (Core Profile) Mesa 21.0.3
#

It launches normally, but the frame buffer is not displaying pixels in the right order.

knotty root
#

Sorry i never used gamescope before, but do you use it with parameters? Like -w and -h?

quick ferry
#

Yeah, exactly.

knotty root
#

with this "mangohud"?

#

nvm, nvm thats another programm

quick ferry
#

Yeah, that's something different. :D

#

It's a useful tool for games that struggle with tiled window managers or with Wayland. It gives them their own emulated desktop and displays it in a window.

knotty root
#

Actually, i will take a look at this, since my stuff on i3 wont run :D

quick ferry
#

Sadly that's all it displays.

knotty root
#

have you tried to just run it on lower grafics?

quick ferry
#

What do you mean? :D

knotty root
#

instead of 1920x1080 on idk, 1280x1080?

quick ferry
#

It's not a resolution thing. I started at 2160x3840, then 1920x1080 and now 640x480, but they're all corrupted in the same way.

knotty root
#

Damn

quick ferry
#

Might be related to running on the wrong GPU, but I can't get it to launch on the others right now.

knotty root
#

Well that might be, but i never used multiple GPUs, so I wont be a big help there

quick ferry
#

Doesn't matter, I'll get it to work eventually. Thanks for your help.

kindred shale
#

C++ or C#

astral basin
knotty root
quick ferry
#

The ScreenSelector.so doesn't seem to work with Wayland, since it chooses a 0x0@0Hz screen.

astral basin
#

Hmm yeah it seems to try to run in headless

#

Another thing people reported was unplugging the other monitors and trying then

#

But I'm not sure how related this is

#

Interesting that the Player log didn't have Vulkan detection

#

@quick ferry do you have any similar issues with other Unity based games?

#

And just to make sure, your OS is a 64 bit kernel right

quick ferry
#

Of course. And I haven't had problems with other Unity games, no.

#

It should detect and use Vulkan?

knotty root
#

Maybe I'm wrong, or i remember wrong, but didnt unity have a dedicated option for headless, which only then let the game start that way?

quick ferry
#

Oh, apologies. It fixed itself after a reboot.

knotty root
#

Heh, reboot rules :D

#

Since you wanna beta and/or stresstest, look at the beta-tester channel, maybe there is something making your life easier

quick ferry
#
Display 0 'XWAYLAND0 32"': 2560x1440 (primary device).
Display 1 'XWAYLAND1 27"': 2160x3840 (secondary device).
Desktop is 2560 x 1440 @ 144 Hz
Initialize engine version: 2019.2.11f1 (5f859a4cfee5)
[XR] Discovering subsystems at path /media/games/SuperWorldBox/worldbox/worldbox_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Renderer: ATI FirePro V (FireGL V) Graphics Adapter (TAHITI, DRM 3.40.0, 5.11.16-zen1-1-zen, LLVM 11.1.0)
Vendor:   AMD
Version:  4.6 (Core Profile) Mesa 21.0.3

Looks better. Now it found the screens through XWayland and uses the primary GPU.

knotty root
#

Perfect, any clue why it didnt recognize it before? Just the tripple GPU?

quick ferry
#

I think it was XWayland not working as it should.

knotty root
#

or that

quick ferry
#

Maybe it happens again, then I'll know more.

knotty root
#

Well for now, enjoy the game, will ya :D

quick ferry
#

I shall do that.

astral basin
#

Nice!

knotty root
#

So, since we now have linux
Where do we put the maps?

#

The downloaded ones

barren shale
#

Boat fix > linux release

astral basin
#

Somewhere in ~/.config/unity3d/mkarpenko/

barren shale
#

Hey mastef

#

Do you use unitys physics

#

For things like force

#

Or do you have your own

#

I dont really like unity's physics in 2D

#

And i heard its better to make ur own

#

And only use collision detection

#

From unity

orchid frigate
#

in reality i feel like 2d in unity is pretty good

barren shale
#

I dont trust people who dont know how to generate a room

orchid frigate
#

look

#

you spend 30 minutes a day coding and you will understand what im talking about

#

also i figuered it out

#

i just use spawnpoints

barren shale
#

I dont trust people who spend 30 minutes coding

#

A day

dapper cobalt
#

@astral basin decided to pick up a copy for Linux :), seems work wonderfully

astral basin
dapper cobalt
#

yup looking good, saving and loading looks fine too

#

i assume the Linux build will also go to Steam now? 🙂

astral basin
#

Game is not on Steam

#

But once it is I don't see why not

dapper cobalt
#

yeah i mean for when it does eventually release there

astral basin
#

Yeah!

dapper cobalt
#

😄

astral basin
#

I don't understand why more unity based games don't release for macos and linux

dapper cobalt
#

a mix of things really, lower market share being the biggest part of it

#

but unless you use a bunch of windows-only unity assets store packs, unity makes it easy enough

astral basin
#

I remember I couldn't even play Among Us on Mac. Which seems weird

#

Ye

#

Nope. Among us still windows only. Crazy

orchid frigate
#

i want to code more but i have other things to do, like eating pineapples

dapper cobalt
#

well, happy to see this on Linux now, 😄

astral basin
#

Noice

#

Ok I have to run now. Laters!

dapper cobalt
#

👋

orchid frigate
#

cya mastef

barren shale
#

Bro ive never seen maxim talk

north dune
barren shale
#

Nice

#

So that proves my point

#

Unity 2D physics

#

Sucks

orchid frigate
#

no

barren shale
#

Yes

orchid frigate
#

i disagree

barren shale
#

You dont have enough time to disagree

orchid frigate
#

i do

#

now

north dune
#

i disagree as well, but its also relatively simple to set up a custom thing like maxim's done, it just depends on what youre using it for

orchid frigate
#

30 mins is enough to invade the world

#

worldbox obviosly needs its own physics as its a complicated game

#

but for roguelikes

#

thats not the case

north dune
#

id say its likely because its simple to remake and have your own control/understanding over what youre doing

#

but you dont have to, and for some things you wouldnt want to

orchid frigate
#

and how long does it take you to make a game

#

for me it will take 5 years

#

with my current working schedule

#

all i have to do is make a couple of rooms and items and yet i still am barely even on the 1% done

#

i can win against it

#

ez

#

i beat stockfish at its own game

#

you

#

upwards

#

left

#

ye

hoary hound
#

3 players mode when?

orchid frigate
#

ez

#

up right

hoary hound
orchid frigate
#

yea

#

no

#

secretly i win

hoary hound
#

Maybe the win is the friends we made along the way

#

Uhh sire

#

Sure

#

You can start

orchid frigate
hoary hound
#

Up left

#

Hold on

#

Yeah I'm fucked

orchid frigate
#

bottom left

#

obviously

hoary hound
#

CenterCookiebre

orchid frigate
#

no

#

bottom left

hoary hound
#

Shush

orchid frigate
#

that way we can make friends

#

so we all win

#

:>

hoary hound
#

Now let's play the 4D version

#

Ye I know

#

That's why I went suicide mode

orchid frigate
#

pretty genius game

#

that i dont understand

hoary hound
#

I don't even know how to play chessoink

orchid frigate
misty epoch
#

help

orchid frigate
#

so a little question for any experianced coders

#

so every time i stop coding and countinue after a certain ammount of time, i constantly forget what i was doing and what i should do next

#

should i be putting more comments on my code to make it simpler?

keen shell
#

I have had the same with other languages but now I don't have that very badly anymore / but that's just because I kept coding C# continuously.

I think writing something that you can use in any case for the purpose it was meant for is a very good way of remembering.

#

I don't really have that but I just think it's good lol, mostly for basic stuff you can remember or don't bother knowing about how it works I think tho so maybe not so goodCookiewhatno

north dune
#

i don't forget what i was doing but i frequently look at old code and wonder what i was thinking

#

I don't really have that but I just think it's good lol
i agree with daniel, seems like a good thing to me but in a weird way

sand elk
#

Hey coder nerds, I need your help in an argument

keen shell
#

Okey

sand elk
#

Will it be hard to make formations

keen shell
#

In Worldbox?

sand elk
#

Like having two armies lineup there troops in fight

#

Yea

north dune
#

no

keen shell
#

Cody did a formations mod

north dune
#

not hard

keen shell
#

Hey

north dune
#

hallo

keen shell
#

Haha

north dune
#

it was one of my first original ideas and is relatively simple

#

the hardest part is getting the math right

sand elk
#

@muted glacier read and weep sucker

north dune
#

lines for example are just position 1 + small offset for next guy and so on

keen shell
#

Isn't there an example on the wiki for a circle

muted glacier
#

Does it actually function with the game mechanics well

north dune
#

yep @keen shell , because i rewrote that sucker several times

muted glacier
#

Can they still kill a wizard or would they just be fighting him one at a time?

north dune
#

if you're using manual control for them they can kill whatever you want, since youre the one targeting stuff

#

if you're using AI control yes they can still group up on him

#

AI led squad, as you can see theyll stop following and target enemies if theyre close enough

muted glacier
#

They have square formations?

north dune
#

i didnt write them for AI but yes

muted glacier
#

🤔

north dune
#

only for manual control

muted glacier
#

What's the catch?

north dune
#

its outdated

#

i say its not hard but i worked for a very long time on creating and bringing it back several times, got tired of it eventually

#

this is RPG mode, and you could hire anyone to join a personal squad

#

center guy is being controlled with WASD

muted glacier
#

RPG mode

#

Damn

muted glacier
#

steam workshop gonna be supported once its released on there?

north dune
#

no one knows yet, but i assume yes

#

to a certain degree

#

maps will be supported before then, mods will be iffy depending on what the workshop will allow

muted glacier
#

ok

#

I'll be waiting for U to put it on steam once it comes out 😏

north dune
#

ill be honest

#

at this rate, im not likely to be making mods for the game anymore when its on steam

#

taking way too long lmao, ill be moved on

muted glacier
#

probably won't be playing this either

#

Shits coming out in like two years

#

😩

north dune
#

right?

muted glacier
#

What's taking them so long

#

Is it just the process of publishing something on steam?

north dune
#

no i think theyre waiting to put more into the game first

#

maybe 1.0 update will launch on steam? no idea

muted glacier
#

They're doing everyone wrong by waiting that long

north dune
#

i disagree there, no one is being done wrong except the dev in the decision

#

the longer he waits the more money he loses by giving more copies to people who own it on humble

#

people are not realizing the sheer amount of $$ he will be throwing away with that whole thing

muted glacier
#

People don't buy games that aren't on steam they don't trust it

north dune
#

this game proves that wrong very obviously

#

only available on PC on humble and still has a sizable audience

muted glacier
#

I'm sure there's dozens of people who haven't bought this game on PC because of that

#

I see them around here

#

myself included

north dune
#

sure, i agree with you

#

but dozens out of how many?

muted glacier
#

If you're under 18

#

U probably ain't gonna be able to get this game

north dune
#

if youre under 18 and dont have parents maybe

muted glacier
#

Parents don't give their credit cards to their kids instantly, they don't trust them

north dune
#

so lets change that to under 13

muted glacier
#

Gift cards get most of their sales from that trust me

keen shell
#

Then they buy it for you

#

They can make their kid happy and the only thing they have to do is look if what they're buying is legit

north dune
#

i think this guy is attributing his own situation to everyone else a little too hard

muted glacier
#

I've seen my situation recreated in tik toks with hundreds of thousands of likes

keen shell
north dune
#

lmao

muted glacier
#

You don't know the gen z struggles

#

y'all boomers

keen shell
#

Lmao I'm 15

north dune
#

you dont know what its like to be me

#

said every teenager in every decade

#

and they were all wrong

#

older people have been exactly where you are now

muted glacier
#

Digitally buying video games?

north dune
#

yes?

muted glacier
#

WHAT

north dune
#

you think i wasnt able to buy games online 10-15 years ago?

#

internet wasnt invented yesterday

muted glacier
#

Wasn't as common back then

north dune
#

true

#

but steam itself has been out for more than a decade

muted glacier
#

steam wasn't as popular back then

north dune
#

what is your point

#

im telling you people 10-20 years ago could buy games digitally too

muted glacier
#

They could but it wasn't common

north dune
#

okay

#

again, what is your point

keen shell
#

I can't imagine it not being popular back then

north dune
# muted glacier this

my counterpoint: i think this guy is attributing his own situation to everyone else a little too hard

keen shell
#

It's not like how it is now but that has reasons

north dune
#

not everyone has your parents and their decision to keep you from buying online

#

there are an ungodly amount of children in this server who own the game

muted glacier
#

I wouldn't attribute it as hard if I didn't see wow so relatable tik toks about it

north dune
#

tik toks are made to be relatable

#

anyway, this conversation spiraled hard

muted glacier
#

I can show you a study

north dune
#

formations are not hard, mods and maps are coming to steam
dont remember what else was talked about

muted glacier
#

Only 50% of parents have ever let their kids use their credit cards to buy something online

north dune
#

half of all children can buy stuff online and you try to tell me parents dont let them

#

you just got lucky with having stricter parents

muted glacier
#

It's actually higher statistically by wealth

#

parents are not strict

north dune
#

no

blissful onyx
#

yes

orchid frigate
#

just learned that collider and collision actually have a difference, that was alot of thinking for a stupid error like this

orchid frigate
#

Easy to typo them more like

orchid frigate
#

im sorry what

#

i have seen some objects fly but jesus christ

#

ok fixed it

astral basin
#

Why is everything so red like your place is in the middle of a wildfire

orchid frigate
#

and because there are so many errors it might aswell be on fire

hazy wadi
#

Not to start the argument up again, but you've been able to get Steam gift cards for probably a decade, same with google play, so parents don't have to give them credit cards

orchid frigate
#

what

#

also this channel is only for coding

astral basin
lofty fern
#

I thought this was for talking about coding

knotty root
lofty fern
#

what even is that

lofty fern
#

Bro you trying to start beef

#

or should i say

#

ham?

muted glacier
ashen hound
#

joe

wet girder
#

Just keep this in programming/coding

main brook
#

how to make computer from scratch

orchid frigate
#

first: do the hardware and then the software

main brook
#

what about

#

the hardware

#

how to make hardware from scratch

orchid frigate
#

combine a bunch of atoms together or something idl

#

i just code games

main brook
#

atoms

#

so in atom level

#

electrons never touched each other
and we're made of atoms

#

so no officer

#

i did not punch that kid

orchid frigate
#

this channel has gone way too off topic hagrid

main brook
#

do you know how to make transistor

#

google aint helping

#

in visual its easy

orchid frigate
#

translator?

main brook
#

transistor

#

like

orchid frigate
#

oh

#

no i dont do hardware

main brook
#

this thing

#

or something

main brook
orchid frigate
main brook
#

how to make electricity flows

#

i have 2 A2 and A3 batteries

#

and 1 big boi battery

#

i have cables

#

which are the leftovers from my broken things

#

_google does not help so just "google it" won't help Jerry _

orchid frigate
#

google it

main brook
#

IHaydot#1126 uses "google it"
its not effective

north dune
#

too much to explain here, just wires alone wont do it for different battery types i think

rigid nexus
#

Make electricity flow by smoking crack

barren shale
#

Godly words

wet girder
#

We had 40 hours worth of learning to learn electricity basics

#

in school

lofty fern
#

turn switch on electronic turns on

rigid nexus
wet girder
#

@main brook but seriously you won't learn shit asking people about super complex stuff like this, googling is the only thing that helps but you first gotta learn how to google

main brook
#

and google gotta learn how i google

wet girder
#

But why would you make transistor

main brook
#

for fun

wet girder
#

you can buy like 200 of them for $2 in ebay

main brook
#

and i don't have money

#

nor ebay

#

also shipping fee

#

also parents strictness

#

and other factors

wet girder
#

well transistor aren't easy to make, you need to buy components from somewhere

main brook
#

i have the components i think

#

my father kept alot of things

wet girder
#

when I want or need components I ask my dad to take me to one hardware store near me

main brook
#

wew

wet girder
#

I don't do much tho nowadays with electronic components

#

but you should watch ElectroBoom

#

he teaches so damn well about electronics

main brook
#

is that from youtube

wet girder
#

ye

main brook
#

frick

#

my wifi is being mean

#

and youtube is broken for me

#

although i can use other services

#

the videos just wont load

wet girder
#

damn

#

YouTube is seriously the best recourse

#

for basically anything

#

well not really

#

but basic stuff

main brook
#

ye

#

but internet is better than my teacher teaching things that we know we're gonna fail at and blame it on us for being lazy and they will take the credits if the class didn't fail

wet girder
#

I actually learn stuff from school but I also learn stuff on my free time because I'd be dumb af if I don't do that

main brook
#

i learn everything not from school because it gives me stress while learning by myself gives me more space to learn and customized choices and doesn't forced

barren shale
#

When i was 12 i wanted to make a game

#

So i opened youtube

#

Made a game

#

Best thing i ever did in my life

lofty fern
#

want to join Ham gang Hamza

knotty root
barren shale
#

You need a za dude

barren shale
#

The voltage is what makes electricity flow

#

When you have a closed circuit

#

And lets say you have a battery

#

Electrons flow from the negative to the positive side of the battery

#

And the current goes the opposite way of the electrons

exotic vessel
#

So this is where all the nerds go...

orchid frigate
#

Hey this place is nice

#

We talk about coding

north dune
#

not the first time hes said that here

#

in fact its the only thing hes said here

orchid frigate
#

That's not nice towards coding people...well I guess depending on how you look at it

north dune
#

nah hes just being an ass

keen shell
#

lol

#

I felt insulted and complimented at the same time

main brook
#

same

barren shale
#

NOW IT PLAYS CONNECTFOUR

#

But its not a superbot

#

Too hard to bruteforce all the moves

#

Too many moves

#

Depth 5 takes around 200 ms per move

#

I need a transposition table to make it faster

#

But its an ass to write on my phone

orchid frigate
#

Coding on phone sounds like hell ngl

barren shale
#

It is

#

But my laptop is broken and i have nothing else to do

wet girder
#

It's honestly the best thing ever to have a nerd dad. Even if my main pc would break I have 1-3 other computers I can use for programming (depending what you count computer)

orchid frigate
wet girder
#

well with that only laptops count lmao

#

also having nerd dad means he can help me with problems with my PC or code, I can talk about coding with him and I get more easily stuff for programming and electrical engineering

orchid frigate
#

my dad knows nothing about both code and electrical engeneering, he is a great builder tho

#

even if that isnt his profession

distant solar
#

Wassup?

main brook
knotty root
#

What are some good commands in crosh page in chorme books

orchid frigate
#

so im making a knife script rn but i have a bit of a problem with colliders (also goddamnit i hate colliders in unity)

#

because of the colliders, i need a rigidbody but

#

for some reason whenever i put is kinematic on on the knife my player with the knife falls, even tho its not supposed to use physics

#

and i need is kinematic so that the knife moves

hasty bane
#

machine learning go brr

barren shale
#

Added transposition table

#

Depth 5 without ttable: 200ms
Depth 5 with ttable: 180ms
Not every effective

#

BUT

#

depth 7 without ttable: 4500-7000 ms

#

Depth 7 with ttable: 1500-2500 ms

#

Thats 3-4.5 seconds saved per move

hasty bane
orchid frigate
#

Hamza your opinion was right

#

Game engines suck, so I'm making my own now

barren shale
#

Xd

#

Added actions sorting

#

And started checking for winning actions before searching

#

And depth 7 is down to 300ms

#

From 2000 to 300

#

Thats pretty nice

hasty bane
#

i somehow went from learning machine learning to hoi4

wet girder
#

I found the weirdest programming language ever

#

and I love it

#

after I learn this I can call myself rockstart developer

#

hell yeah

#

"Proper variables are proper nouns - any word that isn’t a reserved keyword and starts with an uppercase letter. Proper variable names can contain spaces as long as each space is followed by an uppercase letter. Whilst some developers may use this feature to create variables with names like Customer ID, Tax Rate or Distance In KM, we recommend you favour idiomatic variable names such as Doctor Feelgood, Mister Crowley, Tom Sawyer, and Billie Jean. Proper variables are case-insensitive apart from the first letter of each word, which must be a capital letter."

barren shale
orchid frigate
#

rockstar just looks like im reading a "deep" poem that a german man wrote

north dune
#

sweet

unreal nebula
#

Does worldbox have a modding API?

north dune
#

no but there is an official mod loader

#

theres also an asset manager that makes a lot of modding much easier

#

id personally recommend using bepinex/official+HLoader mod if you can, which isnt documented there

orchid frigate
#

Damn Building your own engine really teaches you about how games work

#

It's also surprisingly fun to do which is nice

wet girder
#

I am gonna try making my own engine too. I hate Unreal Engine already

barren shale
#

Start with a simple 2D engin

#

It also helps if you know java

#

Much more engine making libraries and documents

#

Than C#

#

But they are very similar

#

The syntax is almost the same

#

If you dont know anything in java and you know a lot in C# you can do a lot in java

north dune
#

if thats true id love to check out some things later

#

years ago i remember seeing stuff about java reflection that could pretty much allow modding java apps

#

would be fun to get into

#

wow lol, it was 7-9 years ago and it was for runescape private servers

barren shale
#

RotMG private servers are made in C#

#

Which is another mmorpg

orchid frigate
#

tbh my engine will be more of a library lol

#

i dont wanna do anything graphical in it really, i just need to setup my basic functions and some other stuff like update

#

vectors

#

and colldiers

barren shale
#

Still counts as a engine

#

If you want to use C#

orchid frigate
#

i guess but making an engine really helps with learning how an engine works (also whoever is putting those eyes please stop)

barren shale
#

Heres a great way to start

orchid frigate
barren shale
#

It has alot of documentation

#

And it handles the drawing

orchid frigate
#

i already know alot of c#...well

barren shale
#

And the game loop

orchid frigate
#

not really

#

but still

barren shale
#

Yea use monogame

#

Very good

#

It handles the gameloop and the graphics

#

So you can focus on the game logic

#

And a lit of documentation

orchid frigate
#

hmmm the only thing im not really sure about game engines at the moment is how they...well appear as a window including games

barren shale
#

Your game engine doesnt have to be like this

#

These are game engines made for the public

#

Yours should be private so you dont have to worry about that

orchid frigate
barren shale
#

They are made a program instead of a library

#

Makes it easier to make new game with

orchid frigate
#

i stopped using unity because it felt like everything i did was extremely limited, like physics were already made for me and remaking them wouldnt make much of a difference

#

and unity also doesnt have very good...anything unless you do it yourself

barren shale
#

You will come back to unity trust me

#

Its so fuxking hard to make an engine

orchid frigate
#

(also we need a coder role or something lol)

barren shale
#

Once you go to animations

#

Sprite flipiing

#

Origin

#

Shir likw that

orchid frigate
barren shale
#

Breaks all the time

barren shale
orchid frigate
barren shale
#

But you still should go for it

#

Learn a lot

#

And when everything start to break apart

#

Make a new one

#

And each time it will be better

orchid frigate
#

its a roguelike, so most of what will be dont for the game will have to be implemented after the engine is done

#

done*

barren shale
#

I used to like making rogue likes

#

Really fun

#

The randomness

orchid frigate
#

working great at one point the next you have cubes going into eachother

barren shale
#

Yea they are complex to understand

#

I still fuck them up

versed sedge
#

Hi

lofty fern
#

Hi

knotty root
#

What does 2×2 equal this is a pretty complex question so its just the question for a bunch of coders

orchid frigate
barren shale
#

When you think coders are smart

knotty root
#

Oh im sorrry i just thought you guys could do it

barren shale
#

But they are just people who know how to google effectively

orchid frigate
barren shale
#

Knowing what to write in google to get the result you want is what a good coder is

keen shell
barren shale
#

Its literally the volume of somethings

orchid frigate
#

Math in coding is mainly done by the computer

barren shale
#

Volume of a cone and a sphere

#

And the what was it

#

Idk how to say it in english

keen shell
#

Triangle

barren shale
#

Is it space

#

No not triangle

keen shell
#

Oh

#

Haha

barren shale
#

I know what a triangle is

#

But its not a volume of a triangle

#

Triangle is 2d

keen shell
#

Ohh

barren shale
#

Doesnt have a volume

keen shell
#

The area

#

I guess

barren shale
#

Yea

#

Area

orchid frigate
#

Pyramid

#

?

barren shale
#

No

#

Area it is

#

Pyramid is just a 3d triangle

orchid frigate
#

Very easy for us to understand but imagine saying that to a 2d person

barren shale
#

No u

raw wagon
#

What is 36+x*z=52+y_(zy) equal to for x, y_(zy) and z.

knotty root
#

7

barren shale
#

X=(y(zy)+16)/z= y^2 + 16/z
Z=(y(zy)+16)/x
Y(zy)=x*z-16

barren shale
#

Or am i stipid

knotty root
keen shell
keen shell
#

Bre

#

Nah

barren shale
#

I split the division into two divisions

#

Then removed z from one of them

#

To make it more simpler

keen shell
#

oh right it's the same lol

barren shale
#

Otherwise your answer is also right

keen shell
#

I just checked

barren shale
#

I mean this is just simple math

#

8th grader should be able to solve these

keen shell
#

I don't know what a 8th grader is because I have a completely different schooling system but I guess that's true

keen shell
#

nice

#

I agree

orchid frigate
wet girder
#

yeah same here

barren shale
#

Yea i think it should be 14-15 he just miss calculated

cedar inlet
barren shale
#

Wut

#

Oh wait

#

Yea

#

Ur right

#

I got a bit confused

orchid frigate
#

Started trying to code on phone

#

I already hate everything about it

wet girder
#

why would you try it when you are able to just use pc

orchid frigate
#

Because I'm not always home, plus i thought it would be a good place to practice

barren shale
#

Dont

#

Phone coding is hell

orchid frigate
#

Yea I noticed

barren shale
#

Trust me if i had my laptop i would never do it

#

But i have exams so i dont have time to fix it

orchid frigate
#

I'm on a pc so...

#

Can't bring my pc around

#

Well I can

barren shale
#

Not a good enough reason to do it xd

orchid frigate
#

But I will need to always carry a lil truck extension with me and a shit ton of cables

#

What's a good mobile ide anyway

barren shale
#

I use C#Shell

orchid frigate
#

noted

jolly jetty
#

hello nerds

keen shell
bold rover
#

Bad

kind knoll
#

Dang

kind knoll
orchid frigate
#

I need to make this channel more active, hmmm

#

Maybe we could do something like the game jam

wet girder
#

code jam

#

wb code jam

orchid frigate
#

Yea

#

Would be interesting

#

Something of the type "create a simple calculator in 72 hours, whoever makes the best calculator (in terms of usability, looks etc) wins....doesn't even have to win anything tbh"

barren shale
#

What

#

Calculator takes 10 mins

keen shell
#

Something worldbox related

stone fractal
#

Code the most fun Langton's ant maybe? wbhyperbear

stone fractal
orchid frigate
barren shale
#

What

#

First time i see maxim talking