CNC

So we started using the CNC to create the cabinet.

We already have the design:

arcade

And we have all sides separately. We already cut about 70%, but we still need one of the sides and start coloring the. This is my first time using the CNC and using a 1/4 bit took us a long time to create this pieces; so that’s why we couldn’t finish all we had scheduled to do. Nevertheless, during the weekend, we will finish all the CNC work.

IMG_4429

 

We are still deciding about the final colors, we want a really colorful cabinet, it is just a matter of deciding what color we will use.

Ideas for the final

So we were brainstorming and we thought about 2 options:

 

MINIGAMES:

  1. A serires of minigames: Creating maybe 3 or 4 minigames were the interaction is around buttons that the players have to press to move or change things in the game so they can win. We thought about maybe some kind of stacking game in which you have to compile elements creating a figure, or where while you are compiling blocks for example, if you mix the same colors, then you will win points and either destroy those elements or keep compiling.
  2. Also, another idea is some kind of smashing game in which you have to press the buttons to smash objects (can me even maybe fruits or vegetables).
  3. The idea of this minigames is that they need to look good, have to be easy yo play, it doesn’t have to feel perfect, and the atmosphere of the game have to be according to the dynamics of the game and contribute to it.

BRAWL:

 

This is the other idea, in which we create a world where we control a character or object, and we have to smash or destroy things.

 

We thought about this kind of ideas:

and also:

 

 

We are thinking about a minimalist game, doesn’t have to be perfect objects or figures, but the experience has to be good. We are planning to use a joystick  so we can have a responsive controller and buttons.

 

For the cabinet, we are thinking about a simple, small (or not thaaat big) and minimalistic kind one.

 

Controller

So, we had to came up with an idea and a design for a controller for our game. It is always fun and entertaining see some old controllers in an antique store or at Tinkersphere they even sell the Super Nintendo Controller very cheap. All of this gave me the idea of designing a controller that has an old fashion look, kind of the ones that existed before.

Searching for the controllers over the past 30 years, I found this interesting website where you can see the “video game history through controllers”.

http://www.fubiz.net/en/2014/07/24/video-game-history-through-controllers-2/

So, I decided to create my controller taking as a starting point the 1985 Atari.

Screen Shot 2016-03-03 at 12.19.25 AM

Which was basically a small rectangle where the joystick can fit, and a button on the upper side.

I’m still doubtful about how many buttons I’m going to use, I think I will use only one…

Inside of the controller, it looks like this:

Screen Shot 2016-03-03 at 12.18.59 AM

