Friday 14 June 2013

Recreation

You might have wondered why it has been so long. One of the reasons is because my Unity Workspace is becoming so cluttered, so I'm starting again. I still have all the scripts, Objects, Textures, Levels, etc. It just means I'm arranging the Folders neatly. This will take sometime.

Friday 17 May 2013

A New Box!

I'm keeping this post short and simple.
After some texturing, scripting, play-testing, I was able to make a new box for the game. It is called the Sticky Cube and it sticks to walls around 2 seconds after being spawned. With making a new box, I made a few more spawn platforms. Have a look at the video:

Friday 3 May 2013

Cold and Colder. I'm Back

So it's been quite some time since I did my last post and just to notify you, I'm back into my game. I will have several other projects e.g. A 5 second project, A music video, Original art. I decided to give you an update on something I decided to remove from the game, but found again and perfected it and fixed it up. Water.
In the first part of the game, there will be two types of water. Icy and Clear. 

Icy water makes the cubes sink really fast. It pulls things to the bottom.
Clear water, with some momentum, brings the cube to the top and lets it bounce around until eventually sinking down.
The confusing thing is that the player doesn't interact with the water, nor does the faulty cube.

When a cube touches either the Icy or Normal water, it peels off displaying some of the inner parts.
Enough talk, now the video:

Saturday 13 April 2013

Smash then several knocks.


This post is going to be about the Blip Beam in the game.
Have a look at this video from 0:20 to 0:40. 



You see how there is a pellet which hits a receptor which activates a piston.
Well at the start I wanted to make one. So I had one of those pellets which after one dies, another spawns. 
The pellet has to hit the receptor to activate something. I soon realized that was an unoriginal idea. So I put it into my own hands to add a stream which goes with the pellet.

Now I decided that when the pellet hits the receptor it opens up a gateway for the stream to pass through. I could execute this well in levels. 
e.g. 
Need to open a door? Stand in a position so the beam redirects into the receptor. The pellet will hit the receptor, causing the door to break open a lock. The door has one more barrier. As the stream is fired onto the receptor, the door will slowly start opening. If you stop the stream from hitting the receptor, the door will close instantly. Once the door is opened, you fire through the open door hitting a panel. The panel spawns a cube which flings across a chute and lands down into where you were standing, redirecting the stream into the receptor. The door is now fixed open until the cube despawns.

I made the receptor so here is the timelapse you've been waiting for:

Friday 5 April 2013

Faulty Dice Explained

The faulty cube will show up quite a few times throughout the game. One of the most confusing things to predict is when the faulty cube will be spawned. I originally had it that every 1000 cubes you spawn, a faulty cube will appear. But I changed it a lot and here's the simple version of what happens:

Each platform has a limit of cubes you spawn before you have to reset to spawn anymore cubes at that wall. The lower the limit of cubes, the higher frequency the faulty cubes spawn.



To tell you what is happening, every cube you spawn, the 'random faulty cube' dice is tossed. The script says that the range of the random faulty cube is the cube limit plus one. 

Say you have a cube limit of 2, the random faulty cube range will be 3. That means there is 0.33% chance that out of the two cubes spawned, one will be a faulty cube (1-(2 divided by 3))

So what if the cube limit is 29? The random range will be 30. That means there will be a 0.033 percent chance there will be a faulty cube spawned (1-(29 divided by 30)).
The chances get smaller the bigger the cube limit.

Tuesday 2 April 2013

Velocity Gates Remastered

So the problem I've been facing with the motion blur and the velocity gates is when you touch a velocity gate and you are sprung to the target, you can look around and your motion blur will rotate with you. So I spent some time and I figured out how:

Pixels Filter

So, if you've had a look at  the videos where I hit the Pause time receptor and there is a blue texture, well I've decided with all screen effects, I'm going to have a rather pixel look e.g. Going into water.

Here are the different images of the new screen filter for Pause time Receptor:





To Pixelated (32):



















To Detailed (2048):

Perfect:






Saturday 30 March 2013

Limited Free Version? I think not!

I've got five things to discuss:
1: Objects
2: Sound Speakers
3: Fast Gravity Net
4: Velocity Gate
5: Faking Motion Blur


Here is the source video:



                          OBJECTS:

A little while back I was considering typing a list of all the objects in the first chapter, Dawn Winter. Obviously, as I code different objects, the list will change. So here is the list of objects so far:


5 Shootable Classic Cube Panel Done
5 Shootable Sticky Cube Panel
5 Unshootable Panel
2 Bounce Panel
Pause Time Receptors Scripted
Base Wall Design
Start Door
Main Door
End Door
Control Door Scripted
Control Point Scripted

Tag Start Done
Tag Pointer Done
Tag End Done

Button for Door
Testing Blue Light Source
Testing White Light Source
Testing Blue Direct Light Source
Testing White Direct Light Source
Testing Start
Testing End
Lazer+Emmiter
Spike
Acid

Water
Icy Water

Teleportation Vent
Slow Velocity Net Scripted
Fast Velocity Net
Rapid Velocity Gate
Sound Emmiter LoudSpeaker Done
Moving Platform
Blue Box Gun Done
Classic Cube Done
Sticky Cube

Wow, a lot of stuff! The difference between an object marked 'Done' and one marked 'Scripted' is that Done ones have been scripted and textured and amplified and whatever else.


                             SOUND SPEAKERS:

If you look at the object list, you will see there is a 'Sound Emmiter Loudspeaker'. The Loud Speaker takes up one platform and it is meant so that if a player walks into a test, there has to be at least some sound otherwise it will seem bland but if I have a rhythm randomly playing, players will question why. So those Sound Emmiters pretty much explain why.
Here is what they look like:




















If you want to see how it moves, you can catch glimpses of it in the source video.




                        FAST GRAVITY NET:
These are not shown how they work in the source video but they are shown as draft in the video:


( Below Play Button, Blue Net)

 When a box touches the net, it will be flung fast in the destination direction. It will be very fun to use when level designing!







                           VELOCITY GATE:
Oooh yes, my favorite game object I've created (besides from the Pause time Receptors).
It shows in the source video that when the player walks into that green net, it gets flung across to
the Landing Position. This was one of my most stressful script I've had to do. At first I was confused about getting the player to move towards it rather than teleport to the destination. Then I got absolutely insane when I thought it was about a SendMessage (My arch enemy) script to the Player changing some Airborne values.

Eventually I found out about this crazy yet useful script node, 'Vector 3', which then had a 'Move Towards' added to it and a Boolean stating if its hit and after a few hours I developed a simple yet stressful code for the Velocity Gate. Oh and I did something with a speed value.
Well, it was a rewarding experience, especially after hundreds of failed attempts.



                        FAKING MOTION BLUR:
To go with the velocity gate, I wanted a motion blur, but no, Unity Pro has all the screen effects rather than my Unity Free. Well I was like, I don't care and I set out on a quest to figure out how to do this 'motion blur boost effect'. I soon realized that to have a motion blur freely, you have to make all the geometry in the scene deform. I was not prepared to animate everything, so I decided that to do the effect, I could have a zoom in effect. I realized to do that, I can have cloud particle effects running quickly across the screen forcing the players view point to be the center. Took time but I figured it out. 

Here is what it looks like in-game:



Here is what it looks like out of the game: