Open in app

Sign In

Write

Sign In

Micha Davis
Micha Davis

122 Followers

Home

About

Published in Geek Culture

·Sep 22, 2021

Building a Linked List System From Scratch in C#, Part 2

Inserting Values Mid-Chain and Finding Specific Values — Last time we covered establishing the foundations for a doubly linked list class: namely, the ability to create nodes of data with references to previous or successive nodes to form a series. Right now we can add to either end of the chain with our AddFirst(T t) and AddLast(T t)…

Unity3d

6 min read

Building a Linked List System From Scratch in C#, Part 2
Building a Linked List System From Scratch in C#, Part 2
Unity3d

6 min read


Published in Geek Culture

·Sep 17, 2021

Building a Linked List System From Scratch in C#, Part 1

A fun exercise for practice juggling variable references — I have written about the usefulness of Linked Lists in the past. Today, I want to get into the mechanics of how a linked list works by creating my own implementation of linked list functionality. NOTE: Linked Lists are already implemented in C#. This exercise will duplicate that functionality, but…

C Sharp Programming

7 min read

Building a Linked List System From Scratch in C#, Part 1
Building a Linked List System From Scratch in C#, Part 1
C Sharp Programming

7 min read


Published in Nerd For Tech

·Aug 25, 2021

Using C# Generic Types With Scriptable Objects in Unity

Using Class Inheritance to Pull The Wool Over Unity’s Eyes — I recently watched a brilliant presentation on Game Architecture with Scriptable Objects from Ryan Hipple, where he demonstrated a useful pattern he calls the Runtime Set. It’s a useful way to keep track of all of the active objects of a given type in the scene. If you’ve ever needed…

Csharp

3 min read

Using C# Generic Types With Scriptable Objects in Unity
Using C# Generic Types With Scriptable Objects in Unity
Csharp

3 min read


Published in Geek Culture

·Aug 24, 2021

Introduction to C# Unit Testing in Unity

Creating reliable, reusable tests to aid rapid development — Recently I completed a challenge to rotate the elements of a matrix clockwise or counter-clockwise by 45 degrees. In other words, I needed to be able to make this:

Unity

6 min read

Introduction to C# Unit Testing in Unity
Introduction to C# Unit Testing in Unity
Unity

6 min read


Published in Geek Culture

·Aug 17, 2021

Refactoring Complicated Code

From Brute Force to Formal Elegance — Here’s the situation: you’ve been hammering away at a complicated coding problem for a day or so and you’ve iterated your way into a working system. Mission complete, right?

Unity

4 min read

Refactoring Complicated Code
Refactoring Complicated Code
Unity

4 min read


Published in Geek Culture

·Aug 6, 2021

Turn-Based Tactical Command System, Part 2

Leveraging Linked Lists for Lightweight Loops — Welcome to part 2. The objective before us: take all the information we collected in the previous four articles (the initiative list, the turn list, the action lists) and use that data to move the proper pieces on the map in the proper sequence. The bulk of the process happens…

Unity3d

4 min read

Turn-Based Tactical Command System, Part 2
Turn-Based Tactical Command System, Part 2
Unity3d

4 min read


Published in Geek Culture

·Aug 6, 2021

Scripting a Turn-Based Tactical Command System with C# in Unity

A Brute Force Solution to a Complicated System — Here’s the objective for today: create a system for recording and replaying multiple commands from multiple actors, where all actors first declare their moves in ascending initiative order, and afterward all moves are played in descending initiative order. There is a more elegant solution than the one I’m presenting here…

Unity3d

4 min read

Scripting a Turn-Based Tactical Command System with C# in Unity
Scripting a Turn-Based Tactical Command System with C# in Unity
Unity3d

4 min read


Published in Geek Culture

·Aug 2, 2021

Roll Initiative: Part 2

Handling Tactical Initiative Data Using Linked Lists — Today, the objective is to sort a C# Dictionary by the value property of each key/value pair, and then load that information into a LinkedList. This list will allow us to easily control who may act and keep the UI updated in the process. We’ll begin by declaring a LinkedList<KeyValuePair<Actor…

Unity3d

3 min read

Roll Initiative: Part 2
Roll Initiative: Part 2
Unity3d

3 min read


Published in Geek Culture

·Aug 2, 2021

Roll Initiative!

Creating An Event Driven System for Ordering Actors in Turn-Based Tactical Play with Unity 3D and C# — Here’s the objective: using Unity 3D and C# we want to build a system that can alert any number of actors to roll a random number, and report back their name and initiative number to be stored in a dictionary as key/value pairs. For the first part of this, we’ll…

Unity3d

3 min read

Roll Initiative!
Roll Initiative!
Unity3d

3 min read


Published in Geek Culture

·Jul 30, 2021

Using NavMesh Obstacles in Unity

Today we visit the scene of an emergent urban tragedy: a tremor has collapsed some pedestrian walkways, leaving a bystander trapped beneath the rubble! Luckily, we have a pair of heroes on the scene, ready to save the day. Thus the stage is set for today’s demonstration. From a gameplay…

Unity

2 min read

Using NavMesh Obstacles in Unity
Using NavMesh Obstacles in Unity
Unity

2 min read

Micha Davis

Micha Davis

122 Followers

Unity Developer / Game Developer / Artist / Problem Solver

Following
  • Gerald Clark

    Gerald Clark

  • Concoda

    Concoda

  • Thomas Kesler

    Thomas Kesler

  • Alessandro Butler

    Alessandro Butler

  • Nick Ciubotariu

    Nick Ciubotariu

See all (27)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech