#⌨coders-cave

1 messages · Page 55 of 1

orchid frigate
#

But hey exams are over yaay

barren shale
#

2 exams left

#

Ill finish on 23rd

orchid frigate
#

Ok

#

I will actually try to create the eternal engine after 30th of june

#

Also I gave up on the roguelike

#

Now I'm making a 3d survival game

#

I have changed my mind around 6 times in the past 2 months

mellow lava
#

Hello guys

#

I cannot code myself

#

But for the people who create updates on this game

#

Please maybe create a tech tree

#

Like research windmill

#

Increase farming speed

#

Research advanced combat

#

Increased damage

#

For soldiers

unkempt shell
#

This is not a channel for suggestions.

#

This is for those who know how to code to discuss how coding works. If you want to suggest something do “~vote” without the “, then put your suggestion, for example, do

~vote add boats

main brook
#

i feel like they think this is for

#

direct

#

suggestion

#

to put into code

main brook
#

and i just realized arrays have 0(1) time complexity for adding, removing, accessing

simple escarp
#

Can you get worldbox simple GUI on mobile

trail ocean
#

Yeet da code

main brook
mossy cedar
main brook
#

bonzi is not available for mobile

main brook
#

if i were to test my server

#

for multiple client

#

should i chunk them with processes

#

or threads

#

because im already using async to handle the clients

#

but to make it more concurrent

main brook
#

so i was wondering why my code doesn't work

#

spend a few minutes

#

and i forgot to add await

#

in this one line

barren shale
wet girder
#

otherwise you're going to have problems

main brook
#

damn

#

wait no mean

#

uh

#

i handle the server fully asynchronous

#

and for the client

#

i made it chunked

#

so every 1024 client will run in separate process

#

but on each process

#

it runs asynchronously

#

all im benchmarking is the receiving message

#

i dont even know why im doing this

wet girder
#

That's the problem, asynchronous waits for longer processes to finish so basically shuts everything else down for the time one code is ran. That's why you should run everything on seperate threads or the server is going to feel laggy when more than 1 persons connect

main brook
#

ah

#

that's why

#

because when i try to

#

connect like

#

4096 client

#

it just exited arbitrarily

#

xd

wet girder
#

lmao

main brook
#

well how am i supposed to handle them then

#

i mean all im doing is

wet girder
#

You shouldn't use async tho if you don't really need it

main brook
#

receive one message from client

#

and send message back

main brook
#

because the module

#

uses async

wet girder
#

Ah then, seperate threads for everyone maybe goaPeepoShrug

main brook
#

isn't that gonna spawn like

#

4096 threads

wet girder
#

yes

main brook
#

xd

#

lets hope my phone for the best

wet girder
#

Don't connect so many clients lmao

main brook
#

im benchmarking

#

should i use thread executor or just normal threads

wet girder
#

Honestly I don't know. Never worked on server side

main brook
#

bruh okay then

#

ill use normal thread

barren shale
#

For receiving you need a thread for each client

#

For sending you can have a thread per an amount of client

#

Which you can determine by testing

#

Id start with 1 sending thread

#

It probably can handle 5k clients if your internet speed is fast

#

I used to play with networking a lot and ive read a lot about it

#

Its really confusing

wet girder
main brook
#

im confused by everything I just agree

#

also i know what i have to do

#

basically create like 6 instances

#

of ws server

#

and then use nginx

#

time to learn ws with nginx

#

time to scel horizontally

barren shale
# wet girder damnit

So theres a main thread that you can start other threads from when you call an asynchronous method it creates a different thread to run it but if you use await when you run the asynchronous method it will freeze the main thread until they asynchronous method finishes

#

So using await makes the asynchronous method synchronous

wet girder
#

ohh intresting

main brook
#

also with the help of

#

polling

#

like a selector

#

for I/O

main brook
#

because the event loop need to iterate once

#

all over the pending tasks

#

and better off running it as callback than async function

barren shale
main brook
#

if its something like this

#
async () => {
    console.log("hi");
};
#

yes

#

its just a few ms slower

barren shale
#

Yes creating a new thread will take time

#

Thats why you see async methods and none async methods

main brook
#

its not a thread flush

barren shale
#

Instead of just using await

main brook
#

yes

#

but in Javascript

