I got a bunch of real life stuff done today, and still had plenty of time for game work. I don't, however, have time to demonstrate it in an exciting way. But my bears now move and attack properly, they look like bears, and they drop coins in the correct locations, and knights cost money to summon. That's the basic functions of the battle system mostly done. Now I all I need is a GUI, a story mode, a kingdom editor, a system for procedurally generating content, and like a bazillion more models and units!
Also sounds. Lots of sounds.
Saturday, July 14, 2012
Thursday, July 12, 2012
I feel like a human!
Instead of locking myself in my room with my computer today, I socialized! And by "socialized" I mean "watched Archer and My Little Pony with my roommate". While doing concept art on my iPad. Good lord I love this thing.
Edit: ahahahaha This is totally a bear.
Tuesday, July 10, 2012
I don't know about U, but I have got some stuff done.
Some UI that is. I started it.
Right now, all it does is display how many coins you have collected from bears, but I'm working on a mockup for the general UI design for the battle screen.
Cropping is for losers.
I also did a lot of behind-the-scenes fixing. I spent a lot of time bashing my head against Unity's physics engine. It's kind of hard to be like "No, I don't want any of these features, I just want these guys to move left and right and do shit when you click on them or if they smash into eachother. I don't care about realistic physics in any way shape or form." Also coroutines were sent by the devil to torment me.
Dear whoever wrote the Unity documentation,
The following is really difficult to understand:
The following is not:
}
Oh hey! Look! I just wrote up a freaking example that in some basic way describes a thing that a game object might do, then afterwards I SAID WHAT THE CODE DID. WOW THAT WAS REALLY HARD. WAY HARDER THAN WALKING MY BRAIN THROUGH SEVERAL LINES OF METHODS NAMED "Do Stuff".
Sorry... I get mad when techy people make simple things totally indecipherable.
Right now, all it does is display how many coins you have collected from bears, but I'm working on a mockup for the general UI design for the battle screen.
Cropping is for losers.
I also did a lot of behind-the-scenes fixing. I spent a lot of time bashing my head against Unity's physics engine. It's kind of hard to be like "No, I don't want any of these features, I just want these guys to move left and right and do shit when you click on them or if they smash into eachother. I don't care about realistic physics in any way shape or form." Also coroutines were sent by the devil to torment me.
Dear whoever wrote the Unity documentation,
The following is really difficult to understand:
using UnityEngine;using System.Collections;public class example : MonoBehaviour { IEnumerator Do() { print("Do now"); yield return new WaitForSeconds(2); print("Do 2 seconds later"); }
IEnumerator Example() { yield return StartCoroutine("Do"); print("Also after 2 seconds"); print("This is after the Do coroutine has finished execution");
}
}
The following is not:
using UnityEngine;using System.Collections;
public class SelfDestroyingObject : MonoBehaviour{
void Start(){ Debug.Log ("Object Created"); transform.position = new Vector3 (0,0,0); StartCoroutine(WaitThenDestroySelf());}
IEnumerator WaitThenDestroySelf(){ yield return new WaitForSeconds(2); Debug.Log ("Object Destroyed"); Destroy (gameObject); }
If you run this code, it will Debug the phrase "Object Created", move the object to (0,0,0), wait 2 seconds, Debug the phrase "Object Destroyed", then destroy itself!
Oh hey! Look! I just wrote up a freaking example that in some basic way describes a thing that a game object might do, then afterwards I SAID WHAT THE CODE DID. WOW THAT WAS REALLY HARD. WAY HARDER THAN WALKING MY BRAIN THROUGH SEVERAL LINES OF METHODS NAMED "Do Stuff".
Sorry... I get mad when techy people make simple things totally indecipherable.
Sunday, July 8, 2012
Very important update.
You know, I think I'm just going to leave this here, and instead of explaining what I've been up to for the past few days, just let you wonder what on earth it is trying to indicate about my progress on this game.
Wednesday, July 4, 2012
Things move!
I am so excited that things move that I am posting a video of moving things.
It definitely has its problems. I need to implement a cursor object, rather than putting OnMouseOver code on all the squares, and I need to pretty much implement everything as a finite state machine, rather than plopping everything in the update function, but I just want to get things moving and doing things! And they move and do things!
It definitely has its problems. I need to implement a cursor object, rather than putting OnMouseOver code on all the squares, and I need to pretty much implement everything as a finite state machine, rather than plopping everything in the update function, but I just want to get things moving and doing things! And they move and do things!
Monday, July 2, 2012
IT'S ALIIIIIVVEEE!!!!
Well, not really, but the pieces move!
Yesterday I spent a ton of time scripting a bear that walks to the right and attacks and dies, and a knight that walks to the left and attacks and dies, and then I realized how stupid that was and that it's actually possible to make something inherit from a monobehaviour and still function as a monobehaviour. So I refactored my code so that "MovableUnit" is a class, and Bear and Knight both inherit from it. Now it works exactly as it did yesterday except it's organized better. Yeah, welcome to the glamorous world of indie game development. Today my Bear cubes look exactly the same, but they're WAY BETTER. Trust me. And this means that adding a lumberjack cube that chops down trees, and adding functionality to the bear so that he sleeps until someone tries to chop down a nearby tree etc. etc. will all be SUPER EASY.
No pictures. Just imagine the old one but with a teal cube and a white cube next to eachother, occasionally Debug.Logging "Knight Attacks Bear!" or "Bear attacks Knight!" until one disappears, and the other moves off the screen and says "I WIN!"
Yesterday I spent a ton of time scripting a bear that walks to the right and attacks and dies, and a knight that walks to the left and attacks and dies, and then I realized how stupid that was and that it's actually possible to make something inherit from a monobehaviour and still function as a monobehaviour. So I refactored my code so that "MovableUnit" is a class, and Bear and Knight both inherit from it. Now it works exactly as it did yesterday except it's organized better. Yeah, welcome to the glamorous world of indie game development. Today my Bear cubes look exactly the same, but they're WAY BETTER. Trust me. And this means that adding a lumberjack cube that chops down trees, and adding functionality to the bear so that he sleeps until someone tries to chop down a nearby tree etc. etc. will all be SUPER EASY.
No pictures. Just imagine the old one but with a teal cube and a white cube next to eachother, occasionally Debug.Logging "Knight Attacks Bear!" or "Bear attacks Knight!" until one disappears, and the other moves off the screen and says "I WIN!"
Sunday, July 1, 2012
GRASS!
One of the best things about doing an entire game by yourself is that you can switch between different tasks when one gets frustrating. All of yesterday's behind-the-scenes work was getting grating, so I started playing around with borders.
I think I want territories next to you but that you aren't actively currently interacting with to really obviously look like what kind of area they are, but not actually render every thing that exists there. Both for hiding the Goblins' secret battle plans from the player, and saving processing power. So I think I'm going to have a 3-deep cutout border that pops up from the edges every time you switch from map view to kingdom view.
I know that probably means nothing to anyone but me, but trust me it will be super-adorable when the textures/meshes don't look like shit. I extruded a zig-zaggy line and called it a grassland.
I think I want territories next to you but that you aren't actively currently interacting with to really obviously look like what kind of area they are, but not actually render every thing that exists there. Both for hiding the Goblins' secret battle plans from the player, and saving processing power. So I think I'm going to have a 3-deep cutout border that pops up from the edges every time you switch from map view to kingdom view.
I know that probably means nothing to anyone but me, but trust me it will be super-adorable when the textures/meshes don't look like shit. I extruded a zig-zaggy line and called it a grassland.
Subscribe to:
Posts (Atom)




