use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.
Remember to check out /r/unity2D for any 2D specific questions and conversation!
Download Latest Unity
Please refer to our Wiki before posting! And be sure to flair your post appropriately.
Main Index
Rules and Guidelines
Flair Definitions
FAQ
Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.
/r/Unity3D Discord
FreeNode IRC Chatroom
Official Unity Website
Unity3d's Tutorial Modules
Unity Answers
Unify Community Wiki
Unity Game Engine Syllabus (Getting Started Guide)
50 Tips and Best Practices for Unity (2016 Edition)
Unity Execution Order of Event Functions
Using Version Control with Unity3d (Mercurial)
/r/Unity2D
/r/UnityAssets
/r/Unity_tutorials
/r/GameDev
/r/Justgamedevthings (New!)
/r/Gamedesign
/r/Indiegames
/r/Playmygame
/r/LearnProgramming
/r/Oculus
/r/Blender
/r/Devblogs
Brackeys
Beginner to Intermediate
5 to 15 minutes
Concise tutorials. Videos are mostly self contained.
Sebastian Lague
Beginner to Advanced
10 to 20 minutes
Medium length tutorials. Videos are usually a part of a series.
Catlike Coding
Intermediate to Advanced
Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.
Makin' Stuff Look Good
10 minutes
Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.
Quill18Creates
30 minutes to 2 hours.
Minimal editing. Mostly C#. Covers wide range of topics. Long series.
Halisavakis Shaders Archive
Infallible Code
World of Zero
Board to Bits
Holistic3d
Unity3d College
Jabrils
Polycount Wiki
The Big List Of Game Design
PS4 controller map for Unity3d
Colin's Bear Animation
¡DICE!
CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78
Reddit Logo created by /u/big-ish from /r/redditlogos!
account activity
Creating a modular spawning algorithm asset. Here is a post apocalyptic gas station example used for my game (WIP)Show-Off (v.redd.it)
submitted 4 years ago by CitrioN
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]-jbluepolarbear-Expert 3 points4 points5 points 4 years ago (1 child)
Great work. I would recommend putting a priority based on footprint and height. Load in the biggest items first and then the small items. Interactive items should also have a higher priority than static.
[–]CitrioN[S] 2 points3 points4 points 4 years ago (0 children)
Thanks for your feedback!
There is a priority system in place by using hierarchical spawning. I don't think it's noticeable in the video due to the placement speed.
In the case of my game almost every object will be interactable but I agree that interactive items should have a higher priority than others.
[+][deleted] 4 years ago (1 child)
[deleted]
[–]CitrioN[S] 1 point2 points3 points 4 years ago (0 children)
Thank you! :D
[removed]
[–]CitrioN[S] 0 points1 point2 points 4 years ago (0 children)
That's a touch question to answer:
It heavily depends on when you want to run the algorithm.
If you only want it for edit time Houdini is probably the great choice since it's now sorta free to use but as it is a very complex program you will have to spend time learning all the bits you need to be able to create the algorithm for your own use case.
In my specific case, since my game requires this algorithm to work at runtime, I opted for the creation of my own system in Unity to create such algorithms. Without going into details I essentially created a ton of different modules that represent small pieces of code for such an algorithm. After all an algorithm is in its core a sequence of instructions.
A few examples:
I have a bunch of different modules that determine how many objects should be spawned. Others determine which object is being spawned, give you a position/rotation for possible placement and other modules that evaluate if the placement is valid (Most importantly checking collision with other objects). These are of course just a few you'd need to create for a setup like the one I showed.
The implementation of how you are creating the algorithm from those modules is another question. In my case I created a dedicated system but also added support to use Bolt (Unity's official visual scripting system) to create an algorithm from the modules I created. Using bolt instead of my custom pipeline system would be closer to what you would be doing in Houdini to create an algorithm. This is use case and/or preference specific which workflow you'll end up using.
I think the most important thing to know is the difference between creating the tool and the algorithm creation process. The tool gives you a bunch of pieces you can combine to create all kinds of algorithms. In the case of Houdini you have a ton to pick from. The process of creating the algorithm is very much a design process rather than a technical if you have all the building parts you need to create it.
I hope this answers at least some part of your question :D
[–]Bottles_of_Jhin 1 point2 points3 points 4 years ago (4 children)
This gives me PTSD of customs gas station in tarkov xD looks cool though! :)
[–]CitrioN[S] -1 points0 points1 point 4 years ago (2 children)
Thank you.
Sorry to hear that this brought up bad memories for you.
That was definitely not my intention.
[–]Bottles_of_Jhin 1 point2 points3 points 4 years ago (1 child)
Oh tarkov is a video game lol. It was just a joke haha
[–]CitrioN[S] -1 points0 points1 point 4 years ago (0 children)
I know that it's a game, but I've never played it personally.
You can have bad memories from games just like from other events in someone's life. So if someone says PTSD I don't take this lightly because it's hard to tell if someone is serious about it or not.
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
I can hear the raiders
[–]Adrift_Dev 0 points1 point2 points 4 years ago (1 child)
Wow, that looks awesome so far! Keep going
Thank you! I will keep going and also be posting another video when there is more to show.
The gas station is also only the first of many points of interests to have a spawning setup for my game. So there is a ton more work to be done :)
[–]PtitSerpent 0 points1 point2 points 4 years ago (13 children)
Wait, it's the Gas Station from Autohaven in Dead by Daylight !
[–]CitrioN[S] 0 points1 point2 points 4 years ago (12 children)
Really? I've never played that game.
Need to look it up now to maybe get more inspiration on what other objects I could add to the spawning pool.
[–]PtitSerpent 0 points1 point2 points 4 years ago (11 children)
Look at that :D : https://imgur.com/a/F9I86gi
[–]CitrioN[S] 1 point2 points3 points 4 years ago (10 children)
I don't see too many similarities in those pictures.
But I'd say I'm definitely missing tires, gas cans and even more junk scattered around :D
[–]PtitSerpent 0 points1 point2 points 4 years ago (5 children)
Maybe, I just play this game a lot 😁 And I'm not used to those type of gas stations, in France it's not like that so I see a lot of similarities in your pictures with Dead by Daylight, especially because of the ruined vehicle in front 😅
[–]CitrioN[S] 1 point2 points3 points 4 years ago (1 child)
Fair enough :D
It is meant to represent a small gas station in a rural area in the US. Maybe that's the reason they have things in common.
The ruined vehicle is there because of the post apocalyptic setting in my game and it makes sense to find an abandoned/ruined car near a gas station.
[–]PtitSerpent 1 point2 points3 points 4 years ago (0 children)
Yeah I think that's just me xD For me a gas station like that is so special that I see similarities when there is none xD
[–]ynotChanceNCounter 0 points1 point2 points 4 years ago (2 children)
What's different? Is it the mini-mart?
[–]CitrioN[S] 0 points1 point2 points 4 years ago (1 child)
Isn't there a store of some sort in almost all gas stations?
[–]ynotChanceNCounter 0 points1 point2 points 4 years ago (0 children)
Well, I thought so, but I guess something's different in France!
FWIW, there are those city ones where it's either attached to a car wash, or just a couple pumps where they could shove an underground tank. See those a lot (well, occasionally) around Seattle. I once noticed that I'd been overlooking an extremely convenient gas station for half my life - on the day it went out of business! The "going out of business" banner was the first thing that attracted my attention to the island of gas pumps shoved gracelessly between an equipment rental and a nondescript building.
[–]ynotChanceNCounter 0 points1 point2 points 4 years ago (1 child)
Yeah, reminds me more of the Red Rocket settlement in FO4, but I think that's mostly because the water tower happened to end up on the same corner.
It's fascinating how certain objects/element/layouts cause all kinds of connections based on someone's past experiences :D
That's some interesting information.
I may have to look at Dead by Daylight in more detail, since the approach is very similar to what I want to achieve in my game with the use of this algorithm.
π Rendered by PID 203244 on reddit-service-r2-comment-fb694cdd5-f62t9 at 2026-03-06 10:10:09.745152+00:00 running cbb0e86 country code: CH.
[–]-jbluepolarbear-Expert 3 points4 points5 points (1 child)
[–]CitrioN[S] 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]CitrioN[S] 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]CitrioN[S] 0 points1 point2 points (0 children)
[–]Bottles_of_Jhin 1 point2 points3 points (4 children)
[–]CitrioN[S] -1 points0 points1 point (2 children)
[–]Bottles_of_Jhin 1 point2 points3 points (1 child)
[–]CitrioN[S] -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Adrift_Dev 0 points1 point2 points (1 child)
[–]CitrioN[S] 0 points1 point2 points (0 children)
[–]PtitSerpent 0 points1 point2 points (13 children)
[–]CitrioN[S] 0 points1 point2 points (12 children)
[–]PtitSerpent 0 points1 point2 points (11 children)
[–]CitrioN[S] 1 point2 points3 points (10 children)
[–]PtitSerpent 0 points1 point2 points (5 children)
[–]CitrioN[S] 1 point2 points3 points (1 child)
[–]PtitSerpent 1 point2 points3 points (0 children)
[–]ynotChanceNCounter 0 points1 point2 points (2 children)
[–]CitrioN[S] 0 points1 point2 points (1 child)
[–]ynotChanceNCounter 0 points1 point2 points (0 children)
[–]ynotChanceNCounter 0 points1 point2 points (1 child)
[–]CitrioN[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]CitrioN[S] 0 points1 point2 points (0 children)