31 July 2012

Its Raining Zombies

For the past year, I have been working on a mobile game for Android and iOS devices. This game was developed with Unity Engine and will be first released on the Android Play Store in about a month then  I will release on the App Store.


It's Raining Zombies is a pixel style top-down shooter with influences from games like Minigore and Minecraft and will debut on the Play Store for $0.99.

If you're interested in the development of this game or just want to find out more information, check out the blog setup here: itsrainingzombies.blogspot.com

02 August 2011

How to Virtualize OS X Lion on Windows

Update: Fixed down hard drive files (February 8, 2012).

Sorry about the delay guys, this page has been updated so that Xcode 4.1 does not crash anymore. (August 17, 2011).

If you've tried to virtualize previous versions of OS X, you know that it is a very tedious and time consuming process. This new guide works by giving you a simple VMWare Image. This means that the OS has already been pre-configured on a hard drive. For the most part, there is no need to mess around with boot flags or installation settings

This guide will show how to setup a fully working OS X Lion 10.7 on a Windows machine. This process will take about an hour but most of the time is spent downloading files. This was done on Windows 7 but should work on any OS as long as it meets the requirements.

Requirements
A laptop or desktop computer that supports virtualization (most newer computers do).
At least 1 GB of RAM (the more, the better).
VMWare Workstation (this is a paid program but a little research will get you it for free).
VMWare Hard Drive (vmx files, it is in a self-extracting .exe file)
OS X Lion (VMDK File)

Instructions

Before you start, make sure that you have enabled Virtualization in the BIOS of your computer. This is usually disabled by default by computer manufacturers.

An updated video has been made of all the new steps:



1. From the file downloaded, double click on Mac OS X Lion VMware Files.exe. Click Run then Yes. This will decompress the files.


2. Once done, a folder named Mac OS X Lion VMware Files will appear, double click it.


3. You will need to follow the instructions in this video to unlock VMWare. Instead of using the files from the video, use the files from Step 2.



4. From Step 1, you should have also gotten a folder named Mac OS X Lion. Open that up and open the file named Mac OS X Lion.vmx. Double-click this file. It will open in VMWare Workstation.


5. On the left column, click on Edit Virtual Machine Settings. In the Memory tab, you can edit how much RAM OS X will get. In the Sound tab, change to Specify host sound card, change it to your sound card. After the machine has started and sound doesn't work, change to Use default host sound card.


6.  At the bottom of the box is an Add button, click it. Select Hard Disk from the left, click Next. Choose Use and existing virtual disk.


7. Browse for the Mac OS X Lion Installer.vmdk that was downloaded from the torrent. Click Finish. Click OK to close the box.


8. On the left column, click Power on this virtual machine.


9. If a box asks to repair the image, click Repair. Once the box comes up, click I copied it, click OK. A message about the CD Drive may come up, just click OK.


10. The machine should power up in a few moments, ready to go. For ease of use, click in VMWare Workstation, click File > Add to Favorites.

11. You should now have a Install Mac OS X screen. At the top, click Utilities then Disk Utility. Select the 42.45 GB Hard Disk. Click on the Erase tab. Now you can name your hard drive what you want. Then click on Erase. Click Erase again.


12. Once the process is done, close out of the Disk Utility box, the Install screen will come back up. Click Continue, Agree. Select the 40GB Hard Disk to install Lion. Click Install. The process will take about 30 minutes. Once it's done, the account setup will start. Once that's done, Lion will start.

13. To be able to use the machine in full screen, in OS X open Preferences, click on Displays. Now select the resolution of your monitor. Now in VMWare, click on the Full Screen button on the toolbar (10th button from the left).


14. Now you're done, you can use this OS as a normal to install programs.

25 June 2011

Developing iPhone Games with Unity on Windows

Unity is a fantastic multi-platform game maker. One of the most special things about it is that it is able to create games for the iPhone that can be submitted to the App Store. The problem is that this can only be done on a Macintosh machine.

The beauty of Unity is that the project files are saved in Unity's format that is later built for the platform (iPhone). The files can be transferred from a Windows machine to a Macintosh and then built for iOS.

If you're familiar with virtual machines, you probably know where I am going with this. A virtual machine will allow you to run a almost fully functional version of OS X on your Windows computer. So you can build a game with the free version of Unity on Windows, transfer the project files to Unity Pro on the virtual machine, build the project for iOS, test out on your own iPhone, send to Apple.

Visualized, this looks like:


Jus FYI, to build to an iPhone, the VM (virtual machine) needs to have Xcode installed but don't worry, we'll go over everything.

1. Install the VM on your Windows computer: http://techexxpert.blogspot.com/2010/12/how-to-virtualize-os-x-on-windows-7.html 

2. Now update the virutalized machine to OS X 10.6.7: http://techexxpert.blogspot.com/2011/04/updating-virtualized-os-x-1067.html

3. Install VMware Tools on the VM. This allows you to transfer files back and forth from the Windows machine. At the same time, it will allow you to go full resolution and enable sound on the VM: http://techexxpert.blogspot.com/2011/02/change-resolution-of-vmware-system.html

3. Now you'll need to install Xcode on to the VM: (you've already done steps 1 and 2): http://ipodtoucher55.blogspot.com/2010/12/installing-ios-sdk-and-xcode-on-windows.html

4. On your Windows machine and in the VM, download and install Unity: http://unity3d.com/unity/download/

5. Develop a game on your Windows edition of Unity. For now, I made a simple sphere with an animation. (Anything will work.)


6. Using VMware tools, transfer all the project files from Windows into the VM.


7. In the VM, open the project with in Unity.


8. Click File then Build Settings. Select iOS and click Build and Run.


9. The project will build create Xcode files in the project files. Open the .xcodeproj file.


10. Connect your device to your computer. In the bottom right of VMware Player, you should see an iPod icon. Right click the icon and click Connect. Make sure that your device is charging. If it is not, disconnect and reconnect. If that does not work, you will need to restart your VM.


11. Click the Organizer button to make sure that your device has connected correctly (green dot next to name).

12. In Xcode, you will need to change some build settings so that you can add it to your device. On the left side, click on the Unity-Project. In the middle column, click Unity-Project again. Click Build Settings in the center column. Make sure the settings look like the image below.


13. Do the same for Unity-iPhone targets, follow the image below.


14. In the drop down box next to Run, change to the first device next to Unity-iPhone. (This is your physical device).

15.Press Run. The app will be built and in a few moments afterwards, the app will appear on the home screen of your device.

16 April 2011

Updating Virtualized OS X (10.6.7)

A virtual machine virtualized with VMWare Player on OS X can't be updated using the regular update method in OS X. This is the special set of instructions to update your vitual machine. The guide will be constantly updated to the latest version of OS X.

1. In Windows, download the 10.6.7 update from here: http://support.apple.com/kb/DL1361.

2. Also, download this new kernel: http://blog.nawcom.com/?p=640.

3. Now follow these instructions to update to OS X Snow Leopard 10.6.7. This software update is required for the SDK and can not be manually installed through the Apple updater in the OS.

Though the video shows the steps for 10.6.5, the steps are exactly the same.