(source: http://www.fubiz.net/2013/11/18/deconstructed-video-games/de7/)

Because I need space for the Arduino, breadboard and the wires, I cannot design my remote like that, but I’m going to use the same idea. I’m going to have the joystick in the center and the button in one side.

Another difference, is that I’m planning to use breadboard and plywood so I can design and print it using the laser cutter.

I took some measures and made this simple drawing of how the controller would look like:

 

Screen Shot 2016-03-03 at 5.30.05 PM

(inches)

Is a simple controller, with a joystick in the front and a botton in the upper side.

 

Game proposal (Midterm)

After living in New York for a while I realized something… there are no street dogs! In my city (Lima-Peru) there are a lot of dogs wondering in the streets, looking for food, or shelter and they reproduce without control; so having a good control of it is a really good thing because dogs will always have someone to take care of them.

this in mind, I decided to create a game based on that… but I will give it a twist. My character is going to be a dog who escape his house in order to feel free and wonder around the city. The major obstacle in his plan are the animal police that have the mission to keep the city in order and they want to capture any animal that goes around free.

I created the dog (I don’t have a name for him yet)

Screen Shot 2016-02-25 at 11.50.46 AM

…And I also make a sprite of him using the website Piskel.

DOG2 (1)

And also create his lethal enemy…

Screen Shot 2016-02-25 at 6.01.32 PM

And I also created a Sprite of him:

 

Animal police

The dynamics of the game is that you have to move through the city collecting food (there will be food distributed around the area) and in order to win you have to collect all the food. The difficult is that you will have to avoid being captured (or killed) by the animal police.

I haven’t really think about how the dog could hit the police or win against him. Maybe could be something related to the food he grabs and can throw at them.

Or the game could be something like the dog is running and have to avoid obstacles by either jumping or hitting something.

 

 

 

 

 

The Golden Age of Arcade Games

The golden age of arcade video games was the era of greatest popularity and technological for arcade video games. The key moments, were the release of the first arcade machine in 1971, the release of “space invaders” in 1978 and the first use of vector display technology in 1979.

arcadeggggg

 

BurgerTime (1982) Is an arcade game created by Data East. You play as chef Peter Pepper, who has to walk through a “maze of platforms” and walk over some hamburger ingredients (lettuce, burger, bread) but at the same time avoid some characters such as an egg or a hotdog that are there to destroy you in order for you to win.

BurgerTime

Basically, you have to step on the burger ingredients, when you step on them they will fall on top of the other ingredients until you complete a hamburger; once you have completed all of them you’ll win the level.

You move using the left, up, right and down keys. When you step on an ingredient and they fall on top of the pursuing characters you will win 100; in some occasions different kind of foods appeared (for example an ice cream) and when you grab them they will give you like 500 points.

Once you win the level, you go to another one which is harder.

Screen Shot 2016-02-18 at 3.29.05 PM

The game is located in the middle of the screen, your score is in the upper right part of the screen and the amount of pepper (which I really don’t get the point of that) is in the upper left side. In the bottom left side of the screen are the life you have (is represented by 4 chef heads), and also the spots where the final completed burgers had to be.

Screen Shot 2016-02-18 at 3.26.45 PM

 

You can play the game here:

http://www.tripletsandus.com/80s/80s_games/burgertime2.htm

 

The next game I played is Rally-x

RallyX

This is a driving game that takes place in a maze. According to Wikipedia, it was the first game with background music and the first one to feature a bonus round. In this game you control a rally car, and you have to drive through a maze and collect 10 flags before you run out of fuel, this flags increase their value as they are collected. But that’s not all!!! You have to avoid the red cars and rocks that appeared in your way because they will destroy you!!!!!

When you start running out of fuel you will start slowing down, and if you press the spacebar you will blow smoke that can stop the red cars, the bad side is that this use fuel as well.

Screen Shot 2016-02-18 at 3.58.54 PM

On the right side of the screen you can see the score, how many lives you have, the fuel (which is consumed as you drive), but also you can see a map that shows where are the flags located as well as the red cars.

You control the car with the up, down, left, right key and spacebar for the smoke, however if you are about to crash into a wall, the car will automatically turn around on the opposite direction, I don’t know if it was my keyboard or the specific website where I found the game, but it didn’t work so well, sometimes followed my instructions, but on other occasions, when I pressed to go left for example it didn’t turn, and instead went some other direction that led me to lose the game.

Screen Shot 2016-02-18 at 3.50.05 PM

 

You can play the game here:

http://arcadethunder.com/classic-games/rally-x

 

 

The final game that I played is Dig Dug, which is a Japanese game developed in 1982 by Namco. You control a character named Dig Dug who basically dig through the earth trying to eliminate some monsters that are in the underground. You have two kind of monsters, which will destroy you if you touch them, one of them apparently can fire fire?? And also kind of flies through the underground. I didn’t actually understand the game, you can dig near a rock and they can fall and with this you are able to kill your enemies, however you have to be careful because it can kill you as well. I read that you can also “inflate them with an air pump until they explode”, but I never knew how to do it.

Screen Shot 2016-02-18 at 4.07.33 PM

You control this character and using the up, down, left, right on the keyboard you can start digging. The game is located in the center, and on the bottom you have your score, and the lifes you have left.

Screen Shot 2016-02-18 at 4.20.16 PM

After a while I got tired and bored of the dynamic of the game, and also because I was losing all the time!!!

Screen Shot 2016-02-18 at 4.20.27 PM

 

You can play this game here:

http://www.playr.org/play/dig_dug/143

 

 

In all the three games, you control a character using the up, down, left, right keys, but also you get some special features, such as shooting something or doing something to distract your enemies, which you can use by pressing other keys. All the games had enemies, which is I think the main point of every game, not only enemies, but facing difficulties that makes you either lose and get tired of playing or win and make you happy about it.

Also, every time you win a level, the next level things get harder, you get more enemies, more obstacles; but this goes according to your skills; which means that every time you pass a level you get better at it.

Some games are easier to understand than others, for example the car game was the easiest, then in second place is BurgerTime and finally Dig Dug (which I never understood). In the case of the driving game, you can attack directly to your enemies, in the case of the other two, you had to do something to destroy them; for example do something so an object would fell on top of them and in that way you can win.

Only in the case of Rally-x you had a limit amount of time, which was the time your fuel was going to last, this creates pressure in the player and make you feel more nervous.

Most of the games, had an instructions menu, that easily shows you how to play the game.

Screen Shot 2016-02-18 at 3.42.24 PM

Controlling Unity Game with Buttons (Arduino Leonardo)

For this week, he basically had to control our game using buttons. For this task, we had to use Arduino Leonardo, which has the Keyboard and Mouse library built in. This libraries allows you to take control over either your mouse or keyboard and in that way let say that if you press the red button, it will activate the “R” key on the keyboard; all depending in your instructions written in your code.

I search for Arduino Leonardo’s definitions for modifier keys and this is what I got:

(Since I was using right and left arrow to move and spacebar to jump, I looked for those…)

Screen Shot 2016-02-18 at 12.24.23 PM

However I couldn’t fin the definition for the “SPACEBAR”, which I still think it is kind of strange…

So I decided to change it, so instead to use the spacebar key to jump, I’m using the backspace key. (KEY_BACKSPACE). So I wrote the code following some tutorials in the Arduino website but also following  the example we made in class. Everything was looking good, but when I first connected the Arduino and run it… it went crazy…

I had connected in the wrong way some wires, so since I have changed the spacebar for the backspace key (which we use it to delete), it started deleting everything starting with my Arduino code.

It was kind of funny actually, but I had to do the connections all over again to find out what was the problem, still I’m not so sure what the problem was… Anyway, I uploaded again but this time it worked!!!

So I have 3 buttons, one is to jump, the next one is to go left, and the last one is to go right.

This is how the final wiring looks like:

12699300_10153250423991751_679823369_o

And here is my Arduino code for future reference:

// 3 pushbottons attached D5, D3, D4
const int upButton = 5;
const int leftButton = 3;
const int rightButton = 4;
void setup() {
Serial.begin(9600);
pinMode(5, INPUT); //INPUT_PULLUP … to not use a resistor
pinMode(3, INPUT);
pinMode(4, INPUT);
//initialize keyboard control
Keyboard.begin();
}

void loop() {
if(digitalRead(upButton) == HIGH){
Keyboard.press(KEY_BACKSPACE);
}
else {
Keyboard.release(KEY_BACKSPACE);
}

if(digitalRead(leftButton) == HIGH){
Keyboard.press(KEY_LEFT_ARROW);
}
else {
Keyboard.release(KEY_LEFT_ARROW);
}

if(digitalRead(rightButton) == HIGH){
Keyboard.press(KEY_RIGHT_ARROW);
}
else {
Keyboard.release(KEY_RIGHT_ARROW);
}
int buttonState1 = digitalRead(upButton);
int buttonState2 = digitalRead(leftButton);
int buttonState3 = digitalRead(rightButton);

Serial.print(buttonState1);
Serial.print(“,”);
Serial.print(buttonState2);
Serial.print(“,”);
Serial.println(buttonState3);

// delay(1);

}

A strange thing about the Arduino Leonardo is that I had to press the “reset” button in order to make it work…

Here is a video that doesn’t look good, but shows how I’m controlling the game with the Arduino.

arduino game

 

 

Digital Fabrication – Week 2

Our assignment this week was to create a simple platform scene, using rigid bodies and colliders but also using the OnCollisionEnter2D function and instiate a Prefab through a script.

At first I thought that since we already did something similar in class, I could used a lot of what we learnt in order to create our own game. Nevertheless, I soon realized that I had forgotten simple but “tricky” things that made the creation of the game really hard.

The main problem, was not the script using javascript (although the majority of the tutorials that I found on youtube used C#), but to remember exactly how to used tags, and grab textures and using them as prefabs or GameObjects, or including them on the GameController.

I started by using as a background an image I found of Antartica, and in this case I used a bulldog as my main character and the seals as the enemies that I have to eliminate.

However as I mentioned before, I had a really hard time. I found a good tutorial that helped me setting up the scene, however for the javascript was really hard because the codes where written in a different way as in the class that really confused me. I also used the example we made in class as a guide but like some of the codes where different I had to try over and over again to really make it work and understand what was going on.

The part that was really hard was to write the scripts, and even more; knowing which one to use as a prefab or which one to use as a tag. (Now it’s more clear to me and I think I can manage better the situation, I think now I have a better understanding of the logic of Unity (at least this part).

For the control of the game I used left and right arrow, and I selected the space key to control the jump.

The logic es the same as the game we created in class last week, which basically seals fall from the sky and the bulldog has to eliminate them.

I think that even though we go through step by step in class, there are things super important that sometimes seemed like you are going to remember but at the end are the ones giving you the hardest problems. Also, almost every tutorial I found on youtube use C# for the code part, and try to adapt that C# to javascript is super hard!!!!

I remember now that one huge problem that was driving me crazy was a super simple thing like using a Capital “P” instead of a “p”.

 

This is how the game looks like:

Screen Shot 2016-02-11 at 4.45.02 PM

 

And here is the link so anyone can play it!!

 

http://juanjoegusquiza.com/GAMEWEEK2/

 

 

Movie Scene

For our first assignment we had to recreate a movie scene using Unity. Two weeks ago I watched “The revenant” and I really enjoyed the movie, specially the amazing landscapes shown in during the movie.

Screen Shot 2016-01-31 at 5.06.38 PM

 

I wanted to recreate a specific scene that it has been in my head for a long time, which is one where the main character us walking alone in the middle of a flat ice path. That image really impressed me because you can realize how hard is it for someone to survive in that scenario, it may be beautiful but with extreme conditions. So I wanted to build a scene in where you had that path, but also the river (which is a very important “character” during the movie) but also the cold mountains.

The first thing I did was to watch some tutorials (I recommend following “Wicked cat Studios” on youtube, their tutorial is super easy to understand and is slow paced (maybe too much sometimes) but it is a really good way to learn, it helped me a lot).

I first started creating a big terrain and using the raise and lower terrain + the paint height tool I shaped it so it could have the 3 basic parts (river, ice path and mountains). After that I “painted” the whole scenario with snow.

Screen Shot 2016-02-02 at 5.13.34 PM

I left some paths to add some rocks and trees and after that I created the water and gave it some current velocity. (I also added some reflection so you can see the clouds and rocks).

Screen Shot 2016-02-02 at 5.13.41 PM

I downloaded some assets from the asset store (rocks, sky) so I can give a more realistic look to the scene.

After, using the raise tool I created the mountains and then using the paint texture tool, I tried to give the mountains the color and shape similar to what they actually look like. I have to add, that I saw I can add some wind to the scene, so after watching the “wind” tutorial I added some wind to the trees next to the mountains.

Screen Shot 2016-02-04 at 3.31.03 PM

To finish I created an skybox with a kind of almost red – sunset look. I wanted this color, because in this specific scenario, day time was only a few hours a day; so I wanted it to have a daylight look but having the darkness present all the time.

This is what the scenario looks like from the player perspective.

Screen Shot 2016-02-04 at 4.09.27 PM