#

everything is awaitable

#

await 1

barren shale
#

Why would you await it if its not async

#

Doesnt do anything

main brook
#

exactly

#

but that's the fun part about Javascript

main brook
barren shale
#

If you have to run an await

#

In the function

#

The function has to be async

main brook
#

i said if its not async

barren shale
#

Well the function might not be async

#

But it has something async in it

main brook
#

also most languages wont allow await outside of async function

barren shale
#

Like downloading

main brook
#

like

#
download();
#

its often async

#

like

#
await SomeData.download();
#

returns buffer of the data

#

in a very nice language that controls async

#

you need await explicitly

#

IF ITS LIKE JAVASCRIPT

#

you can freaking

#

run async function normally

#

and it will run in background

bold rover
#

Guys

#

GAN Theft auto is now a thing (GameGAN with GTA5 Data)

#

Can we do this but for Worldbox wbhyperbear

#

The old version of world box ofcourse

#

Physics base research finally can be Quicker to pogzilla

#

There GitHub

main brook
#

interesting

bold rover
#

I kinda think if this can save storage space for more bigger games(Probably a much more Efficient Gan system)

main brook
#

what makes a game have huge memory usage

#

is it the actual code base

#

or is it the assets

bold rover
#

Assets I guess

barren shale
#

Whats a gan

main brook
#

im not sure..

barren shale
#

Oooh

#

Looks hot

barren shale
#

Unless you have 10k laying around somewhere in your house

barren shale
#

Its the high quality textures

#

That makes games huge

bold rover
bold rover
barren shale
#

Making the dataset isnt the problem

bold rover
#

Nope Typo WowPika

#

Im dumb

barren shale
#

Getting the GPUs to train it fast enough is

#

Unless you wanna train it for a year

bold rover
#

If we use the same method 😄

#

Probably in the future that would change

barren shale
#

It wouldnt change

#

But gpus will get better

#

And cheaper

bold rover
barren shale
#

Ofc the method will get better

#

But it wont be as big of a difference

#

It would be a minor change

bold rover
#

Process probably be desame but probably some new ways to render it a bit better

barren shale
#

Yea

#

But these things take too long usually

bold rover
#

Yup

barren shale
#

But GPUs are getting very good very fast

bold rover
#

But nonetheless this can probably be better at simulating realistic physics (probably real time) then the RL methods

#

Really exciting nonetheless

#

I hate it when it doesn't collapsed the link WowPika

#

Nonetheless yeah this is like RL method,Takes a bit longer

bold rover
#

Thanks for the help:o

main brook
#

anytime friend gimmehuggies2

barren shale
#

Completely different imo

#

I think things like simulating physics will come to games really soon

#

But using GAN to simulate a game still has a long way

bitter sedgeBOT
#

Sent your suggestion!

bold rover
main brook
#

I-

#

that sounds wrong but also correct at the same time

stuck marsh
#

Yo, @astral basin, may i make a worldbox fangame?

main brook
#

yes

main brook
#

uhm i dont know if i should reinvent the wheel

#

im really bored right now and...

#

i dont know what to do

#

i usually make something like a ghetto webserver framework

#

or async implementation

#

but now im starting to think otherwise Sui_Think

wet girder
#

create a nas

#

There's really good software for that

#

or learn full stack web development and create website

barren shale
#

I just do coding challenges when im bored

wet girder
#

They make me even more bored lmao

mossy cedar
astral basin
barren shale
barren shale
#

Jk dont ban plz

astral basin
wet girder
# barren shale Then you're picking easy ones

I don't like harder ones either, I just don't achieve anything with them. Feeling of actually creating something I want to use or someone else will use is why I code so coding challenges bore me because it never achieves product I created to use

barren shale
#

High paid job interviews give you a hard problem

#

To see how fast you can solve it

#

And how efficient is your solution

wet girder
#

I don't imagine myself working for companies. I want to create my own products and make money that way

barren shale
#

But that doesn't always work

#

And it might take a long time

#

You can't stay without a job

#

1 out of 10 projects succeed

#

So your first product probably wont work out

wet girder
#

tru

barren shale
#

Thats why people advise on getting a job

#

Then on your extra time work on a side project

#

If it seems to be successful you quit the job and focus on it

#

