How do I add an object to a list so that when the object changes, it automatically updates in the list too?
Unity C# btw
Samuel Ward
the sphere needs to be more subtle but i like it.
Jackson Cruz
Working on new enemy animations, thoughts?
Isaac Smith
Literally a copy-paste thread Let the big boys handle it Actual previous thread here
Logan Sanders
What's the simplest way of creating an emission effect in Unity?? Seriously
Julian Kelly
How do I remove this game from my library? I hate seeing it.
Jason Martin
observer pattern
Carter Hill
>AGDG >how do I use steam
Isaiah James
Create an interface and have all the objects call a function through their constructor
Parker Gomez
How is this gamedev related.
Gabriel Sullivan
I want discord to leave and stay leave.
Robert Peterson
That's literally how all reference types work? What exactly do you mean it "updates in the list"?
Hudson Nelson
fuck off. no it is not.
Jose Williams
Define script I think VS can analyze by class and namespace objects
Luis Morales
Stop using fur shaders
Nathan Powell
Name one person who ever wanted to hang out with you
Jacob Rogers
It looks strange when the legs are perfectly aligned, especially in the jump animation. I would stagger them a little.
Colton Diaz
My dude.
When I add my object to a list, it creates a new instance of that object with that object's data.
Now when I change the original object, the list still has the old one in it, because it was a copy rather than a direct reference.
Kevin Baker
Are your objects structs or classes? Also post the smallest working example to pastebin.
Robert Bailey
unturned > support > i want to permamently remove this game from my library
faggot
Owen Sanchez
Right click it, choose Set Categories and then you should see a check box that says "hide this game in my library"
Brody Jones
There shouldn't be anything implicitly cloning reference types for you. Are you using structs or classes? Do you understand the differences yet or what pointers do?
Lincoln Lee
You are doing something very wrong, or using a value type and not a reference type, if that's the case.
Class instance = new Class(); instance.variable = "Hi!";
List list = new List(); list.Add(instance);
list[0].variable = "Updated from list";
Debug.Log(instance.variable); // Updated from list
Ayden Roberts
The objects are Unity's Vector3 structs.
I can't really be bothered to post examples, I have an enemy who's position is stored in a vector3, and a list of all enemies positions in different script, the problem is when the enemy moves and changes his vector3, the list is outdated.
Matthew Rogers
Stop leaving bugs in your code.
Luis Anderson
Structs are data types, like ints and floats. Have you tried making the list a list of the Enemies instead of just their positions? Try looking up a good tutorial for value types vs reference types
Jace Roberts
That's the expected behavior of a struct. Keep a list of transforms instead.
Jason Edwards
This is why I always recommend people learn how to program before picking up a framework but I always get yelled at for it.
Christopher Howard
Well, that makes perfect sense.
Thanks, guys.
Joseph Powell
How will the anime friends ever recover without their precious op?
Brody Garcia
By putting even more anime in their skeleton prototypes.
Mason Edwards
Actor knowing how to use every object vs Object telling how it can be used
Brayden Gomez
Latter is the patrician's choice.
Hunter Murphy
The latter will scale better but for a small scope game the former may be more readable if you like to keep code in one place. I'm a fan of just switching on all the possibilities if the number is less than 10ish
Henry Fisher
>quickly shit out copy paste OP >same edition >pic doesnt match it >not even the right previous thread If you can't do it right, leave it to the weebs This thread is going max anime. Use this time to think about the consequences of your actions
Brayden Thomas
godspeed, tomodachi.
Nathaniel Cruz
can anyone explain why this is happening on blender?
I modeled a quarter of the wheel, then added an array modifier to generate the three other quarters, rotated around an empty which is a child of the wheel object (so there's no difference in transformation between the two)
they look fine for the first frame but when the car starts to turn this happens
Jordan Martinez
after you're done why not bake them into one object?
Liam White
Apply the array modifier. The transformation is changing.
Jacob Reyes
yeah, I can do that, but I thought it would be possible to keep the array modifier active in case I need to change something later...
well, thanks
Lucas Lopez
don't use an array, use mirror with Y/Z axis
Isaiah Wilson
keep a copy of the wheel with the modifier unapplied? or just slice a quarter out if you ever need to change it
Cameron Roberts
nvm, fixed it: instead of making the empty a child of the wheel, I made the empty a child of the car body (the wheel's parent). now it seems to be consistent.
that's a pretty clever solution. if I hadn't solved it the other way, I'd use this one
Kevin Phillips
Technically you can abstract objects to the point of having only few ones and use the first method, but it's basically a warper for the second.
Jose Kelly
But user Gamedev is just drag and drop now If you need programming you're just a try hard
Aiden Green
I'm trying to compute the dot product of the current frame of input and the last frame of input of a controllers left stick in unity. It gives me the dot product but its always greater than 0 even when I flick the stick in the opposite direction. Would anyone have a solution to this?
Wyatt Bailey
Press skip
Wyatt Taylor
If you rip off the gameplay of a game 1:1 and have a similar aesthetic but don't actually use any of its content, can you be sued?
Dylan Gonzalez
you can sue anyone for anything, but the question is whether it actually goes to court or gets thrown out immediately
be really careful with "similar aesthetic" that you don't copy character designs, in which case they might have a valid case.
History[edit] At the time of the first game's release, Capcom U.S.A. sued Data East Corp. over Fighter's History due to what Capcom U.S.A. felt were infringements on its Street Fighter II property. Capcom also filed similar claims against Data East in Japan.[6] Data East Corp.'s largest objection in court was that their 1984 arcade game Karate Champ was the true originator of the competitive fighting game genre, which predated the original Street Fighter by three years.[7] Judge Orrick set an October 31, 1994 trial date, stating that he could not deny "the strong evidence that it set out to copy Street Fighter's success," noting similarities such as a Chun-Li clone and several comparable special moves.[6] However, Capcom U.S.A. lost the case on grounds that the copied elements were scenes a faire and thus excluded from copyright.[8]
Thats like more than half the app stores on mobile. Should be fine Avoid any words they use in their names or slogans
Parker Robinson
I voted for mecha lewd game but I want it to be a mecha lewd dress up game.
Owen Perez
>The Backgrounds are literally real life pictures ran through a filter
How can these hacks get away with this?
Tyler Jackson
In what world can you get a stick from full left to full right in 1 frame?
Xavier Butler
Why do you care? Doom mountains were photos as well.
Dominic Carter
What's the filter that makes painterly anime trees?
Nolan Scott
I don't think app stores should be used as a metric of legality, someone once straight up took my PC game and uploaded it to the Play store along with Dead Rising 4.
Thomas Howard
I care about the integrity of the art.
Josiah Morales
You won't be sued straight away anyway. You'll likely be contacted by some asshole in a suit and given the chance to change a few things to make the game kosher.
Jason Collins
Examples?
Julian Long
That kind of stuff is more common that you think man. 90% of good looking manga is filtered photos too. If there's no legal concern and the final product is alright does it really matter where it came from or how it was done ?
Liam Fisher
Drawing gay furry porn to make money to continue working on game stuff.
Asher Smith
General question to all 3Dbros: could you share some success stories and accompanying images? How much time does one need to devote to learn some basic functional modelling?
I've always wanted to learn, but just haven't gotten around to it. My mind builds obstacles; I keep thinking it would just take too much time and effort to get into any useful/decent level...
Joseph Rodriguez
There's a Little Witch Academia making off documentary, and they have hand painted backgrounds there with 1 guy only doing that as his job.
And it takes the guy 8 hours to paint one background that is shown on screen for 6 seconds.
Yeah, let them go with filtered pictures.
Luke Phillips
so many ways to do the same thing but each way is totally different, i'm at a loss
Joseph Morales
>good looking yeah that must be it everything out these must look great it must not be that you're a dumb ignorant fuck who can't even begin to understand how fucking obvious it is when people do that shit goddamn dumb motherfuckers thanks for reminding me why I don't come here anymore christ
Adam Phillips
?????????
Jose Gray
general advice to learning anything: 1. find a group about [thing you want to learn] on the internet. having direct contact with other people's work and their problems/solutions makes everything exponentially faster. since you're already here, that's a good start.
2. do it. your first results will be bad but every shitty thing you do is a step towards making good stuff. the learning curve generally looks like pic related. you'll struggle in the beginning, then reach a point where progress happens rapidly and you'll soon be confident enough in your own work. this happens in a matter of months, if you're resilient enough to keep doing it.
Austin Hall
So, are artists obsolete?
Hunter Martin
Pick one Make it work If you want to change the way you did it later, just comment out that section and replace See if it still works, see which method you prefer
Cooper Foster
Yeah, I know the basics of studying, because I'm a (failing) student. And now I'm thinking, that if I totally botch my schoolwork this year, I might just use my freetime to learn something that interests me more - like 3D modelling.
And that's why I'm asking. It would be encouraging to hear and see how much progress motivated people have made, and in what timeframe.
Evan Morris
They are a treat, but not more important than gameplay.
Unless it's a visual novel.
Angel Ortiz
Muffuging cracka muh dumb fuck great reeeee
Oliver Parker
no. every game needs good art direction.
David Peterson
>integrity of the art. photo manip is still art
Mason Brooks
4 years is a magic number. its the time you will take to learn most things about a 3d suite. that is : if you already know how to draw and paint.
Kevin Peterson
For the most part people can sniff out how much work you actually put into something. If you use a neural network's output raw, it has the NN look. If you just filter images with default photoshop filters, people can tell. If by chance you find a quick method or simple filter that looks good, the secret will get out and it will become quickly passe, or industry standard.
To get to a game that looks good, you're going to spend a constant amount of time on art, whether that's making the assets or tweaking the look in-engine. You HAVE to invest time just to find an aesthetic that's some distance from industry standard or indie-standard, those styles are the default because they're what easiest to do with the standard tools.
Brayden Powell
Fucking don't fail out of school to pursue your dream of doing 3D modeling tutorials. You're looking for an excuse because you've fallen behind in school. Just quit being a titty-baby and do better in school and check out 3D modeling in your spare time.
Benjamin Cooper
>College drop out
Literally, every 3d modelling job requires a degree kiddo.
Justin Brooks
user do NOT try to make a living out of videogames, focus on school
Juan Sullivan
Literally no art related job requires a degree if you are good at it, kiddo.
Wyatt Nelson
This. Success out of gamedev is eventual, degrees guarentee you some safety net as long as the degree's not in a retarded field
Gabriel Rodriguez
it's a portfolio-based job
Ian Peterson
Have you done it? Could you post some pictures from along the way?
Don't worry guys, I already have a (shitty) job, and studying has been my hobby for about a year and a half now. But it's not working out, so I'm thinking about just quitting. (And no, not trying to get into any biz here, just finding a new hobby.)
Benjamin Davis
>best game ever made has amateur-tier art hmm
Asher Hall
how do we stop piracy?
Connor Harris
i feel you
>comment out that section and replace that can be like a thousand lines in different places this is the worst part of programming. if you do shit first time you choose one method and unless you're a chess genius you can only pray that you made a right choice. having git and being able to freely fuck your branches up helps though.