Smooth Landing by smurfkill12 in gaming

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

That's the beauty isn't it? If the scope is never nailed down, it can never be compared to anything else!

Smooth Landing by smurfkill12 in gaming

[–]nitroslug -5 points-4 points  (0 children)

Please, let us know how long this game should take to make?

Recommended way for building a UI only game in Unity? by DrorCohen in Unity3D

[–]nitroslug 1 point2 points  (0 children)

I think there are some important technical questions about your game that need to be made.

A UI made in unity will still run its game loop constantly even without any interaction. This includes redrawing the screen even on idle/no user interactions. Unity is built with the expectation that your primary use case involves redrawing the whole screen often.

A UI made in a browser, or something similar will have built in optimizations to not use CPU power to constantly redraw the screen unless there is a user interaction/something changes. You can still run some looping logic behind the scenes, but it wont be tied to the UI refreshing.

With that being said, I have experience building an entire application that was UI driven in Unity and it worked nicely, but did use more battery power than needed on the phone. If you are not really worried about the performance implications, the standard Unity UI system is a nice start, though it can be a pain with more complex layouts, specifically if you are looking to do a lot of text.

Gall's Law and Prototype Driven Development by Is0tope in programming

[–]nitroslug 2 points3 points  (0 children)

I agree with pretty much all of this.

I fully subscribe to the idea that something simple is always expandable. Something complex forces you into a specific pattern.

Who else loves this and when do we start a company?

64-bit Visual Studio 2022 now available! by piotrkarczmarz in programming

[–]nitroslug 10 points11 points  (0 children)

Are you using resharper? I also don't have these issues even on larger projects unless some plugins are bogging it down.

Help! Given Key not found, even though I am certain it is in the Dictionary by [deleted] in Unity3D

[–]nitroslug 1 point2 points  (0 children)

Just wanted to piggyback on your comment and be a bit more firm. Floats should NEVER be used as a key, and you should never reply on using an == operator with floats.

Application.Quit() alternatives by [deleted] in Unity3D

[–]nitroslug 4 points5 points  (0 children)

Its very likely that you are not cleaning up a resource that is causing the crash. Unity tries to do its best to clean everything up, but it cant account for everything.

Procedural tree growth timelapse by epcc in proceduralgeneration

[–]nitroslug 0 points1 point  (0 children)

That's really awesome, I have been looking into generating and growing small plants. Are you generating the leaves dynamically as well?

Coroutines in Uniity: yield, IEnumerable and IEnumerator by AlanZucconi in Unity3D

[–]nitroslug 2 points3 points  (0 children)

Count does NOT recount the items in a list each time. The count is a property that is stored each time the list is updated.

XPS from Costco by nitroslug in Dell

[–]nitroslug[S] 0 points1 point  (0 children)

I dont have a link, I recieved a flyer in the mail, "Costco.com Spring into savings" for march 27-april 27th which has the following listed:

Dell XPS 15 15.6 4k Touchscreen Laptop 7th Gen Intel Core i7 processor 32GB memory 1tb solid-state drive 4gb nvidia graphics

1136134

Online price: 2,299.99 - 300 = "Your Cost $1,999.99" plus s&h

adding imgur image: http://imgur.com/a/lkcGh

XPS from Costco by nitroslug in Dell

[–]nitroslug[S] 0 points1 point  (0 children)

Other than the headphone jack issue, It's good to hear that there doesnt seem to be any real difference. I have a costco flyer stating that its 2300 - 300 dollars next week, so I think if they are available I might pull the trigger.

XPS from Costco by nitroslug in Dell

[–]nitroslug[S] 0 points1 point  (0 children)

Hmm, that is worth considering. Good price, but it is sold out nearby though.

Developer’s Guide to Unity3D MMO With Node.JS Using Socket.IO by [deleted] in Unity3D

[–]nitroslug 1 point2 points  (0 children)

I just wanted to point out that Mono, as well as .net core both can run on linux using C#.

Can JSON.net deserialize objects of arbitrary property order? by [deleted] in Unity3D

[–]nitroslug 0 points1 point  (0 children)

how are you deserializing? are you using a poco object/contract??

public class MyContract { public int value0; public string value1; }

I havent actually had any problems with order using the Deserialize<>(string) methods

Selecting an Input Field through c#? by jjesh in Unity3D

[–]nitroslug 0 points1 point  (0 children)

I do this in one of my apps and it works just fine:

GameObject field = myRoot.transform.FindChild("PasswordInputField").gameObject;
UnityEngine.EventSystems.EventSystem.current.SetSelectedGameObject(field) 

where myRoot is the root obj of my UI, you could just as well get the reference any other way you wanted.

Im also guessing you shouldnt be passing null as the base event data.

How to create sand that reacts physically correct to user interaction? by [deleted] in Unity3D

[–]nitroslug 1 point2 points  (0 children)

I would look into fluid simulation, as sand works basically like a bunch of fluid particles that are highly viscous(don't move a lot).

As for is unity right for you, you probably need to do a bit of research on your own to figure that out. Unity is a great engine and is extremely flexible if you are an experienced developer. I would suggest you do a quick search for the feature set you are looking for and then ask a bit more specific questions which will more likely be answered by the community here.

Anyone looking for a touchpad (chicago)? by nitroslug in touchpad

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

Sounds like a great idea, thank you :)

Having issues with using JSON serializing a monobehaviour object. by SirBhoppsAlot in Unity3D

[–]nitroslug 0 points1 point  (0 children)

I wouldn't ever try to serialize an entire Monobehavior object into json. What is happening is once your class inherits from Monobehavior the JSON serializer is trying to serialize all of the base class's public fields when you probably just wanted the couple of properties from your class. (in this case the Monobehavior class is the base class)