You'd have some money from the job to give the project a boost

wet girder
#

Yeee true

main brook
#

uhh

#

a json parser that takes json as configuration

#

like when i try to use npm and apparently my json lib is broken

#

i need json lib to parse json and to install json lib i need to parse a json

#

which then requires a json lib to parse it

#

so on and so forth

#

(人 •͈ᴗ•͈)

astral basin
keen shell
#

Ah that epicness

wet girder
knotty root
#

lol

#

True

zinc cedar
#

we're making a fangame of worldbox and we need programmers who are intermediate-advanced in c# and unity

#

we currently have a team of 11 ppl

wet girder
#

That's a lot of devs

barren shale
#

11 people

bold rover
#

11 is a lot WowPika

#

Is this Like The Calamity mod but for Worldbox?

main brook
#

i was making game and have 4 developer on the code part

#

and it was chaotic

#

we criticize each other code

barren shale
#

Biggest team i worked with is 2

#

So we were 3 and we had no problems

tropic dagger
# zinc cedar we currently have a team of 11 ppl

More people ≠ more productivity.
In lower numbers, it does but as more and more people are added to the team the overall benefit starts to curve and flatten as time goes on.
It may be due to faction formation in the team. One side has a vision of the project versus the other side. It often creates a very strange dynamic that often isn't really maintainable. These can also lead to team relationship decreasing, lowering productivity as those assigned to the team no longer want to work as hard.
It may be caused by too much unity. If the team is too tight, they're less productive as they're more interested in the team than the team's work.
Tl;Dr:
The less people there, the better the productivity in most cases. 2-3 (maybe 4 or 5) are required to create a decent product (at least for the coding part). Any other hires should be centered toward asset creation (sprites, models, music, sound etc...), planning (story (if applicable), features), and advertising.

#

Wow that fit in the character limit.

#

Anyways, I started to do a bit of Java, and in under a fraction of the time I spent on C++, I was able to do more in Java than C++.
But I'm still staying with C++.

barren shale
#

He did say 11 people

#

Not 11 devs

wet girder
barren shale
#

I mean what do you expect having maddox will do ?

wet girder
barren shale
wet girder
#

I don't think there's been anything that broke amp in maddox's code

#

mostly in mine

barren shale
#

no

#

Only maddox

knotty root
#

I learned somethings at boolean math

zinc cedar
knotty root
#

No so much but I know how to make fps movements and some other things

#

And c# I'm not learning it yet

#

But you can creat make an big project if you was 11 advanced c# devs

main brook
#

if you have 11 advanced c# dev

#

you would make an absolutely different game

knotty root
#

yes

#

exactly

#

like worldbox a good game but it need just some more features and all that is just by 2 or 3

wet girder
#

Anyone wanna try to attend python discord 2021 summer code jam with me?

#

Well there isn't teams for it but if anyone's intrested I can send links and info to it

#

I'm gonna try to study the TUI libraries allowed to it before qualifiers

#

qualifier is here if anyone wants to have a go on it

#

I'm gonna try getting in the code jam

#

would be my first

barren shale
#

I can try

#

When is it due ?

#

@wet girder

wet girder
#

June 30th

#

more info is here

barren shale
#

I can do that

wet girder
#

This might be foreshadowing but the qualifier doesn't seem all that bad

#

And I'd love to work with other devs for a code jam

barren shale
#

Its random tho

#

I guess i have to beat you

wet girder
#

tru, let's try to both get qualified and see who's team gets better position

barren shale
#

I just opened my laptop

#

And i can barely read code

#

Its been one long month

wet girder
#

lol

#

I'm gonna start tomorrow

wet girder
#

I hate changing between JS and python. I tried to help a guy in Python discord server but used str as variable name and used .lenght() operator

knotty root
wet girder
#

Mine's in September sad

knotty root
#

nice

unkempt shell
main brook
#

im banned in python server

#

now im on my own with dozens of stupid questions i want to ask

mossy cedar
#

they got a ton of stupid questions too so no need to be ashamed

main brook
#

i never asked on stack overflow

#

and im very shy to ask shy

trail ocean
#

thanks for I have actually not that much things to add or edit :3c

main brook
#

this sounds like spoonfeeding

weak holly
wet girder
main brook
#

