Day 2 – 100 Day Game Dev Blogging Challenge: Building Giant Monsters and Colliders

Day 2 – 100 Day Game Dev Blogging Challenge: Building Giant Monsters and Colliders

Building a Giant Jason

Today was a challenging but fun day since I got to build giant monsters for Horror Block Breaker.  I know.  The name is cheesy, and it needs to change.  I’m still coming up with a name, so hopefully I can write it proudly here on the blog.

When it comes to Arkanoid, most versions have blocks of about the same size in each level.  The challenge this poses for building my Jason level is that Jason’s mask has several details.  For example, eye slits, tiny mouth holes, red markings, and discoloring (depending on the film).  Thankfully Unity allows me to change the size of a block individually when I place it on the game space.  Though time consuming, I can adjust each block until I get a relatively close shape resembling Jason’s mask.

The picture below is my first attempt at making Jason inside the Friday The 13th level.  Arranging the blocks was difficult, but by placing the black and red blocks first and then the white, I was able to get an okay start.  What’s cool about Unity is that it reminds me of a lot of features you’d see in a picture editor like Gimp, Photoshop, or PicMonkey.  You have the option to put your sprites in layers so if you want to have objects overlapping each other, it’s pretty easy.  The layers feature allowed me to place the longer white blocks in the background of the red and black so I’d have better control with the outline without covering the red and black blocks from view.  I plan to decrease the size of the mask by around 30-50% and add a body and a weapon.

A Simple Explanation of Colliders in Unity

Colliders are a component in Unity that are attached to game objects in order to have collisions for 2D games (possibly 3D as well, though I’ve yet to make a 3D game).  For example let’s look at the classic game Asteroids.  You’re flying around in your little spacecraft (triangle-shaped) and suddenly an asteroid hits you and you blow up into several pieces.  In order for that to happen, there needed to be a collider placed around your ship and a collider around the asteroid.  The colliders sense when a collision takes place through their physics and rigid bodies.  The game objects then react according to the settings you’ve selected for gravity, velocity, or even a special script you may have written via code.

Usefulness of Colliders in Horror Block Breaker

What’s useful about colliders is their different shapes such as circles, squares, and other polygons.  You could use a collider to directly cover your sprite or perhaps establish an invisible perimeter in your game.  For Horror Block Breaker I use three colliders to establish the boundary of my game and some special colliders for the machete.  Strange however was how the colliders on the machete became a combination of triangles.  It reminded me of the time I tried the Oculus Rift in Japan.  The triangles created a perimeter which represented the boundary for the VR game I was playing.  But depending on your object, a direct collider may not be the best option. Direct colliders can cause errors and sometimes impact performance of the game (at least in Game Maker Studio).  So far I’ve enjoyed using colliders in my game, but we’ll see what happens.

For my next post I’m going to try and write some code and explain it so I can better solidify my understanding of C# and maybe show you something interesting and new things in game development.

See you all tomorrow everyone!

 

 

 

100-Day Game Dev Blogging Challenge: Enter Horror Block Breaker

100-Day Game Dev Blogging Challenge: Enter Horror Block Breaker

100-day Game Dev Blogging Challenge

Hello Internet!  Today marks the first day of my 100-day Game Dev Blogging Challenge.  I was inspired to do this after watching the recent Friday The 13th panel at PAX West on “How to Market a Game and Run Your Own Kickstarter.  After giving it some thought, I realized I can improve when it comes to posting and sharing my progress instead of being secretive about it.

What are the goals for this challenge?   I’d like to post daily updates (shoot for 100 and push on) on what I’ve accomplished on my game development journey and develop good posting habits.  In the process, I will provide some games for people to enjoy who are reading my blog and following me on YouTube and various social media platforms.

So far I’ve made a couple of text games which have provided me some fundamentals on how to use Unity.  I chose Unity over Unreal due to the community in Boston surrounding the game engine. I’ve also had several opportunities to take on consulting work if I were proficient in using and teaching the engine.  I would love to one day become certified in Unity and be able to teach it to various companies, schools, and organizations.  I’ll be honest, I’m still a beginner and have a long ladder to climb.   But I figure what better way to level up than by posting my progress, challenges, and some cool games hopefully you will enjoy. If I get good enough where I can maybe try to sell a product in the future, maybe I can do this full time for a living.  That’s the dream!

Enter Horror Block Breaker

I’ve made some text games to help familiarize myself with Unity, but the first game I’ve making with the hopes of showing to the world and getting feedback is a free challenge version of “Arkanoid” or “Block Breaker.”  For those who may not know, Arkanoid is a classic game where you launch a ball towards a bunch of blocks and try to destroy the blocks by hitting the ball back.  To make my version of the game unique and cater to horror fans, I’m changing the paddle and the formation of the blocks.

Crazy Paddles and Horrific Block Formations

Your typical Arkanoid paddle consists of a block and maybe two right angle triangles to help bounce the ball to the sides.  To add a little more personality, I decided to alter the paddle for each level by making it into a weapon or item found in a particular horror film.  For example the Friday The 13th level has a bloody machete for the paddle and Nightmare on Elm Street has Freddy’s hat for a paddle.

Since I’m using a particular item instead of a traditional square, I can experiment with Unity’s colliders so the ball might go slightly to the right or curve when you hit the handle of the machete and veer off in a different direction if you hit the angled blade.  The trick to win in this game is not simply move the paddle and hit the block, but understand how each paddle works after using it and perhaps dying once or twice.

The second way I’m making this game unique, but also a bit more of a challenge is to arrange the blocks in a particular shape.  On the Friday The 13th level you’ll have to destroy a full bodied Jason in block form or a large hockey mask.  Each level will have a different paddle and a different arrangement of blocks resembling some semblance to a horror icon.  I’ve got three levels in progress, but if you have a suggestion for a film I should try to add, let me know in the comments.

For my next entry I’ll discuss colliders and talk about what I’ve accomplished on the second day. Thanks for reading and ‘Stay Mad!’