Showing posts with label Unity. Show all posts
Showing posts with label Unity. Show all posts

Monday, 27 January 2014

Global Game Jam 2014

So it was the global game jam this weekend and me and a few friends decided to team up and make a game over the 48 hours. The theme this year was the quote "We don't see things as they are, we see them as we are." 

From this we decided to make a first person tower defence game; you protect the gate to the town of Woodbury but you can't tell your enemies from your friends! Shine a light on them to reveal their true nature then take them out with your kick-ass crossbow! 

If you would like to play the game you can download a copy from the global game jam website or check out the video below.

You can also check out what the rest of the team have been up to as well.

Scott Ranken - Programmer
Leigh Norton - Programmer
Michael Norton - Programmer 









Monday, 16 December 2013

App Jam 2013

Recently i took part in App Jam 2013 where we had 10 hours to make an app with a Christmas theme. I attempted to make a simple little game for android devices using Unity.

As it gets closer to Christmas the elves get really busy in the workshop and sometimes send the wrong presents down the shoot, your objective is to catch as many of the good presents as you can while avoiding the bad ones.






There is still a lot more i would like to add to the game, originally i planned on having some form of power ups which would affect the game play and add more of challenge for the user. if i have some time over the Christmas break i aim to try and add this in and polish the game up. 

Massive thanks to Adrian Guzinski and SIE Informatics E for organizing the event and Heriot-Watt University for hosting the event. 

Thursday, 19 September 2013

Software Development Challenge 2013

This year during freshers week i took part in a 48 programming hour challenge with a few friends from university.

We created a first person horror game based around the theme of energy. You can find out more about the game and play it for yourself over at Scott Ranken: Programming Nonsense: Software Development Challenge 2013:

Thanks for reading,

Craig.

Wednesday, 18 September 2013

Global Game Jam 2013

Pretty late with this post but way back in January a couple friends and I took part in the Global Game Jam where we had 48 hours to make a game.

You can find out what we made and play it for yourself over at Scott Ranken: Programming Nonsense: Global Game Jam 2013:

Thanks for reading,

Craig.

Monday, 2 September 2013

Unity: Deformable Sphere

I have been playing about with unity a lot recently working on some fun projects as part of an internship that i have been doing.

One of the projects i am working on involves deforming a sphere when the user interacts with it. There isnt a lot to show but you can see what i have done so far at



You can rotate the sphere using the WASD keys and deform it using the left and right mouse buttons. 

Thanks for reading,
Craig

Twitter: 
Email : 10004794@napier.ac.uk

Wednesday, 1 May 2013

3D Tilt VR App

As part of a group project at university we have been working on creating an application which creates a 3D effect that gives the user an impression of looking inside a room, through a window when the phone is tilted.

The application is still in its early stages and we are currently looking for feedback so that we can further improve it.

If you could take the time to watch the video below and fill out a short survey it would be very much appreciated by the team.

The survery can be found at: 3D Tilt VR Feedback Form

Alternatively if you have an android mobile device which supports the use of a gyroscope and OpenGL ES 2.0 and would like to test the application for yourself please email 10004794@napier.ac.uk and we will send you a beta version of the application.



Thank you for taking the time to watch the video and fill out the survey, if you have any questions please feel free to get in touch.

If you could be so kind as to pass this on to your friends and share it on Twitter and Facebook we would be very grateful. The more feedback we receive the better we can make the application.

Thanks again,
Unitas Development Team.

Thursday, 28 February 2013

App Jam: Topple Tower

This week SIE put on an app jam at Edinburgh Napier University where we had about 9 hours to make an app of our choice. I decided to make a simple physics based game for android devices called Topple Tower which won 4th place.

The objective of Topple Tower is to build as high a tower as you can without it toppling over, the higher you can build it the more points you will get.

Different shaped objects drop in from the top off the screen and the user can click and move the objects around to build them up in the way they want, if any object drops off the screen it is game over!



I have a lot of ideas about how to carry this app forward and plan on continuing to work on and improve it over the next few months and if all goes well maybe even attempt to release it at some point.