if you want to join one of the best toxic friendly python server

wet girder
#

it is like the stack overflow for discord

wary orchid
barren shale
#

ye

#

you can use hengine to draw

bold rover
#

Nice 👀

main brook
#

ehem

#

as i was saying

main brook
#

im full of commitment and sheer will

#

also my sdcard came

#

oh my character

#

tehee

#

its actually 256gb

#

instead of the 128gb

bold rover
#

Nice WowPika

main brook
#

and only for $3

#

tehee

bold rover
#

Owwww :O

wary orchid
barren shale
#

might be fake

main brook
#

seems like it

#

because my raspberry pi wont boot

barren shale
#

i woudlnt trust a 3$ sdcard even in syria

#

256 should be like 10$ atleast

main brook
#

well

#

the actual price is

#

$15

#

but promo

#

sadly my pi wont boot

#

it just shows ext4 errors

barren shale
#

HEngine is officially 2,069 lines of code

main brook
#

nevermind

#

its just that

#

i corrupted my sdcard several times

#

it works just fine except my psu sucks

#

tehee

wet girder
wet girder
barren shale
wet girder
#

ye

trail ocean
main brook
#

its not even powerful enough to

#

use hdmi

#

or maybe it's the signal

#

because my hdmi cable is sortof long

#

although it works when not the first one

#

so like

#

if i flash the image

#

and then use it in the pi

#

its always gonna be "no signal" on the hdmi

#

but if the sdcard is corrupted

#

like when i unplug the power when its writing

#

it works but shows me error

#

ext4-fs

#

reading lblock 0

main brook
#

now it shows me

#

sdcard never left busy state

#

does it have something to do with the

#

sdcard being 256gb

knotty root
#

I am madly infuriated by the fact that trees take a very long time to grow leaves. How do I fix this?

wet girder
#

What are you talking about

barren shale
#

about trees

#

obviously

main brook
#

i made this with flexbox

#

first time i actually do something good in frontend

#

now my stepfather told me to learn grid

bold rover
#

Lovely :o

main brook
#

owo thankss

knotty root
#

ello to anyone that's here

wet girder
#

Heya

main brook
#

haii chima_wave

bold rover
#

Heyo tortongue

main brook
#

haii zt_heart

zealous mica
#

hi

knotty root
#

Hi.

knotty root
#

Helli

#

Hello*

zealous mica
#

boat ye

main brook
#

YAYYY

#

so apparently i found a switching power source

#

its AC to DC

#

