#⌨coders-cave
1 messages · Page 30 of 1
38th time this gif has been here
Only?
Master coder nekcrop here says thats how coding be
can someone explain why this doesn't work
var human = AssetManager.traits.get("unit_human");
human.traits.get("giant");
human.traits.get("slow");
Heya, you should ask in #🔧modding-talk . They know better there
What do you actually want to do?
Because here you getting not existing trait unit_human, and then by some reason trying to get from that trait traits giant and slow
thanks Jupe
🫠
Hello
lol i didnt notice the getting from trait
when he asked in the other channel, oops
He fixed it when asked in #🔧modding-talk
Enlighten me coders and show me the most complex coding in this game
A little fun
from typing import Iterable
from einspect import impl
@impl(object)
def join(self, string: str = "") -> str:
if isinstance(self, Iterable):
return string.join(map(str, self))
raise TypeError("No")
print(range(10).join())
print((i**4 for i in range(10)).join(" | "))
print(("a", "m", "o", "g", "u", "s").join())
the game is filled with a lot of confusing code
some path finding is pretty complex
even just finding what tile your mouse is hovering over...
decompiled code is piss
df
C#. Also, this channel isn't WorldBox specific, questions about modding the game fit better in #🔧modding-talk .
wanna do another quick test of my survey thingie 
if you are free
Sure!
but its only desktop rn
havent made the UI responsive
ah fok it failed to build
give me a sec