A massive thank you to Darren Whigham, SIE, Informatics Ventures and Edinburgh Napier University for putting this event on it was a really great day!

Thanks for reading.

Email: 10004794@napier.ac.uk - Please put blog in the subject.
Twitter: 

Feel free to get in touch, i would love to hear from you! 

Sunday, 3 February 2013

How to Export to Android Using Unity


Here is how I was able to set up the android sdk and export from unity to my android phone. I am not sure if this is the correct way or the best way but it is how it worked for me.

Firstly you need to get yourself a pro version of unity you can either buy the expensive licences which are $1,500 for the pro version and $400 for the android license or you can get the 30 day free trial which is what I would recommend.

You can get unity by going to the unity website http://unity3d.com/unity/ and clicking on the download link in the top right corner. Once it downloads it will pop up with a choice for either a free license or a 30 day free trial for the pro version, select the pro version and make an account if you need to or log in with your email address and password.  

Next you need the android sdk which you can get from http://developer.android.com/sdk/index.html

Click on the blue button to download the ADT bundle for windows.


On the next screen agree to the terms and conditions and download the 32-bit version.  You could try 64 bit but I have heard of there being problems with using the emulator so I stuck with the 32-bit.


Once the zip folder downloads I extracted it to my C: drive.

Once you have done this if you open up the folder there should be 3 items, an eclipse folder, sdk folder and an application called SDK Manager.

If you open up the SDK Manager application it will have a list of all the different versions of android and two folders one called tools and one called Extras. You want to open up the extras folder and make sure that the Google USB Driver is installed as you may need this driver to use your phone properly.

Before you plug your phone in you need to enable USB debugging inside the developer options which can be found within the settings on your phone.

If you now plug in your android phone, it should automatically install the drivers for you and your phone should be recognised as an Android device in the device manager. If not you will need to install the Google usb driver that we just downloaded.

You can install the driver to your phone by selecting your phone in the device manager.
In my case my phone was under the portable devices.


If you right click and open up the properties and then go to drivers and then update driver and select “browse my computer for driver software” and find the following folder.

And hit next the driver should be installed and your phone should be recognised as an android device. If not then I’m sorry you are on your own I don’t know how to fix that L.

Once this is set up we should be able to make a new unity project which can be exported to the phone.

I am assuming you know how to do some basic things in unity, like make a new project, add objects and scripts to the project etc.

First thing to do is to make a new project in unity which we will use to export to our phone.

Inside this new project let’s add a cube and a plane and we will move the cube about using the accelerometers. 

So once you have added the cube and plane and a directional light you should have something that looks like this.

 Once you have this add a new c# script called MovableObject and input the following code


 Drag this script onto the cube object so that it is attached. This will allow us to move an object using the accelerometers.

Next we need to set up unity to get it ready to export to the phone. To do this we need to go to Edit->Project Settings->Player and you should be presented with the following screen.




You want to select the little android icon and set the default orientation to landscape left. And then select the Other Settings option lower down the page.



Here we need to make sure that the company name and product name match up with the bundle identifier. It should be com.CompanyName.ProductName so we need to change that to match the company name and product name we have chosen. This step is important or else it will crash when you try and export.

After this we are almost ready to build and run. We just need to set up the build settings.

To do this goto file->Build Settings


Here you need to select android and then add current to add the scene that we want to export to the build. Once you have done this your screen should look the same as the one above and we should be able to hit build and run!

Save the file anywhere you would like and name it whatever you want, Remember your phone needs to be plugged in.

The first time you run, unity will ask for the location of the android sdk, here find the folder that we downloaded earlier the one called adt-bundle-windows-x86_64 and select that.

It will come up saying it is building the scene and pushing to the device.



Unity should open up on your phone and there should be a cube which you can move about the screen by tilting the phone!

I hope this was helpful for you and made sense  it was done in a bit of a rush but if you have any questions email me at 10004794@napier.ac.uk and I will see if I can help.