(´∩。• ᵕ •。∩`)

#

it has some nice output

#

but it uses the pin

#

instead of the micro usb charger

#

for the raspberry pi

#

Marine_Cry i hope this works

orchid frigate
#

It will probably work
He says unknowing what he just read

orchid frigate
#

Haven't coded in some long I'm scared I have forgotten how to do it

#

Also 1 month later still can't render anything in opengl

wet girder
#

I should code more ngl

orchid frigate
#

I still have school so I cant

#

But atleast exams are over

wet girder
#

My school ended 2.5 weeks ago

#

I haven't really taken a break from stress tho

#

I should

orchid frigate
#

I have school until 30th of june

#

After which I have even more school headaches to go through

barren shale
#

git gud

wet girder
orchid frigate
#

@barren shale I know what a loop is and how to use it so I'm basically the best coder ever angry

orchid frigate
wet girder
#

I'd have 8 weeks of summer break if I didn't change my school

#

now I have only 7 weeks of summer break

#

and 2.5 has already gone

orchid frigate
#

I remember when I was fifth grade and had like 3-3.5 months of school break

wet girder
#

that's a lot

main brook
#

you know that means 2 thing right

#

get good and git good

main brook
#

on my last mid semester exam

#

there wasn't even a break

#

we just go straight back into normal schedule

#

and even now when i have school break because i got promoted to 8th grade

#

we have freaking assignment

#

why can't we just take a break Marine_Cry

barren shale
#

I have an infinite break from school

main brook
#

should i make a abstracted framework from an already existing framework

#

because its missing some features

#

also because its functional programming

#

not objects

hasty bane
#

unity ragdoll wizard be like

places every joint and collider at 0,0,0

orchid frigate
#

Eternal engine developer chad be like
I like this engine
Yes

frosty depot
#

what the heck is this?

hoary hound
#

Cave for weird people who smash on their keyboard and make computer magic happen

bold rover
#

This^

main brook
#

no we dont

#

we like to play around with negative and positive electrical charge

bold rover
#

We played 1 and 0

main brook
#

we played with quantum mechanics

main brook
#

i-

#

i ended up rewriting the async framework i designed

#

but its already night time and im going to sleep baii baii everyone zt_heart

#

hope you all have a wonderful day gimmehuggies

orchid frigate
#

It's not small code either it's like 6 classes of 100 lines of code

keen shell
#

I understood not much lol, but in the end I'm happy I learned stuff like what a turing machine is

barren shale
#

xd

exotic vessel
#

Good afternoon NERDS

barren shale
#

its 12 am

exotic vessel
#

Stfu

keen shell
#

Lmao dude, that legit is the only thing you say on this server

exotic vessel
#

My bad nerd

orchid frigate
#

And it's also the same code

wet girder
keen shell
#

It went a bit fast for me and I wasn't following along that wellJerry

wet girder
#

Well I've been reading about infinity a bit because of the videoz veritasium made about infinity and it's a very interesting topic so I automatically paid attention to the video

keen shell
#

Nice

main brook
#

its currently still on 3 files but each of them is like 100-300 lines of code

knotty root
#

Where are you from ?

orchid lotus
#

I was 3:07 :D

main brook
#

i was a baby

#

and now iam a teenager

keen hull
#

Oh cool I didn’t know we had a room for people that program

#

You all do it professionally or just for fun ?

orchid lotus
#

both

keen hull
#

Cool 😎

#

I only know C# rn I’m a beginner

chilly ivy
#

C# funny

barren shale
#

:(

main brook
#

i learned how select works cute

#

now i just need to make a compatibility with window system

barren shale
#

it selects

#

but i mostly use where

#

select doesnt have as much use cases

main brook
#

wha-

#

well select on win doesn't allow any other file descriptor

#

only socket

main brook
#

how do i...

#

err

#

how do i do I/O multiplexing on windows

#

because apparently

#

something is very wrong with select()

barren shale
#

Idk why ur asking here

#

Community too small for people who know about these things to be here

#

The only advanced things i know are in C#

main brook
#

wha-

wet girder
#

I mostly know python so kinda hard to help

main brook
#

woah what a coincidence

#

the problem was abstracted from python

#

have you used selectors

#

module

wet girder
#

Uhhh nope, what does it even do

main brook
#

its for

#

high level I/O multiplexing

#

which uses the native select module

#

it works normally on unix but on win

#

its a hell

wet girder
#

ah

#

My dad used to program I/O chips for nokia phones

bold rover
#

Sounds interesting 🤔

wet girder
#

He explained to me how OS's handle I/O last year

#

it was very interesting

main brook
#

i wish my dad where more on software than hardware

#

but i still love him zt_heart

void plaza
main brook
#

my dad zt_heart

void plaza
#

Ok

main brook
#

but i also love everyone zt_heart

void plaza
bold rover
#

Also It's kinda dissapoting the product im looking at and saving up money the past few 6months (A Laptop) And planning to learning programming and Neural Network is gone

#

I can probably look at other things for the moment I guess

#

Nonetheless Python seems nice on this type of goals 👀

wet girder
#

Why laptop and not pc?

#

good laptops cost on average twice as much as good pc

void plaza
#

Maybe he like laptop?

bold rover
bold rover
main brook
#

and that's why i have a terminal on my phone with linux installed in it

#

its more affordable than buying a laptop

#

and also on the go

#

but lack functionality like synchronizing tools or lower level api needed to use certain function

main brook
bold rover
#

Thanks 😄

barren shale
#

Never have i found something that worked better on linux

#

Its always more practical onwindows

#

Maybe because i use C# which is made by Microsoft

wet girder
#

that's definetly the reason

#

most of the time stuff works better on linux

#

but .net is handled by microsoft so obviously it works well with windows

barren shale
#

Most multi platform languages work well in all languages

#

Its the third party stuff that might not work

main brook
#

LISTEN HERE

#

its like how there's unix socket

#

only unix can use it

#

also select() is native from the os lib

#

and the win lib sucks

#

and now we have to use Iocp which is like rebuilding the whole select()

#

but for windows

main brook
#

haha...

#

@wet girder guess what

#

i spent like 3 hours debugging

#

and found this

#

i forgot to pass self

#

to my call_soon

wet girder
#

lmao

main brook
#

yay i ended up making 591 line of package

#

(´∩。• ᵕ •。∩`)

