Unity completions for Sublime Text

sublime_unity_small

This might be a technical post, about Sublime Text. Or it could be a community post, about Unity editors. I don’t know yet. In any case it’s about Unity Completions, my first package for ST. Unity Completions does one thing: It allows me to develop for Unity using ST. I know ST’s got its quirks, but it’s homey. And I eventually fell for its simultaneous editing – it’s stupendous! I’ve been using it quite contently for a long while. But the lack of Unity auto-completions, though, was dissatisfying. I couldn’t let it slide. What Was I searched the forums for solutions. There was no … Continue reading

Let my folder go!

Recycle Bin

Your computer is yours. The files in it are yours. And you should have the right to execute them! No, not as in running them… But as in putting them to death. But sometimes this happens: Surely you wonder at this point why anyone would want to delete Shpongle. Relax, of course no one would ever want that – that’s ludicrous! But let’s say for a moment that you want to share Shpongle with a friend. And instead of emailing files directly from your music folder you decide to copy them first into a temporary folder, maybe on your desktop, then pick … Continue reading

Google Analytics for mobile apps in Unity

Google Analytics + Unity

There are several solutions out there for integrating Google Analytics into Unity apps. However, as far as I can tell they all wrap the good old web tracking service. The guys at Google have long ago tailored a more suitable solution for mobile platforms: Mobile App Analytics. It provides a few mobile-only features (e.g.: user engagement, crashes and exceptions, device info) and has the added benefit of being official. Google have released SDKs for Android and iOS. In this post I will demonstrate how to integrate the Android SDK v2 into Unity apps. Be patient, iOS is on the road map. Setup your Analytics Account First of all … Continue reading

Sending data from Unity

Share Text + Unity

I’m pretty new to Unity-Android integration, so I’m filled with pride after every little success. And I bet this one is pretty trivial, especially for Android veterans. But I’m posting it anyway – for the sake of Unity developers. There just aren’t enough examples out there that tie the pieces together. I wanted my Unity app to have a share function. All it needs to do is send some text as is easily done on Android. All that is missing is a tiny Android plugin. Android Plugin I already covered the subject of creating an Android plugin in another post. … Continue reading

The Duplicator duplicates

Duplicator Plugin

Just popped in to say thanks to the guys at Life in the Grid for their awesome WordPress plugin, Duplicator. I had to switch to another host as my previous one, 8Tar, was crumbling down to the ground. (I guess that’s what you get for $0…) I installed the Duplicator plugin and created a backup in seconds. The next day 8Tar exhaled its final breath. After finding a new host (paid this time) I uploaded the backup I created and activated it. It just worked. Everything was restored in one go: database and files (posts, images, plugins, permalinks, users) – the whole package. When … Continue reading

Serverless authentication with Instagram

Instagram + Unity

In this post I will explain how to implement a Unity app for Android which allows the user to authenticate using an Instagram account – without a server (i.e., directly against Instagram’s server.) In the process we’ll also learn how to write an Android plugin. Overview Instagram supports client-side authentication (OAuth implicit flow, a.k.a. 2-legged OAuth). This flow enables an app to obtain a user’s OAuth credentials directly: the access token is delivered to the app via the response URI. However, the flow was designed with JavaScript applications in mind, as the app is expected to have access to the response URI (“Simply grab the access_token off … Continue reading

Building Unity for Android with Eclipse

Eclipse + Unity

While working on a Unity project for Android I found the need to move the build process to Eclipse. This process used to be complicated and tricky, but thankfully it became rather simple with Unity 4. Note: The instructions below relate to Windows 7. YMMV. Before we begin, you’ll need to install two tools: Android SDK Eclipse + ADT Plugin You can download them both here. They’re bundled together, named “ADT Bundle”. In the same page you can click “Use an existing IDE” to download only the SDK. Android SDK If you’re not familiar with the Android SDK, you should know … Continue reading

Windows tech tip of the week #1

Open File dialog box

Hi. It’s been a long time since I posted. Sorry about that   It took me a while to figure out what I want to write here in my blog. I started the blog thinking I’d write about technical stuff. Maybe software development, or game design. It was right after I stopped working on Swat and I had the burning feeling that I needed to help the world by warning it about the dangers of using ActionScript. I wanted to tell the world about it’s rounding bug when changing an object’s alpha property. I wanted to rant about how animations started … Continue reading