@CapnRat Hey! Love making tools in Unity. Feel that it is harder then it should be to make more graphical ones, like graph based views. A richer toolbox of editor widgets (graph nodes, "connections" between nodes, etc - I just happen to love graph views) would be a boon to tool-builders. In my biased opinion, of course! Thanks for asking!
This writeup of my #LibrePlanet2018 keynote on BoingBoing is more eloquent and concise than the talk. Thanks to Cory for the awesome summary, reflections, and signal boost! https://boingboing.net/2018/06/21/digital-enclosure.html
TIL - Array.Copy is "better" then using Buffer.BlockCopy for most situations. I'd assumed the opposite.
https://stackoverflow.com/a/33865267
So. Much. Networking. LLAPI? HLAPI? Community Edition HLAPI? MLAPI?
Am back to using the LLAPI with some handy wrapper code based on Lina Adkin's UnetLLAPIWrapper - https://github.com/LinaAdkins/UnetLLAPIWrapper. For NAT/Connectivity issues am trying out the MLAPI.Relay project. A Unity Relay Proxy replacement - https://github.com/MidLevel/MLAPI.Relay . So far so good... Cautiously optimistic...
Also as a follow on, the BinaryWriter _does not_ do bit packing for bool's, it uses a full byte per bool, so you should manually pack them if you can.
Don't use BinaryFormatter for data you are serializing to put over the network - there is a lot of extra cruft it adds that you probably do not need[1]. Use a MemoryStream and a BinaryWriter, then the byte array you get out of that, to put over the network.
[1] - unless you need the deep copy of the graph and the references and all it does give you.
Working on a new project, adding the network multiplayer stuff. All the work and pain that went into AutoAge is paying off. Day 3 and i have a really good POC, with Server, Client and Host options, Join/Leave without messing up other clients/server. Experience, what a boon. ;)
Maybe helpful for LAN stuff though.
TIL - C# System.Net.Dns.GetHostEntry() - From the docs, "When an empty string is passed as the host name, this method returns the IPv4 addresses of the local host." Not really that helpful as most instances are behind NAT and the IP is probably 10.0.x.x or 192.168.x.x...
#unity3d #csharp #networking
I don't like the flash when transitioning between images - I'm not sure how to fix that... When going from the page to the popup it is good, just when going from image to image it is distracting...
TIL - how to do a pretty good image popup thing, in HTML and CSS, no Javascript. Probably requires some kind of modern browser. Works for me on OSX/Safari.
I've never used the `transition` css property before. I still _kind_ of hate css, even though this is amazing (to me, anyway).
TIL - `[SelectionBase]` attribute in #unity3d. When put on a GameObject, if it or any of its children on clicked in the Scene view, the GO with this attribute is the one that is selected.
Working on some VR UI/UX stuff for some demo's. I do kind of love gaze-buttons. Part of that is having animated UI on the screen, which makes me feel like I'm working on some "future tech".
One other thing is having it fallback to regular 3D, with mouse movement for the head/camera. Makes testing without the vr-rig way easier.
Stream begins in 90 minutes!! Come take part!
https://ada.is/tech-talks
Always a happy time when you are able to remove ~6bk/frame memory allocs.
Reminder to use .CompareTag() if you need to check for game object tag equality.
TIL - the charging port of your cell phone can get clogged with pocket lint making you think the port is busted. Nope, just clean it out (carefully) and you are back in business.
#TookTooLongTo FigureOut #SavedFromBuyingNewPhone
haha, my first #pixelfed post!
Installing ChromeOS on my old plastic-white macBook for my kid, for school. So far so good, and happy to be using the laptop for something, since its been sitting unused for a couple years. Tech-pack-rat-payoff!