#

its small but works quite nicely

#

it has 0.01s delay on callbacks

#

but it doesn't work normally on windows system

wet girder
#

Normally I hear programmers use ms AiriThonk

barren shale
#

depends

#

sometimes ns

wet girder
#

tru

main brook
#

i think its 10ms then

#

tehee

#

it was 12am

#

now its 2am

#

my mind is alot better

#

although im still confused what to do with the win select

#

i already put it on github if you wanna see it

#

i have a class that doesn't do anything

#

for Window system

barren shale
#

you feel sleepy then you dont

#

thats normal

#

but its very harmful

main brook
#

i know cute

#

it happens all the time

#

tehee

main brook
#

im dead

#

my package stopped working when i use my wait_for

soft rock
#

Yay, someone in Python discord server explained me how my code working wblove

bold rover
#

Really lovely :v

main brook
#

i got banned and forgot the ban appeal email

scenic python
#

I'm trying to make Blessed an inheritable trait, but I keep getting a syntax error when I try to add the code string in.

#

Wait, I just realized.

#

Each trait modifier has a , when it moves to the next correlating modifier, but stops when it moves to a new trait

#

Yep, that was the issue, nevermind.

keen hull
#

oh god sorry to ask but

#
if (Console.ReadLine("/reset"))
               {
                   cash = 300;
               }
#

why does this not work what would be a solution

#

c#

knotty root
#

Disturbances in the magnesite-nitron subspace phase variance is not responding?
To fix it use Multidimentional subspace tube with command converter.

wet girder
orchid frigate
#

went back to unity

#

dont have the nerves to go through 3d opengl

#

the good part about this is that i will, for once actually know what im doing :)

barren shale
#

nah you wont

#

:)

orchid frigate
#

I will

#

Unity code is ez

#