fok
one sec
xD
here
but you have to sign up
you can use random info
i probably shouldve dmed you the link but itz what itz
I apparently have some account there but can't remember the password. 
(Also, dear god, which one of their designers thought that it's a good idea to just have NOTHING happen if you enter an incorrect password.)

it was working before 
Ohh, wait, that account system is from your site?
yeah

for now just go straight to the editor
nothing on the dashboard really works
Ah, I see. Last time, I thought that was from vercel. xD
I'm no expert with creating surveys, but how come that specifically header 2 forcefully has a thin grey line under it?
typography shit
ill probably make it an option
IwI
I just randomly tried the "Date Range" option, and idk if this is just me being weird/stupid, but when I first looked at the UI, I intuitively assumed that the left/right parts were separate, one for selecting the start date, and one for selecting the end date.
not necessarly
but apparently that's how its done
you can select both the start and end in one part
this is not my design choice this is just a standard
Ah, curious.
Btw, with the jumps between questions, how do I make a jump that always applies?

Because unless I'm blind, there's only ones that are conditional in some way.
why would you want to do that
the default option is to jump to the next question
so if you always want it to jump to a question just put the question after it
Ahhh, makes sense.
conditional jumps are for branching
like specific answers allow you to skip questions and stuff like that
Yeah, makes sense now, I assumed that they're the only way to specifiy the next question.
Hmm, neat.
I like how I can just pick one primary color, and the rest is done for me. Result is probably better than anything I could make. 
One minor inconvenience I'm noticing is how sensitive the drag functionality for the questions is.
At least with my Macbook trackpad, when I do some REALLY minor drag on accident when just trying to press on a question, it instead tries to drag it.
Like, I'm talking so minor that I can barely see any cursor movement.
oh you mean the dragging of questions
yeah it has no threshold i should add that
it starts dragging the moment you move your mouse
makes it hard on trackpads
Yeah, I figured, causes a lot of false positives for me.
@barren shale I noticed that with Checkbox/Choice options, there seems to be no way to decide the order of options.
On a jump, how do I select the question it should jump to?
the question has to be after the question you are jumping from
there's a field with the Jump To label
i gotta go get a haircut
ill be back in like an hour
It's not giving me any options, the question I'm on is the first one in the survey, I got two options after it.
i though this is PowerPoint at first
Also, does that means that there's no way to skip to the end of the survey altogether?
Ok!
IwI
Because you don’t have any questions after the question you want to jump from
You can’t jump to previous questions
I do though?
"Choice Question" is where I'm trying to make the jump.
If it helps, I created "Choice Question" last, and then moved it on top retroactively.
Try with the other questions
"Email Question" lets me jump to "Date Question".
Ahhh then I fucked up the code that updates what you can jump to after you move a question
Date question shows a "No questions found" label.
While this one just doesn't show anything.
It probably updated the date question but didn’t update the choice one

Seems so.
I moved choice question back down.
Moved the other two below it instead of moving it back up.
It now lets me jump to both.
My guess is that the other questions are being informed about the new location, but not the question that's being moved.
You're gonna have a hard time selling a survey program. So many exist already and most are free
I have many ideas
Obviously, it'd need to be bug free. Apart from that, I can hardly judge since I don't even fall into the target audience.
I guess
But the market is there and it is very big
So with good marketing I think I can make it grow
You gotta make it either very convenient to use compared to other software or add something others don't have
Yeah I’m focusing on ease of use
The others seem to be janky right now
very conveniont would include like power bi integration etc. because those are not a common thing
What is power bi 
Visualize any data and integrate the visuals into the apps you use every day with Power BI, a unified platform for self-service and business intelligence.
bussinesses love it
idk why
Hmmm
Will work something out after release
Release probably will only have an option to export data as a csv file
Yeah it ain't top priority feature but it will be a deal maker for a subsantial part of the customer base
The plan is to offer it at a big discounted rate to influencers that are using other tools
Fr, first time I heard of it was already when I was like 12 and happened to listen to a meeting my mother was having from home. 
At least in Finnish market that's how it goes, I am not too familiar with global market for data software
There are some more plans too
Yeah it's stupid how popular it is
I think it's a far more global thing than just Finland.
This is the bare minimum but I'd mentally prepare for needing to integrate the weirdest data export solutions to it
I think if companies are the target, it'd also be important to have QoL that makes it convenient to mass produce/template surveys.
Yeah will do after first couple of customers
Won’t spend a lot of work on it if it won’t work out
Yup there will be templates too later on
And it’s already built for making surveys that look good really quick
That’s the main point
Yeah, noticeable.
Btw do you have like any customers/customer groups in mind at the moment?
it will be sold in one-time payment packages instead of subscriptions which is what everyone else uses, and there will be packages for everyone
so there isnt a specific target
but with marketing ill be aiming for smaller targets since i wont have all the big integrations and stuff at the start
and then if it works out and starts making money ill probably be able to hire some marketers and do some real marketing
or learn it and do it alone
I have a silly idea for a 2d platformer
anyone have any engine or language suggestions for this? 👀
did discord change their font again or am i going crazy
They just keep making it worse and worse
I just refuse to update the app to save my sanity at this point
How can y'all tell some unannounced font change like that? I didn't notice at all. 
i go crazy
crazy? i was crazy once
They locked me in a room
I still dont notice
I’m addicted to that genre of videos where it’s just programmers over the years going fucking insane as expressed through source code comments
Like one of the source code programmers for Apollo 10, on the code for liftoff, wrote “we’re off to see the wizard!” as a comment
Absolute legend
C# in unity, though its reputation has taken a hit. If you don’t want to use unity, GMS2 is easy to pick up and uses an easy to learn proprietary language, but is limited feature wise.
alr
ill give both of those a short try and see what works better for me when I get the chance
2d platformers are so simple you might aswell just use a very basic renderer and no game engine
if you do it right its best performance and bug wise
yeah physics wise
there's still animations
particles
and other stuff in a game

physics wise I do actually need something complicated unfortunitly 😔
the idea is slamming a longsword around to launch yourself places in order to increase momentum which in turn increases slashing power to mow down enemies. Being somewhat easy to learn the basics of using the longsword to increase movement speed but being difficult to use the movement mechanics to full potentiol ☝️
(in other words: getting over it mixxed with sonic but with a silly sword)
well you are going to have to write that logic yourself anyway
engines have mostly simple realistic physics
it does
so what should I use
You'll have to code that yourself regardless of what engine you use

alr

to be honest for a 2d platformer i'd do GMS2
Game engine built in physics are usually not good
but it doesnt really matter much
ill give that an attempt 
thanks chat
just dont over do it
Do MonoGame
Build your own framework
Code your own physics
Work from the ground up
Use trigonometry to code basic movements
LIVE
TRUE
MAKE YOUR OWN PROGRAMMING LANGUAGE
INVENT A NEW COMPUTER
DESIGN AN OPERATING SYSTEM
MANUFACTURE YOUR OWN CPU
Program a programming language
Can I get a check on this?
“Wood = 1
Stone, Copper = 10
Bronze = 15 (Same as Plague Doctor Staff)
Silver = 20
Iron = 30
Steel = 40
Myrthil = 50 (Same as all other special weapons such as Flame Sword)
Adamantine = 70”
When I checked the code it says special weapons are “base” not “mythril”
I think whoever made that list was capping
Getting over it: murder edition
@north dune
at this rate just use opengl directly 🗿
naw we gotta call upon every cody
Wait
I never saw my good friend Cody after 5th grade
😳
i dropped out and became a hermit, pretty accurate
Did someone say Cody? 👀
didnt get executed though (yet)
Program a programming language
Uh oh
ez
I made one in python a long time ago
now that im looking at it its kinda actually good
well its not good it compiles to python but its pretty cool for a 12 year old
I've been using WPF at work every day for a month now and I am starting to slowly like WPF. You just gotta understand the shenanigans and it's actually kinda enjoyable to write UIs using WPF
no way
Summoning demons I see (jk)
I really dodged a major bullet in the server
What you dodge
Accidentally posted an image
Nothing changes
User reported to the proper authorities!
@steep shard use #🤖bot-commands
~definetraits
Naw
🫠
Hey me and my friends are making a game and I was if you could suggest a software?
@wet girder what's ur opinion on scratch the website
The visual coding thing?
no
the website where you make games using those coding blocks and it's made for 10 year olds
so the visual coding thing. I learned basic programming things with it so it's good for kids Imo
Nuclear fallout
A 17 year old friend of mine still uses it 😭
People have coded stuff to code in scratch for whatever reason to make 3d games en such.
Thing is won't even run well most of the time unless on another site specifically meant to make scratch games run faster lol
Ngl hardest part of coding is thinking of names for variables and classes and writing good comments and commit messages
like damn I've been writing 1 variable name and 1 comment for like 15 minutes now
this shit hard
Unity
download unity then vscode, if you have nasa pc visual studio 2022
if you're rich buy dotnet rider
Imo do not bother with vscode if possible. Visual studio will be much better if you're on windows and don't have a pc from 2003. If you're on mac or linux dotnet rider is the best choice but vscode will do but it's not really a full blown IDE so it won't have as much helpful tools
Also I'd consider Godot instead of unity or UE5 if you're tryna make a high fidelity 3D game
Unity is really good tho for most indie applications so it should server you well
Rider is free for students btw
rider is not very expensive
its around $10 a month
i guess that depends on where you live
but its worht it
Java (if you like to pretend your program runs fast)
for normal apps if your app is slow then you have bad code
it is not about language choice
and its technically easier to write cleaner code with languages like C# and Java
so C# and Java are faster than C/C++ 😎
Ok

_Head over to #🔬bot-base , it seems we've got an AMP rewrite to do!
_
lmao
Git-chan
I see you're combining my favorite way to shut down my braincells with my favorite way to kill them off from strain above what they can handle. 
yes
Btw, where do you have that from? Googles reverse image search is doing a horribly job at tracking it down. xD
It's an AI image from when stable diffusion was new
I gave it paper chan, the girl in my pfp and told it to recreate her
Ah, I see. Was hoping for a sec to find more of it. xD

Bruh I waved at someone with the same hand my phone was in and they saw that 💀
My day would've ended better without that thought, as I just realized that similar logic can be applied to the last 6 months of me listening to stuff like vocaloid music on train rides, where I always had my phone screen clearly visible to nearby people.
Well I mean vocaloid music is just listening to foreign music
Everyone's fine with that
Will even listen to it too if they like it, miku's name has some power to it
I mean, it's less about the actual music and more about some of the covers or music video contents, I'd think. xD
Lol
I think the main weird part for me rn is that that thought never once crossed my mind in all that time.
Fair. Also doesn't matter either way if someone doesn't specifically check lyrics.
Turn off subtitles
I think people would be more confused if they e.g. heard one of the Kikuo songs I like.
The translation is usually bad anyways lol
Bro kikuo just sounds like classic music
I don't think it even sounds Japanese it's just classical but more pop-like
I never had that thought cross my mind, at least the stuff I can think of from e.g. Bethoven sounds very different from e.g. Hole-dwelling.
@quartz pumice keep it up nice man
@prisma grail u go girl
kudos to our best you gals
Huh?!
Utter respect to all of u coders
Thank God I rarely do web server
oooof
Does anybody know the mod that shows the borders of the kingdoms so i can see where they expand
There's already a built-in feature that does exactly that
And this channel is not for WorldBox stuff
this is half ping
you cant calculate full ping on discord
these bots are stoopid x)
pycord.ping meanwhile
fr
@burnt marsh
StarChat 2 is actually good
This demo showcases StarChat2, a fine-tuned version of BigCode's StarCoder2 to act as a helpful coding assistant.
I was a little surprised when it tells me that I need to break in each case in JS (for some damn reason that made me lose my mind), while Claude 3 was speaking nonsense
It is good for more general and generic questions
It is (probably?) not fair to compare a general model to a model specifically made for coding
Anyway, I also heard that they already censored it a bit. So the roleplaying people are less than impressed with the model anymore
I got a little idea from this: train some small specialist models and have a central model that decides what model to use for the user's request. That'd probably be better than some variant, if not all, of Claude 3. Don't know about cost efficiency, though :P
i think this idea has been tested cuz ive had it too and i read about it
it seems like a lot of people have had this idea
and it doesnt seem as good as it sounds
Shame, it sounded really good
@barren shale @barren shale
@barren shale @barren shale @barren shale @barren shale @barren shale
HAMAZAAA
HAZMAAZAAAAA
HAAAAAAAASAAAAMZZZZZZAAAAAAA
what
im good
.
any of yall know how to code some bitches the people in this server are deeply in need of some bitches

