KrisWolfe

Profile
St. Louis

This is my Game dev blog for Fraud simulator! Let's make a game together!

14 comments
3 followers
32 entries
Advertisement
KrisWolfe
August 29, 2019
Refactor and Polish

This week has been has just been refactoring and cleaning up the code, finding more efficient ways to do things. All the bugs I've found I've crushed except one. For some reason if you try to build a building without the necessary resources, the text is not displaying that there's not enough res…

1,985 views
KrisWolfe
August 24, 2019
Communicator up and running

Hey all,

I just got my communicator working. It's not glamorous art, but it's good placeholder for now. I have 4 counselor robots for the 4 pillars of the game: Build, Navigation, Research, and Military.

The communicator blinks a button when we queue up a dialogue. The screen will th…

1,550 views
KrisWolfe
August 20, 2019
Combat System in place

Hello World!

This weekend met the completion of a goal I thought might take a month or so. I used Unity's ECS system to get about 10k enemies march towards the center of my map, and I had buildings created that could fire projectiles at them and kill them, throwing them away from the project…

2,376 views
KrisWolfe
August 17, 2019
Research Screen Complete

I honestly thought this would take me all weekend. But here we are.

New button the tool bar. Research!

Not much to look at the moment. We have faded buttons for research that is not unlocked, and we have buttons for available research. This is clearly not going to be the research…

1,805 views
KrisWolfe
August 14, 2019
Still alive, still deving

Hi All,

It's been awhile, but progress has been moving forward. My navigation screen is complete:

I wanted to try and do something different than just make every square a different object like I did with the hexes. For …

2,322 views
KrisWolfe
July 17, 2019
Coding a Mission System

I finished a dialogue system so that it will take any number of dialogue sentences that require a button press to move to the next sentence, then can handle any number of dialogue options from that choice. The map can loop on nodes and really go anywhere, along with code to run once the dialogue…

2,610 views
KrisWolfe
July 13, 2019
Creating a dialogue system

This week I wanted to start working on story elements. I decided to create a system for any game I make where I can easily navigate a dialogue tree...and one that is dynamic and loops on itself as well.

I just finished it. It does not look pretty at the moment, but the next step will be poli…

2,097 views
KrisWolfe
July 05, 2019
A bit of a sidestep

So, normally I tell myself "focus focus focus" and work on this game I'm making. But I'm starting to think I bit off more than I can chew. Which, from reading other people's blogs, is pretty normal.

This project is extremely ambitious, and I'm getting burnt out constantly. I keep getting ide…

1,848 views
KrisWolfe
June 27, 2019
A working game

Huge milestone passed just now. I have the barebones of a game, finally. I started this journey in March, with literally no knowledge of C# or Unity, only a passion to get a game that I've always wanted...a business simulator that lets me do what I want to do, instead of just focusing on busines…

1,713 views
KrisWolfe
June 21, 2019
Testing out Generics

Hello world. Been a few weeks. I've been exhausted. I got a new promotion at work along with a move to a new apartment. I have begun worrying about work life balance, and the last thing I want to do when I get home is work on my game.

But fear not, I have been dabbling and I've solved the is…

2,096 views
KrisWolfe
June 02, 2019
Quick Update: At a wall

So I have the economy running and graphs are up and showing me that I have a bunch of bugs in my economy code. Some goods are being bought but others are not. Why? I don't know, but the goods that are being bought are definitely working.

But I'm stuck at something stupid. Player orders. It's…

1,452 views
KrisWolfe
May 28, 2019
Refactoring and Polish

So the time has come...I need to polish the UI and user experience. I finished up the economy and I'm pretty happy with it. It seems stable. I haven't run it through 10,000 turns or anything, but its workable.

So, we have 3 times of companies, we have licenses that easily determine what cate…

1,443 views
KrisWolfe
May 24, 2019
Markets are done, moving to Service Companies

Huzzah! Not much to really show since everything happens in Debug.Logs and code, but markets are done.

So what can retail agents do? Right now they can choose between restaurants or super markets...both of them have a different lists of goods. The restaurants will have the more complex good …

1,684 views
KrisWolfe
May 21, 2019
I changed my mind. Licenses.

This weekend I probably put in around 20 hours with my economy code. I ripped up everything and slowly rebuilt it in a new class, transferring over logic. My controller code is now just a flow controller, and all the logic is contained in the actual companies and contract logic.

So what can …

1,810 views
KrisWolfe
May 18, 2019
Differentiating NPC and Player agents

The refactoring of the market code is trucking along. I've learned so much about C# and programming since I first wrote it, and my design has changed since then, so I'm using the old pseudocode as my template while rewriting the class itself. It's not really hard. My new code looks like this:

