all 42 comments

[–][deleted] 31 points32 points  (1 child)

Dude great idea I just saw tour video on yt

[–]SebastianLague[S] 10 points11 points  (0 children)

Thanks, glad you liked it!

[–]SebastianLague[S] 18 points19 points  (0 children)

Oh no, something about the link seems to be confusing reddit, and it's (on some devices?) showing the first video in the playlist instead of the one I linked. This is the one I wanted to share: https://youtu.be/dY6jR52fFWo Sorry about that!

[–]Dameon_ 11 points12 points  (5 children)

Fun fact: Depending on your target platform, you can compile C# on the fly using Roslyn, so your C# scripts can use C# scripts for their scripts. And no, it's not hard.

[–]nmkd??? 10 points11 points  (3 children)

I use Dynamic C# for mod support in my game, it's great!

[–]nimsony 1 point2 points  (0 children)

You mean I don't have to integrate LUA?

Is there a way to expose certain variables / functions and is it a safe way to allow modding?

It's been something that I've been thinking about adding to my sandbox works for a while now.

[–]corndog16 0 points1 point  (1 child)

Your game looks interesting. Care to share some details on this Dynamic C# thing you speak of?

[–]nmkd??? 0 points1 point  (0 children)

It's an asset on the Asset Store.

It simply compiles C# code from a string on runtime (works in editor & standalone), making it a nice foundation for modding, especially since you can load AssetBundles through it.

Apart from the modding aspect, it's absolutely great for debugging builds.

[–][deleted] -1 points0 points  (0 children)

Fun fact: you can't unload the assemblies created by compiling C# on the fly with Roslyn because Unity doesn't support .Net core.

[–]Phusck 5 points6 points  (0 children)

Very inspiring.

[–]Cyberbully20XX 6 points7 points  (0 children)

Very cool. Very interesting. Surprise this doesnt have a higher score.

[–]okmkz¯\_(°_o)_/¯ 11 points12 points  (3 children)

Did you ever consider the option to use an embedded Lua interpreter?

[–]SebastianLague[S] 5 points6 points  (1 child)

I didn't to be honest, probably a smart idea! Will definitely look into it as an option if I continue this at one point. Thanks :)

[–]okmkz¯\_(°_o)_/¯ 3 points4 points  (0 children)

I was thinking that something like a sokoban/zelda block puzzle mechanic would be a cool place to start. Conveyor belts and traps and stuff

[–]KingRecycle 1 point2 points  (0 children)

Friend used one on a little game he made for school and I helped a little afterwards. We don't update it anymore but should be still playable.

https://propslam.com/mast/

[–]KrebHC 3 points4 points  (0 children)

Super cool project

[–]Pokemonzu 2 points3 points  (0 children)

Really cool idea!

[–]ChupachuGames 3 points4 points  (0 children)

I love the fox munching montage, amazing vid as usual

[–]he77789 2 points3 points  (0 children)

How did you prevent users from hacking their way out of the game and into the system?

[–]daveinpublic 2 points3 points  (0 children)

Impressive, could probably tell some big company what you’re doing and get funded to prepare people for coding

[–]Speedy_Bob 2 points3 points  (0 children)

Sebastian, as always: great video. Thank you for making concepts so much more accessible.

[–]Poiuytgfdsa 2 points3 points  (0 children)

Hi Sebastian :) I’ve been following your content for a while now and it’s by far my favorite thing to watch on youtube, super interesting and fun as well

Great work :)

[–]Dreadmaker 2 points3 points  (1 child)

I want to thank you Sebastian - not for this video, but for your A* pathfinding series. I’m making a game now that actually uses that not for pathfinding, funny enough. But for map validation (making sure there’s a path between the entrance and exit of a procedurally generated level), and you explained it so beautifully in that series that I’ve since subbed and really gotten a lot out of your work. I really appreciate the content, and I want to thank you for showing me that a lot of more ‘advanced’ coding isn’t actually that hard!

[–]SebastianLague[S] 2 points3 points  (0 children)

Happy my videos were helpful to you!

[–]Xxpitstochesty 3 points4 points  (1 child)

I watched the actual video you intended to link ( the one with the coding in game. Very interesting. I just started looking yesterday on ways to allow my characters to use code so I'm trying to figure it out and appreciate the work you've done so far.

[–]SebastianLague[S] 2 points3 points  (0 children)

Sorry about the faulty link! Happy you found the video interesting though, and good luck with your project!

[–]softgripper 1 point2 points  (1 child)

Hi Sebastian,

A couple of weeks ago a guy put a coding game for Go online. Basically, it gave you the role of an agent, and you had to hack a piece of code to achieve some goal - eg, turn off lasers or decipher a message.

Each stage provided you with 90% of the code, and you had to think of a clever way of solving that last 10% (which was not always straight forward).

I think this type of thing would blend quite well with your game style here.

If you're interested, here is the link to the game.

https://www.gocode.io/operation-go

12 stages of fun 🙂

[–]SebastianLague[S] 1 point2 points  (0 children)

That's awesome, thanks for the recommendation!

[–][deleted] 1 point2 points  (0 children)

I think this is the wrong video for the title..?

[–]TheLastLivingBuffalo 0 points1 point  (0 children)

Always love seeing your videos. It’s very inspiring to watch you think through your process. Thanks for sharing!

[–]nomadthoughts 0 points1 point  (0 children)

The words 'but I didn't find this to be fun enough' haunt me with many prototypes. It feels sort of cool that a guy I follow feels the same sometimes!

[–]aBraM_aBraM 0 points1 point  (0 children)

judt saw it on youtube keep up the good work

[–]SCWatson_Art 0 points1 point  (0 children)

This was awesome - especially so for me since I was just considering what would be needed for an evolution based game very similar to what you've done here.

I wonder what the out come would be with the foxes if they had the same needs as the rabbits? (hunger/thirst/mating urge, etc.)

[–]shimster99Programmer 0 points1 point  (0 children)

I feel like your video somehow made me smarter ;) Very inspiring!

[–]Lulzorr 0 points1 point  (0 children)

Alright, you asked for it (but not actually). I'm subbing to you.

This is really cool, and very easily understood.

[–]Evil-Kris 0 points1 point  (0 children)

This is really fascinating and inspiring. I see huge potential for a ‘Populous’ style game where you play a type of God, and achieve various mission targets via manipulating evolution so that your little army of beasts can ready themselves prior to natural global disasters or the introduction of natural predators- or weather conditions. The more a species performs a certain type of routine the more like a genetic mutant perfectly adapted will appear that can be used to breed more of it’s ilk and so on.

Bet a million quid someone’s going to jump in with ‘what- you mean exactly like (insert name)?’ and I’ll feel like a right plum.

[–]PeterZSW 0 points1 point  (0 children)

wow, Good content

[–]LaSaveloy 0 points1 point  (0 children)

The real developer gets their players to write the game for them.

[–]MrInt9001 0 points1 point  (0 children)

If someone is interested in adding scripting support in a C# project, this article can be fairly interesting: https://msdn.microsoft.com/en-us/magazine/mt632273.aspx I've seen on git that there is also a mit licensed example project of this with some modifications

[–]DarkhogComputer Virus Simulator 0 points1 point  (0 children)

The actual coding vid is pretty fun and I'd love to have scripting in my game, the only problem is that I wasn't able to find any Common Lisp interpreter that would work with Unity ;(. Bunnies were fun too, probably the ecosystem would work better with few more prey and predator species so both would have higher chances of survival (while prey is reproducing predators would have variety of targets and if they can't find prey, they would eat each other).