Unlike stupid openGL which is stupid and also stupid >:(

main brook
#

wha-

main brook
#

i like how my code has O(1) for this example code

#

it stays on 2.0160000000000764

#

second

#

every iteration

#

also i fixed my code Coco_Ayaya

bold rover
#

Yey😄

main brook
#

eeek i finally have a working mini socket client

#

and i documented my code

#

which is not much useful

#

since i already heavily typehint my code

keen hull
#

Man the way professional programmers give tips is so annoying sometimes

#

Everything you ask is answered with a riddle or a harder question

#

😂

wet girder
#

Programmers are like that sometimes

main brook
#

basically senior programmer tehee

#

its better than giving away the answer

#

its called

#

and its bad

main brook
#

tehee

tulip mauve
#

Tehee

barren shale
#

finally i have windows

#

i can run my acrostic

main brook
#

i-

#

i used windows and its hell

vivid plover
#

i used windows and i'm happy, even it's not special something

barren shale
#

nah

#

not if you like C#

wicked terrace
#

Hi

main brook
#

haiii zt_heart

bold rover
wet girder
#

Heya

barren shale
#

jupe soup poem

barren shale
cursive cedar
#

Hi long time no see

main brook
cursive cedar
#

I'm currently playing with the world box unit json and trying to figure it out, my goal is to try creating custom races one being an undead group(ones that build cities) and the other being fish people (live underwater and have landships). Where should I look for things such as sprites and building code

#

Also trying to have something for the undead like the spore mechanic

main brook
#

sounds complex PI_danceowo

cursive cedar
#

I'm already struggling, but I just need to work out the locations for the assets so I can set up a foundation for the undead.

main brook
#

you're here making this history changer thing

#

and here iam,

#

rebuilding a wheel

bold rover
#

No, You're still doing something nonetheless WowPika Also it's amazing

main brook
#

sank you zt_heart

barren shale
#

Rebuilding the wheel is good for understanding how the wheel works

barren shale
orchid frigate
barren shale
orchid frigate
#

and made it even better

#

it will be able to spin on all its sides

wet girder
#

You're describing a ball

bold rover
#

That's a cylinder

orchid frigate
#

It can even spin in the 4th dimension

wet girder
#

how can something spin in time

orchid frigate
#

Idk

#

But I will figure it out

bold rover
#

Also Guys Are You interested on Text-to-image Models?

#

Like dallE

#

I do wonder if there dataset have Worldbox assets/pictures

bold rover
#

Nonetheless just something to show

#

A Plastic Container With Kimchi | Kimchi Inside of a Plastic Container | There's a Plastic with kimchi inside of it

main brook
#

looks yummy

bold rover
#

This is fully AI generated

main brook
#

WOAH

#

that's cool PI_PikaGirlWoah

bold rover
#

You can check my tweeter if you're interested for more

main brook
#

yes yes yes

#

whereee

bold rover
#

Click my pfp

main brook
#

okieee

bold rover
#

Thanks for checking nonetheless

main brook
#

something went wrong

#

damn it twitter

bold rover
#

Hmm

#

If You're interested on DALL-E Like model

#

I can share the notebook here

main brook
#

yes please

bold rover
#

Sure 😄

#

This is really a Early project but Month by month results are getting better

#

A Plate with a Piece of Red velvet Cake on top of it. A Piece of Red velvet Cake on top a Plate

#

Like this

bold rover
#

And Open source it

#

They have a discord server But I'll Get warm here

#

Because bots

#

😄 nonetheless please do enjoy and share your results in the discord server, There repo link is in the Notebook

#

And has the server link

main brook
#

oooh

bold rover
#

Also @main brook

#

The prompt is A Character Design of A Light Mastery Especialist Book of Flames mage Rei With Flaming spell book , HDR , Rendered in Detailed Engine , Rendered in Super sharp Engine , Details

main brook
#

i look hot

#

this image is on fire

bold rover
#

Nonetheless that all for the moment

#

Can't wait for future models from there group,And Create some lovely works

main brook
#

its so cool

#

pingu PI_owodance

barren shale
main brook
#

without time

#

something cannot spin

#

as it does not have momentum

knotty root
#

I was one of the first people to play the game

#

When it had like 900 downloads

bold rover
#

Lovely

barren shale
mossy cedar
#

rename this place to coders dungeon

keen shell
#

Who are we fighting?

wet girder
#

@pearl ingot #🤖bot-commands

mossy cedar
main brook
#

wha-

orchid frigate
#

hamzas

#

i need help

#

how do i modify a list during enumeration

main brook
#

you can't

#

or just do like

#

ntodo

#

so you iterate ntodo times

#

something like this

orchid frigate
#

hmmm can i modify an array during enumeration

main brook
#

technically yes

#

but it work weirdly

orchid frigate
#

i kinda need to do that as im constantly creating new blox during a foreach loop

main brook
#

ntodo

#

something like this

#
let ntodo = list.length;
for(let i = 0, i++, i < ntodo) {
    print("uwu");
};
#

i don't know if this works but you get the idea

orchid frigate
#

ohhhhh

barren shale
#

Wait what

orchid frigate
#

i get it

#

yea i will try this

#

thanks

barren shale
orchid frigate
orchid frigate
barren shale
#

Or aff

#

Add*

barren shale
main brook
#

well its better to iterate to the current state of the list

#

iterate the length of it

orchid frigate
main brook
#

or use something called

#

GENERATOR

orchid frigate
#

but cant i just update the ntodo every frame

barren shale
main brook
#

you can just do a while loop

#

that stops when you had enough items

orchid frigate
#

you dont wanna see it

main brook
#

on the list

main brook
orchid frigate
#

you will block me if you see it

barren shale
#

Its hard to understand what youre trying to do

#

If you dont show

main brook
#

than your code

orchid frigate
#

get ready for ALOT of code

barren shale
main brook
orchid frigate
#

idk how it will look like hope its not too floody

main brook
orchid frigate
#

or i could use that

#

yea

main brook
#

paste service exists tho-

barren shale
#

Yes

#

You could

main brook
#

tehee

barren shale
#

But reel men dont

main brook
#

and get banned from auto spam ban

orchid frigate
barren shale
#

Ok easy

#

Just add ToList()

#

At the end

orchid frigate
#

dont block me sad

barren shale
#

In yhe foreqch

main brook
#

@orchid frigate

#

just use a while loop

#

tehee

#

and get the item from how many iteration you've done

#

so like

orchid frigate
#

using ntodo

#

?

barren shale
#

What are you trying to do

#

WIth this code

main brook
#
int index = 0
while (true) {
    item = list[index];
    index += 1
};
barren shale
#

Seems over complicated

orchid frigate
barren shale
#

What are the rules

orchid frigate
orchid frigate
#

pretty much

barren shale
#

Whats a blox

orchid frigate
#

block

barren shale
#

Is it just a sprit e

orchid frigate
#

blocks

orchid frigate
barren shale
#

Thats gonna lagg a lot

#

Even if the code is empty

orchid frigate
#

ik but its gonna be created only in the render distance

barren shale
#

Maybe use one code

#

As a manager

orchid frigate
#

yes thats kinda what im doing

main brook
#

something like this

main brook
#

nooo my network

orchid frigate
#

the block code is just setting up the size of the block

barren shale
#

So it doesnt have anything in update ?

orchid frigate
#

no

barren shale
#

Dont leave update empty if youre not using it

#

Delete it

orchid frigate
#

yez

#

did that 100 years ago

barren shale
#

To generate this many objects you need a maximum distance for generating

#

Or loading lets call it

#

And you need to make your world chunk based

orchid frigate
#

or im in the process of doing so

barren shale
#

When you load a chunk if it hasnt been generated you generate it

#

And if it has been generated you enable the sprite renderes of the objects in yhe chunk

#

But thats still very slow for big amount of sprites

orchid frigate
#

hmmm so i dont generate the blocks i generate chunks with blocks Thonk

barren shale
#

Yea

#

You either generate the whole chunk

#

Or dont

orchid frigate
#

this might make relationships between blocks kinda hard but i will try

#

also i passed my exams with a high score so now i can make wheel 3.0

barren shale
#

But you shouldn't generate new blocks each time

#

Instead

#

You reuse unused blocks

orchid frigate
#

now that i think about it wouldnt having a list with like 10000 blocks kinda lag

barren shale
#

Yea

orchid frigate
#

same with chunks

barren shale
#

10000 chunks is a lot more than what you need

#

If each chunk is 16x16 then 10000 chunks are 160000x160000 blocks

orchid frigate
#

my chunks are 20 blocks

#

blocks also dont really exist

#

they are like placeholders

#

for models

barren shale
#

So they are sprites

orchid frigate
#

no

barren shale
#

Nothing?

#

Empty gameobjects?

orchid frigate
#

yea they are just empty game objects with a gizmos drawn to them

#

and a size of 1.5

barren shale
#

Oh ok

#

Im at work

#

When i come back ill help you more

#

Bye for now

orchid frigate
#

aight cya

#

thanks for the help

orchid frigate
#

just figured out how to not lag as much

#

so after i generate the chunk, i put it in the list, and after i generate the chunks around it, i remove it

#

900iq codes

main brook
#

isn't that what caching is

#

cache this area

#

and then cache this one

#

but to optimize the cache

#

remove unused one

#

or like every business ever

#

"quick the customer is in the other room, put the junks here"

haughty hedge
#

i have decided to finally try and make a mod for worldbox.. damn, there are like, thousands of classes and cs files. This is gonna take days or even weeks to figure out.. i'm not used to such amounts of files. I guess, if i change something in one class, it would require to change hundreds of other classes

orchid frigate
barren shale
#

chunking isnt caching at all

#

instead of calculating the position of thousands of gameobjects every frame to load and unload them

#

you just calculate the positions of a couple of chunks

#

and load them and unload them

#

you might load unnessccary stuff but its still much more efficient

barren shale
#

finally managed to make it

#

:o

orchid frigate
#

is this 2d minecraft 😳

barren shale
#

no

#

its animated wallpaper

orchid frigate
#

oh

barren shale
#

video wallpaper basically

orchid frigate
#

you got my hopes up

barren shale
#

like Wallpaper engine except its free aye

#

and open source

orchid frigate
#

does it have to do with 2d minecraft 😳 or HEngine 😳 ?

barren shale
#

no

#

i cant work on HEngine

#

fixing my laptop

#

which has the project on it

orchid frigate
#

dont let it die