Ludum 31 complete

Ooops thought I posted this on sunday.  Oh well here it is.  I completed the game.  However there is one bug that I really need to fix.  When you restart the camera will zoom out to the last position.  So that’s no bueno.  Also I should’ve spent time to put those hints in.  My clues suck.  They are way to esoteric.

14910-shot3 14910-shot2 14910-shot1

Links to download/play:
WEB
WINDOWS
MAC
LINUX

SOURCE
LUDUM LINK

Advertisements

Ever Expanding Dungeon

Ludum31 Sun 300 PM

So I’ve been a little silent today but I’ve been working on it.  So I’ve got a name.  Story.  I also changed the color characters.  Added a HUD.  I think it’s actually fun.  I added a new mode.  Puzzle and Infinite.

So much stuff.  I fixed all the bugs I know about.  Controller works.  I’m happy with it.  Some things I would like to do not sure if I’m going to get there.

  • Animation
  • Sound Effects
  • Rotating characters

Complete Game

Ludum31 Sat 632 PM

So I added puzzle pieces.  Along with 3 riddles that let the user know where the puzzle pieces are.  When you collect all 3 you get a winning screen. WOOO.  Losing and winning creates a complete game!

This took me forever because there is some weird behavior in unity where a prefab cannot instantiate another version of itself without using itself as a reference.  So what happens is that the object instead of being (clone) ends up being (clone)(clone) the more you use that prefab.  The only I found around it is to use a 2nd class to instantiate it.

So now to they gym for a little bit next steps when I get back.

  • ART ART ART ART
  • Fix bug where Levels get cloned on top of each other.  Stupid ray tracing is being a dick.  Maybe I’ll just keep what levels have been instatiated and prevent new ones in those positions.  This will work.
  • I added hints to the riddles.  I need to add a button to show them in the pause menu.
  • Find the fun.  I want to add guys and see how that changes the game.  Right now its pretty boring.  I’m want to full with how fast you and enemies go based on how big the level is.  This should add some fun.

Alright till next time.

Auto Zoom out

Ludum31 Sat 109 pm

So I’ve got an algorithm that zooms out the level.  Autogenerating new levels. Enemies with a sword to hit them with. One more thing that is a basic requirement for the game I need are puzzle elements.  I want to give a riddle that will tell you where a clue is and once that level is generated you can pick up a new clue.

Now saying that there are a ton of bugs.

  • Autozoom out is rather ambitious.  It zooms out rather far and even if the level would be on the screen it tends to zoom out.  It likes to keep things in the center.
  • the auto level generation has a bug.  Sometimes the new zone just isn’t there.  Not really sure what is going on.
  • The Negative sword swipe is not in the right spot.  That needs tweaking.

Once I fix these bugs and add a puzzle I need a HUD.  This will have the number of clues obtained and your health.

Then I will work on art.

Enemy and Sword Attacks

Ludum31 Sat 1238 AM
Got some naive enemies working.  They just go right after the person.  Unfortunately my command pattern didn’t work due to trying to move toward the person.  I feel like there is a way but it was just way easier to use Vector3.MoveTowards().

Some problems so far.

  • Enemy not killed from sword for some reason.  Writing this I think the enemy needs a rigidbody to collide but I’m not quite sure.
  • When the enemy collides with the human for some reason the human starts rotating and then the camera also rotates.  This is a very annoying thing.

Only managed to really knock off one thing off my basic checklist.  Too tired to keep working.  See everyone tomorrow.

Character and level creation

Ludum30 1031 F

So I’ve got character movement and autolevel generation working.  I think my code this time around is actually rather good thanks to this book Game Programming Patterns.  I’m about 70% of my way through.  Most I already knew but it is nice to get some refreshers and quantify things.  I want to have more in depth posts about these patterns in unity.  Once I get some time.

The Command pattern is super awesome and I spent some time implement for movement of my person.  So hopefully Enemies will be super easy to make.  Maybe after this weekend I can implement replay.  That would be awesome.  One of those things I’ve always wanted to do.

So now the next steps are:

  • Move camera back to see whole game
    • This is going to be some rather difficult math maybe.  It is going to require some thought and probably some data around that is the size of the world so far.
  • Enemies
  • Different Levels
    • With Enemies
  • Puzzles

I may just tackle the enemy thing here first.  Not sure.  Will force me to have an end condition so that will be good.  I also need a win condition maybe.