"I'm from UK" is something someone who isn't from the uk would say
fr
I've never heard anyone from the UK say they're from the UK
they always say which part of the UK
Actually true, it’s probably just an American trying to look like he knows a language in general
or just say british
i have lots of british friends
they barely say "UK" in any context 
hes cooked
anybody here have any good ideas for something to tell a guy I know in my class who is thinking of going into a computer science because "you can make good money" despite not knowing anything about computers to discourage him from ruining his life
Everyone who do IT just for the money are not gonna succeed
I've seen it happen multiple times
If you have no passion no one will hire you
despite not knowing anything about computers
This point I don't really get tho. You don't need to know shit about computers when you start learning as long as you have genuine interest
maybe its different elsewhere, but I haven't heard the best things about US universities when it comes to teaching computer science. Lot of it is self study or just really hard, which you would for sure need a crap ton of genuine interest for (which the guy does not seem to have).
Oh yeah IT is mostly self study
No matter how good the school is IT is mostly self study
IT jobs require you to be learning something new every week
So schools prioritize on teaching you to learn by yourself because that's the most important skill to be able to succeed in the field
true
So if you want to get in to IT you gotta be willing to invest a lot of time into it
I'd tell the guy to go for something he's actually interested in because as long as you do something you love the money will come
I've tried but now I can cite a guy who's done it
Like for me the reason why I was able to succeed was combination of luck and just not having a life for a while
Soon with neural networks it will not a joke
Llama 3 dropped with bold coding abilities claims
Looks like it can be easily jailbroken
This could be fun
Nvm, it's not consistent
test
Why were you still awake at 1:31
Little late don't you think
I'm from the UK
Python is hideous, holy shit
Did they pay you out or something?
I have been fighting my way through Python the entire day now and it has a fucking .NET version
qwq
A what? 
Well, I tried to get llama.cpp to work and apparently LLamaSharp exists qwq
Which is functionally the same
But for C#
So using Python was basically a waste of time? xD
xD
god give me strength i would not wish configuring a linux server on android 4.4.2 onto even my worst enemies
nevermind i figured it out and its awesome 
I’m trying to learn how to code and was woundering if I should learn how to use unity or how to code first or do them at the same time
I would recommend starting with some basic learn-code sites like https://scratch.mit.edu or https://code.org first
if that's not your thing you could start with some youtube tutorials and use a platform like https://replit.com/~ as a code editor (it has some AI tools to help with coding, but you can turn them off)
Build and deploy software collaboratively with the power of AI without spending a second on setup.
Thank you
Not sure what language your learning but I've been using the online courses provided by Google for learning Android/Kotlin development and they've been pretty good. Mind you though, I do have a minor foundation in programming thanks to college but honestly it's probably not overly necessary.
Little late of a reply, (as far as I know) but I learnt to code by starting with some basic block coding sites (including Scratch, but Code.org is the one which actually does teaching, Scratch is more for making basic stuff yourself without needing to learn much) and then I moved onto something called CodeCombat, which teaches python from basic examples up to much more complicated stuff.
CodeCombat is getting more and more expensive to use, (and I'm lucky, I bought a lifetime subscription while it was still a thing) but it's definitely worth looking at. Not sure if you can still play through much of it without a subscription anymore, though.
Yikes, apparently not. Either way, if the price is worth it to you for learning how to solve programming problems with a given set of tools at your disposal, you should check it out. After going through most of its stuff with python, you can't exactly just write a python script in a random IDE off the top of your head, but when you have a bunch of commands you can use it teaches you how to use those commands to do what you want. Basically, it doesn't teach you how to write something to work on windows when you click on it or anything like that, it teaches you how to use tools you have at your disposal to do what you want. For example, if you wanted to make a game in a game engine, you'd still need to learn how the game engine works, but once you learn what you need for the game engine the stuff CodeCombat teaches you would help a lot in making a program to do something in that game engine.
Massive wall of text but I hope it's helpful
(🤓)
Thank you
how can i learn coding ???
Practice
To be more specific go find stuff online such as video tutorials
websites etc
for the coding language you want to learn
There's also straight up courses you can find as well
well, if you want to start off of nothing, you should try starting with something simple
I'd recommend learning some of the very basics with code.org, or with a book of some sort. All the libraries I've been to have a book or 3 on beginner-level programming, often covering an actual programming language like Java or Python, and they are quite useful resources. They won't teach you everything, but they give a good starting point, including somewhere you can write, run and edit code.
Древний Русс
Hello, world! It's been a while! 😊
► Join Discord: https://discord.gg/brackeys
● Godot: https://godotengine.org/
● Juan's GDC talk: https://youtu.be/XduuHNOGGqI?si=8hYiXQ_35uISsiTA
● Website: http://brackeys.com/
····················································································
► All content by Brackeys is 100% free. ...
the goat is back
Brackeys videos carried me through vocational degree in game development
epic, I haven't watched much of him or done much stuff in the unity game engine, but his tutorials helped me a whole lot more than the official website did!
my experience with the official website is that the course I took was just bloated with stuff about uses for the engine instead of actually picking something and covering some basics on how to use it, and worst of all their website isn't even built stably enough to mark the course as completed after I did everything in it, albeit in the wrong order
even I could make a fix for that problem, and they have so many developers with so much funding
What games has he made?
I have no clue but he did awesome unity tutorials back in the day
That’s pretty cool too
If you dont know anything choose a language and learn the basics
That actually exists
And I also how a lot of models work
Not exactly like this
But many models are a collection of multiple models, with certain specialisations
~monke
how to add fireproof to any trait?
I think that's probably a #🔧modding-talk question, we mostly just chill here
Yeah, this channel isn't even supposed to be WorldBox related.
🫶
🤫 🧏♂️
is web-development coding or not people keep saying its not cuz of html i need answers 😡
HTML is not a programming language but web development as a whole involves a lot of coding
web development isn't coding, but if you want to make more dynamic interactive elements on your website, you'll need to use javascript or something
im a backend developer not a frontend
i could use js for backend but im more of a php and python guy
backend's always programming, frontend is mostly just styling stuff and showing stuff from backend
and I think there's probably a way to get python involved for backend, if you want to do that
javascript is just more convenient is all
i used to learn js for around a year but like four years ago i decided that its too complex for me
whenever i need javascript and cant get it any other way i just use chatgpt, although its not a perfect practice.
javascript is barely more complicated than python
welp everyone sees it differently.
takes a little bit to adjust to a few things, but it's almost the same once you get that down
im still not used to ; and i always forget it
lol that happens for quite a while
yep
I'd try and find something that's a "main difference" between javascript and python, but the 2 biggest differences between them are that you need to show where statements end in javascript and structure if statements and loops differently. Pretty minor compared to what you might think.
indeed
actually here's a bigger difference between them than what I've said
java/javascript is compiled, python is interpreted
basically, python isn't converted into machine code and ran, it's run line-by-line
yep forgot about that
it's one reason it's slow
works the same though (except in freakish scenarios that are completely your fault if you get into them)
idk i barely use javascript and python
i still think both are a valuable skills if you want to get a job at a big-tech company
but im still only 15 years old so the only place i can work is either programming or in mcdonalds
most of the programming work you could get would be commissions, I'd reckon
anyway, I'm off to bed
k gn
Ello mate, Im a halal priest who doesnt have any idea about coding. Only know a lil shit about python
How are yall
Mathing
0; pass;pass;pass
0; pass;pass;pass;pass;pass
0;pass;pass;pass;000000000000000
0;pass;pass;pass;0000000000000000
0;pass;pass;pass;000000000000000
0;pass;pass;pass;pass;pass;pass
0;pass;pass;pass;pass;pass;pass
0; pass;pass;pass;pass;pass;
0; pass;pass; pass;pass;
0; pass;pass; pass;pass
0; pass; pass;```
Amogus?!
Amogus
amogOS
amogOS
ofc it's real
https://github.com/Amog-OS/AmogOS
Amogs
best linux distro
Amogos?!
i like how it rickrolls you in the installation site
Hi
I remember this site but i dont get how it teaches you anything as it seems completely different from regular code
Like you use blocks
you can toggle text mode with code.org, its javascript
scratch gets you used to the logic of coding
Life
Is Worldbox
Replit used to be so cool
Like the vm's were double as powerful and x11 forwarding was free
Plus subdomains
Yeah but I understand why they had to get rid of some features, I remember abusing replit servers with uptimerobot
They literally gave a guide on how to use a similar tool lmao
And subdomains are free
x11 forwarding is free
man bot commands is so hard to find no wonder people go in here
That’s why you should use slash commands
How's that an argument for slash commands? 
Cuz it autocomplete with command names and descriptions
Oh you mean bot commands channel 
Well still with slash commands you can lock commands to specific channels
Fair, though you can also do that in a well configured classic bot.
True but having it built into discord is more convenient
Yeah, though it's not nearly as useful since you can't have a specific whitelist/blacklist, only whether or not slash commands can be used at all.
Slash commands like e.g. /answer from AMP should be accessible in all channels due to their purpose.
Blocking slash commands via Discord would block all commands, including those.
You can block specific commands
I can’t check right now
But I’m pretty sure I saw it
You can only do it on desktop so I’ll check when I’m home
Ok, thanks! I'd be surprised though, Discord making a feature good like that seems unusual. 
Anyone got a ps gift card
Real Ice King!? 🙀🙀🙀🙀🙀🙀🙀🙀
thats a bit sus
DID YOU KNOW THIS
Woah
NOOOO
DONT
no no
look
this
is a c# app written in pure c#
avalonia is the defacto standard for c# gui now, this shit can run on android, ios, android tv, browser, hell
it will run on everything with a screen, AND the generated apk is 5mb lol
Yeah I know Avalonia
I wanted to start with it, but it has worse documentation than WPF
And as both are XAML based, I wanted to start with WPF and then switch over to Avalonia or another XAML-based UI framework
It gonna be bloat
I hate this
Eugh
🤔
oracle 🤮
What
Xaml is very similar to HTML. And theres probably an extension or NuGet package in VsB
I use WPF a lot at work
it's okay once you get used to it
not the best not the worst
Oh wow, that's really fancy.
per command permissions are possible
Rare moment of Discord designing a feature well.
so yeah you dont even need to check command roles in the command
you can just make all commands hidden by default
and then do them manually
And then just have it controlled within the server by Discord.
And makes your average public bot far more configurable.
Instead of needing to rely on whatever config capabilities the bot provides, Discord just gives you the full control suite.
Yeah, I'm very much not used to that, especially when they do stuff like launching polls without a special permission for them. 
Fair.
you dont need a documentation
microsoft's wpf documentation will work for avalonia lol
Im gonna get you 
Well, that was a poor choice of image.
stop giving PathLike() arguments
PathLike() does not want your arguments
_It hates me.
_
of course it does
imagine a random person giving you arguments you dont want
But...
Like...
It was for a picture of Hatsune Miku...
How could you say no to that...
_Oh god, why does she have a gun?
_
to shoot PathLike() from the inside after we place her in there
_Genius.
_
Kuru kuru
I need to know if I am a weird one or do everyone code like this.
So my process for coding is writing some shitty code until I think I have implemented what I wanted and then I debug for a while because I have no clue if any of it actually works then clean up my code to make sense.
I know some people write stuff down and don't write a single line of code right away but like what is the common way people do it?
Because like my way feels kinda chaotic
I need help
if it is simple i start with coding
if it is complicated i start with a diagram
diagrams are really simple though
visualizing the problem helps with getting the idea of how the code should be written
I start with a process I want to program, break down the problem so I can solve it by hand, and start writing pieces of code to take care of all the steps I go through when solving manually.
For example, I'm developing a 2d tile-based simulation and what I did for the base simulation (I'm not including all the stupid complicated stuff I'm adding "at some point") is break the problem down to what happens in an individual tile, and how to numerically calculate it. Then I started writing code for the smallest pieces, like converting between array indexes and grid positions, (so that I don't need a 2d array) determining whether a tile is outside the boundaries or not, small little tasks that are easy to figure out. Then I moved onto getting some functionality in, like heat transfer, fluid movement, etc. that take a bit more thought and specialization but are easy enough with the smaller parts. All with some good walks and time to think to establish what I'm doing next. Now I'm just rinsing and repeating, and I'm going to continue with it until it's good or I give up.
Seems like over analyzing
It is really hard to solve a problem completely before writing any code
I think writing code early is better
I find that it's hard to solve a problem in code before programming anything, but I find it easier to code something after I solve the problem manually
although, my problems tend to mostly not consist of fiddling with libraries and APIs and more just making a project with an almost standard toolset
What I meant is you don’t wanna do a lot of one without the other
If you over analyze you might realize after you start coding that things can’t be done in a way you thought they can be
Of course that doesn’t mean you go with code only
You wanna do a bit of both
fair, I mostly don't plan out the entire project before starting
I just plan out a simple example first
including stuff like the data structures for the most crucial stuff I need, but nothing too complicated, I normally get the very basics in place and walk away to plan the next thing
How is there an xkcd comic for everything
Also this comic is like 12 years old and only now has the education for secure passwords changed from complex nonsense to memorable super random phrases
It's not like it's a new thing but for some reason it's been super hard to adapt to
I've been developing a game with a team for a school project all year, and I was assigned to program the entire thing
My work is done, movement systems all work, there's basic enemy AI (kinda, it sucks ass)
I have been begging since the first day a year ago now for one fully rigged model. The art director just started drafting and modeling (like two weeks ago), and we finally have one, notably not rigged model
I might just not put my part in, or only present the movement system update.
All of my teammates have been fucking around the entire year and pressuring me to work on the game while they did other shit. I have hated this experience
To be fair, I should've been done a long time ago (I was kinda lazy), but I should've also had a model for something, literally anything a long time ago
That's annoying asf
The wix project was torture
Duude, it's so much easier to work on a game when there's more than just code to it. There's only so many essential systems you can make for game mechanics like inventory, single target and AoE attacks, etc. in a full on MMORPG, let alone a simple project. You need to have the visuals there to fine-tune the game mechanics of your game (and visuals include rigged models, if you're not going for something 2d) and the fact your team doesn't seem to understand that is... going to end up with a project that feels a lot less complete than it could be.
On another note, have any of your friends been assigned to animating? Because it sounds like they'd be fine without any models being rigged.
i feel like MMORPG is probably one of the most difficult genres to do for a school project (especially over a single year), big teams with million dollar budgets take years to make the good stuff
exactly, even in a massive project like that there's only so much you can and should do before the art team gets off their butts and gives you something to work with
in a simple project a lot more of the fun and charm of the game comes from having a particular style, and you can't be exactly sure of how you want your game to feel until the art's ready
honestly, that's precisely why I could not do game dev:
- I cannot draw to save my life
- I also can't convince myself to splurge and pay a decent artist to make art (art commissions are expensive, reasonably so)
- The idea of making a game out of solely free assets makes me 🤮
what you can do instead is find a friend whose interested in doing a project with you, and make a game together. Might not last too long, probably won't turn out to be the next indie GOTY but even if you don't come out with a game you get to try making something cool with someone you know well.
I couldn't draw a stickman to save my life but I'm still trying that sort of thing out (with a brother of mine, which changes it a little for the better or worse in different aspects) and I get to code, he gets to do the modeling and visuals, and we both get to think of how we want the game to be
the difference between this and a school project is that the school project has a deadline and your motivation is to not fail, and a project with a friend has no deadline and your motivation is to make something cool
lots of good games with no drawing at all
My first step into coding
Started with python
pretty understandable to human language
wish me luck learning something that I dont know if Ill have that much discipline to complete it
you dont need as much discipline as much passion
You know how to convert integer into string. You’re doing alright
are you guys coders for worldbox?
Not with that attitude
Coding is not dark magic
See it as a fun activity, else you'll get burned out
I love when the coders in #⌨coders-cave say “its coding time” and code all over the place to defeat the bad guys
no
Only two people are coding worldbox iirc
Maxim Karpenkk
and
Mastef Stefanko
Cody used to be doin some but isn't any more
They mentioned 3 devs in that Reddit announcement I wonder who the third person is
Probably still cody mayhaps?
It's just i remember in one of the voice channels not to long ago codyw as saying how he wasn't doin it much if at all anymore
could just be bad memory
@knotty root ~report didn't work (maybe I used the wrong command), but @knotty root is advertising NSFW discord 🤔
🔨 Banned pt0szek for 1 day
The command is -report as opposed to ~report
Ah I see, thanks btw...
What code language was used for worldbox ???
C#.
Do they use python ??? Though python isnt that much for game aside from 2d....
No, I literally just said they use C#.
All of the code is written in C#, with Unity.
I understand
C# and C++ are both web based and object oriented language, so whats the advantage and difference
the difference between C# and C++ or between C#/C++ and Python?
the difference between C# and C++
alright
I'm not quite sure myself, but I can check
after some checking, C++ is a lower level language (has less layers of compilation to turn into machine code, what your computer runs) and is a bit more complicated, but provides more flexibility with code, as lower level languages do, and C# is higher level and more abstract and is simpler to learn
I'd recommend starting with C# (before C++)
Greetings to those who started learning assembly language 🫡
I love c++. Twas and my first language.
Do whiles, and switch statements ftw.
I would suggest at least learning the basics of a low-level language like C
Msstef is markus??!?;
Damn isnt assembly a literally critical brain hitting language ?
It has supreme power to directly communicate or work with computer hard ware
Btw, I want to ask something to yall coder gentleman's... Do I need to have knowledge of CS to learn programming ???
Or academic tuition ??
And as a person from commerce faculty, can I choose CS in undergraduate course ?? It would be helpful to know
he’s not doing it anymore iirc
Yeah that's what i thought to
Yeah
yes, but I could understand not having something fully animated and would prefer to have things I could put in the engine and animate when I needed to
it's over now though
that's what I'm doing 💀 me and this guy had an idea we almost worked on but ultimately went our seperate ways to work with different people (I wanted two people in specific on my team, he wanted two other people, we could only have 4 people, this was an assignment)
if my team had all put in effort, this would've been a massive success too
just our art director shat around, probably had life stuff happening at some point now that I'm thinking about it but definitely not for the whole year
either way, I have better things to work on now
and it's not like I gained nothing, this was a pretty good learning experience all things considered
I think Lord of spuds was talking mostly to me with the "make a game with a friend" thing. though I do feel like you guys could've pulled something off if everyone pulled their weight
yep, I was talking to you about it, but what I said about the difference between a project with a friend and a school project remains relevant. A school project can be done with a friend, but the reason you're making it is to meet a deadline. A project outside of school may take time, but extra effort to make the game feel and play better isn't "wasted" like it is when the project needs to be done by August and once it's finished it's finished.
Spud 🥔
indeed
@tiny silo aswell
as long as a moderator started it, this is permitted in any unrelated channel ig
https://myanimelist.net/anime/31953/New_Game
A bunch of people are talking about this it looks cool haven't watched it yet tho
Since childhood, Aoba Suzukaze has loved the Fairies Story game series, particularly the character designs. So when she graduates from high school, it is no surprise that she applies to work at Eagle Jump, the company responsible for making her favorite video game. On her first day, she is excited to learn that she will be working on a new insta...
Look in coders cave
Anime
As we all know, coding and watching anime are basically one and the same. 
Wearing thigh high socks and being trans buffs coding skill points by 60% and its stackable
Look in coders cave
Writhing flesh
Idk about that one
Time to stack all of my thigh highs on top of each other for max coding skills. 
The anime is about a game dev company I think
ensue overly compressed legs causing vein thrombosis
this channel's culture and general's culture are so different
UwU
honestly I don't know if that's good or bad
for one thing, a lot of general's culture is L + low rank
(says mister lowest of ranks)
how is the coding business doing?
well, personally I don't have much "business" coming from it but it's going alright
yes
theres gameroomforum, genchat, worldbox stuff, and I guess this is another one???
true ngl
I don’t understand what’s funny about it
bully people for their profiles not their ranks
I forgot this was channel
I gotta finish up these exams quickly so I can try to make particle life
?
general's culture is pure brainrot
and here...
it's...
meh
it really does depend when you check
it's funny when everyone's posting xkcd comics
I don't think I have the permissions to, though (which is not exactly a bad thing)
ah spanish
well
not exactly
if he just outright said the nword ye
ban
but he just said black in spanish
id let it slide
that's clearly a bypass tho
well
it is
exactly
how i said it is
it is in the mod guide
unless they changed it
aight
i mean i dont have access to it
but I guess you are right
how do i print hello world besides
print("Hello World")
Why would you want to do it any other way
why not
but why not
here's one:
printText = input("Type Hello World or you'll finally receive repayment for your past actions")
print(printText)
((6,9,(0,1,0,0,()),(0),0,0,(0,((0),(0,(0))))),0+(0)),(c:=0.3*divmod(30,10)[0]),(d
:=c*36/len([0,0,0]),(k:=__import__("builtins"),(0,0,(0,(0,o:=eval("k.print"))),0)
),(c:=80.00000000000001*c),(c:=int(c)),(0,),(j:=""),(0,(0,0,0,(j:=j+chr(c)))),0),
(c:=1.4027777777777777*c),(0,0,(),0,(j:=j+chr(int(c)))),(j:=j+chr(ord(j[-1])+7)),
(j:=j+j[-1]),(0,0,()),(u:=j,(0,10,3,(0x3f))),*(u:=list(map(ord,u))),(u:=(u[-1])),
(0,1,2,([range(2-u)])),(c:=u+3),(0,0,(0,0,0)),(-1),(((),0),(0)),(j:=j+chr(c),24),
((),0,0,-1,divmod(30, 0xffc),(j:=j+" ")),(j:=j+chr(sum([c,u])//2-22)+"AAoAA"[2]),
(0,30,(n:=((c*0)+abs(60.3337/pow(2,2)-36))+94)),(0,3,5,7,c:=k.int),(n:=c(n)),(0),
(0,30,50,70),(([]),j:=j+chr(n)),(k:=k.chr),(j:=j+j[3]+k(87//2+57)+k(66//2)),o(j),
mmmm
languages that use := 🤮
Can’t believe the l word is blocked in this server
Its an entryway to a very bad DN joke👽
(Idk why its banned tho)
The fuck is this
_Looks like normal Python to me.
_
Wait is this actual python
if so neat you can do whatever the fuck that is... but why.
Damn
what's the execution speed of that vs doing it normally
It's doing it pretty quickly for me, not even sure if there's a perceivable difference on my device.
aight
ngl looking into the code looks like some random as math is thrown in for the hell of it rather than just inputting the numerical values that correspond to each character
may be slower cause if that 🤔
Oh, yeah. There's a string called j that's slowly being filled with the characters via weird math, and at the end o(j) is called to print j (o is defined to be a reference to the print function further up in the code).










just print('Au revoir mi amor')
why it have to be always hello world
Can't even imagine what a word
its also intentionally making it long by writing numbers with random decimal places then proceeding to cast them into integers
True. xD
Damn can't even say the fictional disease
lickma
Thats worse👽
Express this with Boolean algebra [6] (AICE brainrot)
Encryption
https://xkcd.com/538/
What's wrong with roblox studio??????
check line 18 🦧
Here's the function at line 18
Why do you declare givepoints again an line 18
that’s your error
You're doing givePoints function declaration twice
So if you just remove the second "local function givePoints(player)" your code should run fine
what were you trying to accomplish with the second ‘local function givePoints(player)’?
Oh ok
thanks, i didn't see that

@quartz pumice can you stop spamming automod
I love lawful evil (C naming convention)
What about UserId
Illegal
Its true C#
how is uid evil 😭
not variable names
not self explaintory?
Right
It is self explanatory
Like my brain literally processing it like it's it's own word
uid
first it looks like uuid
u could stand for unique?
id doesnt have to mean ID
if you were using uuid's you wouldn't be using userid's
uid is not really any more self explaintory than i
It literally has a third letter which could mean two words that are contextually synonyms :sob;
i mean even if it works
you are not gonna be able to use the same convention for a lot of other things
so you will not be able to make your code consistent
its just a recipe for a disaster
Does any of you know how to create new attacks? Like jaws or base? Or snowball/rocks?

POV: yet another guy thinks this is #🔧modding-talk
This channel's for general programming discussion, you'll have better luck on the modding channels
Good luck!
This guy's a legend 💀
That's what happens when only one brain cell is activated
you gotta agree lawful evil rocks
even if its confusing and probably hard to read in a large project
it rocks
Disagree fully. I completely understand p.v is (probably) the player's velocity
No need for all those extra letters
C naming convention works
I fully understand at a glance what snprintf_s does
How does one create a poll
YWAH SEE!!! @barren shale
√=×€ ?@! GETS IT
you don’t have the perms to create a poll
at least in this channel
I understand
Question still stands
How done one create a poll
click the button that allows you to upload an image and press the create poll button
I have no idea what those are and I plan to never learn
and you wonder why your code isnt maintainable 😠 🤬 😡
When did I ever say that 😭
I went back to a project I was working on a long time ago (calculus library for some physics stuff) and I was fairly able to tell what was going on
To be fair, it was calculus, so fairly is doing a lot of work in that sentence
it was just a joke dont worry
i never use comments
I know 😭
I forget to tbh
calculus library 😵
I do write docs though
Trying React. Everything's coming together real goodddd 🤤
It's a lot less painful than I thought. I'm a little sad I didn't learn it sooner, to be honest
How is using React?
Pascal
React has its downs
It’s alright compared to other libraries like svelte
Svelte is way better but I use nextjs so I’m forced to use react
What, do you want HP to also have memory leaks and inexplicable crashes IN ADDITION to all of its stability issues? 
that sounds fun 
IwI
Lisp and Horstmann are fine IMO. What the fuck is Haskell doing
I personally do Kernighan & Ritchie, and Haskell style is the one that disagrees with me the most
I always use Allman, all others feel unreadable to me
Idk. If I'm in a codebase where I gotta use it, I'm perfectly fine with it, but I'd always choose K&R over it if I do have a choice. Allman just feels like it's being overly spacious, and I don't see ANY benefits in moving brackets the way it does.
I like spacious code
I use a lot of empty lines in my code to seperate different parts of logic
so I am fine with taking an extra line for the curly bracket
That's something I can still see the rationale behind, but the moving of brackets is beyond me.
this is why you shouldnt have rights
that's the way
seperate your code boys
make it more readable for my old eyes
while(x==y){func1();func2();}
:3
yes, why not?
just never thought bout it ig
thats all works
oh yeah spaces don't add anything to the code -w-
just human readability purposes
Wait
nvm declaring variables
gah
xd
Ah yes
Those are the things we do quietly and hope no one notices
public class Main{public static void main(String[] args){System.out.print("hello world");}}
yeah they are skip characters which the the compiler just ignores
spaces, tabs, new lines
stuff like that
oki
Oh
it was fun but it was also java
¯_(ツ)_/¯
Technically, they're not ignored (they're vital for syntax actually), but in circumstances where spacing doesn't matter, they're just skipped over
Preconceptions about compilers make writing compilers very difficult

full of nerds, interesting
Okay sleepy Joe
two years ago i used gpt 2 to write 10 reasons why ur mum is fat now i use to fact check
the world has changed
Ayy chat gpt is on my side now after telling me I'm a dumbass for writing code the way I do 💀
I mean, it's also kinda obvious in a code snippet like public static void main(String[] args) {}. can't quite compile that if it's written as publicstaticvoidmain(String[]args){}. 
(Not flaming you or anything, I also failed to consider that until Zibblobet made that correction to what you said. xD)
ye i know but i wanted to gpt do it
skip characters are what what the compiler uses to split stuff
should be called split characters ngl
Genius. 
Ok, ngl, that all seems kinda impressive.
Ngl, I would not want to know what ChatGPT would have to say about most of my code. 
you cant
unless ur gonna pay $20 and send it 10000 images
or maybe you can just install nvidia chat with rtx and let it scan your code base i guess
It's Hatsune Miku 😭
I tried when they released it, and it was not working at all
For many people
hmmm
Mb they fixed it
Oh god, don't make me move away from my Macbook. 
oh lol noob doesnt even have an rtx gpu 😎
I do in my Desktop Pc, the problem is needing to move away from my Macbook and turning on that PC. 
much problem 
Well, yeah, it'd involve mental hazards like needing to use Windows. 