1,655 views
KrisWolfe
May 16, 2019
Refactoring the Economy

The data model merge took place. I broke the code and then rebuilt it. This is actually more fun than I imagined.

So, now I'm working on refactoring the market code to allow it to be extensible as I add in company behavior. All the market decisions were being handled inside the market contro…

1,637 views
KrisWolfe
May 13, 2019
Moving on to clear my mind

The iteration is going well with the tree. I have the bottom layer finished. I can now drag and drop low level employees into the tree and it grows, and if I take low level employees out, it clips the tree.

Draggin…

1,484 views
KrisWolfe
May 08, 2019
Solving the tree problem

So, I think I've designed a possible solution to my tree problem.

First off, I really like C#. My background when I was young was C++, and learning data structures and pointers was interesting. I did really well with assembly language, and enjoyed those kind of recursive things. But I never …

1,619 views
KrisWolfe
May 07, 2019
Recursive thinking

Recursive programming is tough, but oh so rewarding. After 2 days of trying to figure out this thing is going to take shape, I've done it:

A hierarchy tree. It's quite dynamic too. It can have lopsided trees and uneve…

1,715 views
KrisWolfe
May 05, 2019
One small step in algorithms

So, from my last update, I got most of it working. Using 3 interfaces, I have the CEO of a company being created, and all the idle employees being placed into the idle panel, along with an empty slot being spawned in order to start getting people managed and working.

Read more in KrisWolfe

2,312 views
KrisWolfe
May 04, 2019
Clearing my mind of what needs to be done

So I think I have a general idea of what I want now. I wasn't exactly sure how I was going to implement this. I was studying the SOLID principles, especially the ones I have no clue about, and was going over the L. I noticed the examples online had a lot to do with interfaces.

So here's what…

1,665 views
KrisWolfe
May 02, 2019
Creating my first art asset

The day has finally come. I've created my first art asset. A simple placeholder silhouette for my Corporate hierarchy tree.

I'm sure it's not much to any savvy artist, but it took me about an hour. I chose to go with Photoshop because of the myriad amounts of tutorials and help I can fin…

1,582 views
KrisWolfe
April 29, 2019
Setting up careers and Corporate Hierarchy

It took a few hours, but I finally got back up to speed from losing my entire scene from a crash. I now have backups and will be implementing some type of version control so I don't have this issue again.

One of the good things about this crash was that I had run into a wall on how to implem…

1,546 views
KrisWolfe
April 26, 2019
A lesson in Version History

So, today, while going through my code, my computer crashed. It's an old computer from 2011 that I haven't the heart to replace. When I loaded up Unity, I got over 1000 errors, all talking about the GUI not being able to load. My scene was gone. I double clicked my scene, and it was empty.

I…

1,788 views
KrisWolfe
April 25, 2019
My code really isn't as bad as I thought

This week I've been working on bugs and doing a little refactoring.

I finally hooked up the scheduler to the economy. This actually made me realize I'm a much better coder than I was giving myself credit for. For instance, my old rescheduler code took strings in of the skillnames and then lo…

1,800 views
KrisWolfe
April 21, 2019
Taking a break

This week was about relaxing and designing. Two games I had been waiting on came out this week that got me absorbed, Anno 1800 and Weedcraft. I'm done playing both of them, but they both had some interesting design concepts that I enjoyed.

Anno 1800 has something called Expeditions. I absolu…

1,599 views
KrisWolfe
April 15, 2019
Hooking up the player to the Economy

This week I focused on getting the player hooked up to interface with the economy. I've tested what I have with varying amounts of agents, and the numbers popped out about what I would expect, so it appears to be working. I need to capture more statistics later to make sure there's not "other" b…

1,803 views
KrisWolfe
April 09, 2019
Economy milestone

So just a few minutes ago, I got my economy sim up and running. I really love C#. It allows me to do a lot of things I couldn't do in programming languages, or at least so cleanly.

I finished the code a week ago, but it was extremely rigid. For instance, I had farms able to produce goods, th…

2,365 views
KrisWolfe
April 01, 2019
The creation of the Economy

This weekend was spent exclusively on my economic model. I spent a day planning out what I wanted to do. I wanted to replicate demand and supply, curves and market behavior.

At first I simply tried to replicate the curves explicitly, with quantity supplied, quantity demanded, price and equil…

1,901 views
KrisWolfe
March 28, 2019
Code Rework

I've been watching alot of videos on C# and the SOLID principles of coding. 3 weeks ago I had never coded in C#, and I've been learning swiftly. Last night I figured out Coroutines and how they work. I did not expect the rest of my code to run while the coroutine was running...I thought it was l…

2,831 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement