How to Create a Randomly Generated Game Board

 

This How to will show you how to create a randomly generated 8×8 map using C# code. The code does require some sprites to be useful, but any sprite will be able to be used to make your own version!

Hope this helps!

  1. Create your variables as public GameObject[] (name);. This will allow you to assign sprites to each individual group and will place them appropriately throughout the game board.
  2. Now, using for loops to prepare to generate a new board
  3. Now run a script, preperably named apprioprately (boardSetup), and set up a new GameObject to be the board. Then use for loops to fill in the outsides and insides of the board.
  4. Next, run a command that allows us to randomly layout objects, with a minimum and maximum set, which should be set as varibles at the beginning of the script. (ex. Public int maximum = 8;)
  5. Now we will actually be creating the board by calling the functions we created above and also adding how many enemies will be on per level, with a mathematic equation.
  6. Once done with the script, go to Unity and create a empty child under the GameObject tab. Rename the object GameManager and add the script to it.
  7. Then select the desired sprites for each category (outside wall, floor, food, enemy) and using shirt + click or cntl + click, drag and drop the prefabs onto the script.
  8. After filling in all the categories, drag the GameManager object into the prefabs folder and delete the object for the hierarchy.

How to use Movie Maker

Step 1 Planning: For the first step, you should probably plan your video out. When we were creating our concussion video, we planned out our slides before we actually starting creating them, which we found was easier than just trying to get right into creating the slide without planning.

Step 2 Creating your first slide: To start off your video, you have 2 options, you can put in your own slide or you can get a clip online and put it in. In our concussion video, we had a mix of clips from online and a mix of our own.

Step 3 adding text/font/font size: to add text in your slides, hit the caption button on the top and you can edit your font size or change your font.

how to make an infinity mirror

Mirrors are cool, so are LED lights, so what if we put one and one together. That’s exactly what I did with something the internet calls “the infinity mirror”. Its a mirror that projects LED lights off itself and reflects it into the mirror. Its amazing and thanks to the wiki how article I used.

1: Gather mirrored window tint, a picture frame that is thick, a mirror the same size as your frame, string LED s lights, wooden small rectangles (if the mirror is the exact size of the frame you can glue it down to the frame), something to groove out wood or whatever the frame is made of, and a lot of hot glue or gorilla glue.

2: Remove the glass of the frame, and set it somewhere. meanwhile clean both the mirror and the glass with a little bit of glass cleaner.

3: Cut out a piece of window tint bigger than the glass and follow the instructions for putting the window tint onto the glass. let that dry for a few hours to be on the safe side.

4: If you want a symbol in the middle of the infinity mirror get some thin, flat wood and paint, engrave, or cut whatever you want into the piece of wood. get creative with this part.(like if you make a symbol from a violent game, add some acrylic paint to the frame to give it a blood stained or blood covered effect)

5: When the tent is done drying grab the frame and the mirror and get to assemble.

6: Put the glass down in the frame first, if the frame has a backing put the mirror in first, dig out a groove big enough for the LED cord to fit, put, and glue the wooden rectangles on to the mirror if needed. put the LED s on the inside of the frame, making sure to get into the corners. feed the wire into the groove, put the frame or mirror on top and glue it down.

(optional)7: Brag to your friends about how cool you are with this mirror, its pretty sick.

i created a kind of nice infinity mirror and i’m creating another mirror.

Items i used

-mirrors (https://www.lowes.com/pd/Style-Selections-12-in-x-12-in-Silver-Polished-Square-Frameless-Traditional-Wall-Mirror/1161873)

-dark window tint (https://www.lowes.com/pd/GILA-36-in-W-x-78-in-L-Black-Privacy-Control-Static-Cling-Window-Film/1065343) use a mirrored window tint to get a better effect

-i could not for the life of me find where I got the frame.

-LED s found off amazon find ones that work for you

-gorilla glue found at any hardware store

-wooden spokes found from the woodworking class

-wooden circle plate found at Michael

 

Animation Tutorial

Below are pictures to my process in creating sprite animations in unity with captions to help you step by step. I made my sprites in adobe illustrator and photoshop. Keep in mind that you need to save copies of the files as illustrator, photoshop, and .png files just in case you need to edit, or reuse the files. Click on the photos for a full view of the screen.

 

 

Finished Roguelike 2D Game

The (should be) finished version of the game is linked below. After playing the game, if you could take the survey to give me some feedback that would be awesome! Thanks 🙂

To play the game ask me, (Im wearing the Iowa State t shirt), and I can have you play the game on the computer next to mine. Unfortunately the file size was too large to directly link. Sorry 🙁

Survey: https://goo.gl/forms/jheK5WK9LzX9QxB12

Gracias!

Second Game Beta

Space Build 3

This is my second space build.

Controls are the left, right, and up arrows

Keep in mind that this is a puzzle game, so the exit may be hard to get to.

Also there are no deaths, respawns, or exits as of now because I am currently working on them.

Questions:

  • What do you think about the new stability of the game, and animations?
  • How could I make the game a bit more fluid besides an intro screen and tutorial?
  • What was the hardest thing about the room?
  • Was it to hard to figure out for a first attempt?

 

 

Adventures of The Boy: Summary and Survey

The Adventures of The Boy

Hello, world. If you could take a moment out of your day to play and rate the animation for this game, I would appreciate it. Alt + Tab to leave the game. The Boy is the player, a pink axolotl. You will use the arrow keys to move him. The Friend is a follower, the blue axolotl, he will do his best to keep up.

https://www.surveymonkey.com/r/3S6BCWC