San Francisco, California. 2014. The Game Developers Conference was in full swing. I attended talks and drew really crummy drawings.
A talk about building a Brand from a Rovio guy and Jason Della Rocca. It was amazing how they kept offering different opinions on the same thing. (Also, I tried to draw stubble. Failed hard.)
There was an impressive talk from a few guys on AI Visualization. There was both an external app and an in-game visualizer. The demos were great.
Also, I learned a bunch of random acronyms about XBone. Seriously. I learned Win32 no longer just meant 32 bit. WinRT stands for RunTime and has nothing to do with the Windows RT OS.
Overall, there were many amazing talks. The networking was invaluable. I met a lot of great people. 10 / 10. A++. Would buy again.
See you next year,
I just published the code stats for Blowfish Meets Meteor, the game we worked on for Sky Tyrannosaur as Binary Solo. Check it out on our development blog here: http://wp.me/pcJ61-62.
I totally spaced and forgot to mention! I just launched a kickstarter for something Binary Solo is doing. It’s called Indie Van Game Jam and it features myself and Zeb “The Wedding Party” West! We travel around in a van while making games and interviewing independent game developers.
It’s going to be a lot of fun to make, regardless of whether it gets funded or not! Watch our kickstarter video!
Using Texture Packer with Unity for a 2D game with the Orthello 2D framework is easy!
Seriously, though, it really is that easy to generate a Sprite or TextureAtlas with TexturePacker. You create a folder of trimmed images for each item to be put in atlas. When I say trimmed, I mean that the image should be sized exactly how you want it to appear. A trick some people use is to work in layers with Photoshop, then simply export layer by layer. If you have any extra transparency in the image that you do not want, the atlas itself will remove it, but will use magic in the metadata file you use to describe it. In the cocos2d plist file, you will see a large sourceSize. You do not have to learn the hard way that this will cause you positioning and scaling issues if you forget.
So you drag that folder into the panel on the right. Choose cocos2d plist when exporting the file. (Even though there is a Unity format!) Click Publish. If you were using cocos2d, you’d be done by now! Unfortunately, you are not, so you have to take one whole additional step. Rename the .plist file to a .xml file. Now drop those into your project in Unity!
Now that you have your files in Unity, make sure they import correctly. Especially check if your file is 2048 in either dimension (but not bigger because that would be bad).
Okay, file is there, you are ready to set it up. Grab an OTSpriteAtlasCocos2D from the Assets > Orthello > Objects > Sprites > SpriteAtlas folder and drop it into the scene. (A great place to put it would be OT > Containers in the Hierarchy!) If you select the texture that we created earlier along with the Atlas Data File, you should watch in amazement as the Atlas Data gets filled!
Almost done! To reference those frames, we need to make an object. Let’s set up an Animation located in Assets > Orthello > Objects > Sprites. Give that prefab a drag into the Hierarchy at OT > Animations. Fill in the Framesets portion with Size being the number of animations you have in the texture. For each Frameset, you can either manually size and type the Frame Names in each Frameset, or you can use the Frame Name Mask to grab every frame that starts with whatever you type. (Warning: It quickly switches focus to one of the elements, be aware.)
Now you’re all set to create an AnimatingSprite in code or set one up in the scene. Go you!