background preloader

Getting Started with iOS Development

Getting Started with iOS Development
Building games for devices like the iPhone and iPad requires a different approach than you would use for desktop PC games. Unlike the PC market, your target hardware is standardized and not as fast or powerful as a computer with a dedicated video card. Because of this, you will have to approach the development of your games for these platforms a little differently. Also, the features available in Unity for iOS differ slightly from those for desktop PCs. Setting Up Your Apple Developer Account Before you can run Unity iOS games on the actual device, you will need to have your Apple Developer account approved and set up. Note: We recommend that you set up your Apple Developer account before proceeding because you will need it to use Unity to its full potential with iOS. The Unity XCode Project When you build the Unity iOS game an XCode project is generated. Accessing iOS Functionality Exposing Native C, C++ or Objective-C Code to Scripts Prepare Your Application for In-App Purchases Related:  iOS Dev

Lighting Problems Exporting C4D to Unity 3D When exporting models from 3D packages such as Cinema 4D to Unity3D sometimes the surface normals aren't always imported properly even if they are defined correctly in your original modeling package. As this is meant to be a quick tip I won't go into explaining surface normals here. At the time of writing this I am using C4D R12 and Unity3D v 3. It's quite possible that some or all of these problems may be different with the next version, but nevertheless if you are having odd lighting problems, first check you normals, if they are OK then play with the FBX output settings for your normals. This would apply to 3D Studio Max and Maya as well. The example shown here is a rendering in Unity3D. When Exporting from almost any 3D package into Unity3D, Unity3D will communicate with the originating software package and tell it to create an FBX output file. I unchecked it and voila!

Installing iOS SDK and Xcode on Windows 7 [Updated] | The iPod touch Weblog - Apple News, Tricks, and Themes Update 2: August 17, 2011 The TechExxpert guide has been updated to fully allow Xcode 4.1 to work. Sorry that the past fixes did not work. Thanks for the comments! Update: This guide has been modified to the latest updates as of August 2, 2011 including the latest Xcode 4.1 and OS X Lion 10.7. Apple has been adamantly refusing to create an iPhone SDK support for Windows-based machines. The following steps involve installing a virtual machine on your PC, updating the virtual machine to 10.7 , then running the machine and downloading and installing the iOS SDK and Xcode on to the virtual machine. There are other ways to install OS X on your machine but they involve creating a new partition and installing the Operating System directly to your hard drive. The process will take 2-3 hours, but most of the time is consumed by large downloads. 1. 2. 3. 4. 6. 7. If the icons don't show up, you may not have enough virtual hard drive space to fit the program.

Unity Book Roundup Unity brings you ever closer to the "author once, deploy anywhere" dream. With its multiplatform capabilities, you can target desktop, web, mobile devices, and consoles using a single development engine. Little wonder that Unity has quickly become the #1 game engine out there. Mastering Unity is absolutely essential in an increasingly competitive games market where agility is expected, yet until now practical tutorials were nearly impossible to find. Creating Games with Unity and Maya gives you with an end-to-end solution for Unity game development with Maya. Written by a twelve-year veteran of the 3D animation and games industry and professor of 3D animation, this book takes you step-by-step through the process of developing an entire game from scratch-including coding, art, production, and deployment. This accessible guide provides a "non-programmer" entry point to the world of game creation. --Unity is HOT!

Oracle VM VirtualBox Lighting difference between standalone and iphone Hi, I'm doing some tests for a project on iphone/ipad and I run across an issue with the lighting in one scene. Basically in the scene there are some areas where I have very bright lights(3-4 in value) because I need those areas to overbright. Everything works fine as long as the building setting is for PC/MAC standalone but when I test the same scene changing the building setting to ios for iphone the lighting changes. At first I thought that it was something wrong with the lightmaps but after further tests I notice that also the vertex lit or diffuse shaders react differently. Here is an example screenshot with the lightbaked scene. hippocoder: thanks, that's what I'm usually doing, but in this case as you can see from my screenshots all shaders are giving me the same color problem. kraemology :have you found a solution to your issue? Posting Permissions You may not post new threads You may not post replies You may not post attachments You may not edit your posts Forum Rules

Start Developing iOS Apps (Swift): Connect the UI to Code Connect the UI to Source Code Elements in a storyboard are linked to source code. It’s important to understand the relationship that a storyboard has to the code you write. In a storyboard, a scene represents one screen of content and typically one view controller. View controllers implement your app’s behavior. You define the behavior of your view controllers in code by creating and implementing custom view controller subclasses. Xcode already created one such class that you looked at earlier, ViewController.swift, and connected it to the scene you’re working on in your storyboard right now. At runtime, your storyboard will create an instance of ViewController, your custom view controller subclass. Although the scene is connected to ViewController.swift, that’s not the only connection that needs to be made. Create Outlets for UI Elements Outlets provide a way to reference interface objects—the objects you added to your storyboard—from source code files. Click Connect. Click Connect.

C4d <-> Unity workflow: any recommendations? This has been a very interesting bit of news. I've been trying for 2 weeks to figure out a flow from C4D into Unity. So far nothing works very well. In fact moving the .c4d file to the assets directory results in this error in Unity's console window: Cinema 4D couldn't convert the .C4D file to an fbx file. Try exporting the .C4D file to an fbx file manually. When I try to export the FBX shaders need to be baked, but it doesn't appear that there is a way to bake all the shaders automatically. I'd be interested to here how anyone got this character moved over. It is best to bake your animations before exporting to Unity. I no longer bother baking lightmaps in C4D. EDIT: To be a little more clear.

How to Create a Safari Content Blocker Extension in Swift - iOS-Blog In this tutorial I am going to show you how you can create a Safari Content Blocker Extension using Swift. Safari Content Blocker So, What exactly is a Safari Content Blocker? Well, It is an extension that you can create rules which will be applied to Safari on the loaded device. I think Apple sums it up rather nicely: Safari content-blocking rules can hide elements, block loads, and strips cookies from requests. For those who are having a little trouble with Apples famous Jargon style writing let me summarise as succinctly as possible. Create Project The first thing you need to do is create a new Simple View Application. Create Content Blocker Extension Now that you have your basic application created we need to add a new application extension. Click Next. You will then get a message asking you to Activate “SuperEvil” Scheme. Once that is done, go to your Project Navigation Pane. Block phrases or urls with Safari Content Block Let me show you a very quick example. Try it. What? Summary

Quality Settings Unity allows you to set the level of graphical quality it will attempt to render. Generally speaking, quality comes at the expense of framerate and so it may be best not to aim for the highest quality on mobile devices or older hardware since it will have a detrimental effect on gameplay. The Quality Settings inspector (menu: ) is used to select the quality level in the editor for the chosen device. Unity lets you assign a name to a given combination of quality options for easy reference. You can click on the name of a quality level to select it for editing, which is done in the panel below the settings matrix: The quality options you can choose for a quality level are as follows: MaximumLOD level Models which have a LOD below the MaximumLOD level will not be used and omitted from the build (which will save storage and memory space). Tearing The picture on the display device is not continuously updated but rather the updates happen at regular intervals much like frame updates in Unity.

Textures/Materials and Cinema4D This is fairly general question about Unity itself and optimizing my scene. For the sake of reproducing levels quickly I produced seperate level pieces in C4D: Corridor, Corner, Prison Cell, T-Section etc. All of these use the same textures and materials. When you save a C4D into Unity it imports a materials and textures folder. So i have several Cinema4D imports that have these material and textures folders all holding the same set of 5 or 6 materials (haven't done UV mapping). More generally, what can i do in order to make things easier on Unity. I haven't done a very good job explaining this but it's the best i can do.