Pixel Freak

Constructing a dream

Create paper craft from 3D Models

leave a comment »

Written by Pixel Freak

November 5, 2011 at 6:58 pm

Posted in Uncategorized

Unity3d default folders

leave a comment »

I didn’t found anywhere this information all together, and as a beginner it was helpful to me to get a better overview of Unity3D workflow.

These are the folders that Unity3D has awareness of, that are used somewhere or gets a special treatment.
Quoted are the mentions in the documentation of the corresponding folder, and a link to that documentation is provided.

To use editor classes you have to place your script in Assets/Editor inside your project folder.

The icon’s path can be found in the Assets/Gizmos folder or in theUnity.app/Contents/Resources folder.

Once you have built your bundle you have to copy it to Assets/Plugins folder.

All scripts in this folder are compiled first. Scripts in this folders can’t directly access scripts outside.

All scripts in this folder are compiled in second place

All assets that are in a folder named Resources anywhere in the Assets folder can be accessed via the Resources.Load functions. Multiple Resources folders may exist and when loading objects each will be examined.

All scripts in this folder are compiled first. Scripts in this folders can’t directly access scripts outside.

All scripts in this folder are compiled in second place

I know I’m missing something, I think the Editor folder had another default folder inside, but I can’t recall exactly which one. Please feel free to make any correction.

Written by Pixel Freak

October 18, 2011 at 1:24 pm

Posted in Tips

Tagged with

Local Shared Objects Architecture

leave a comment »

Excellent article!

http://computer-forensics.sans.org/blog/2010/02/17/local-shared-objects-aka-flash-cookies/

Written by Pixel Freak

September 30, 2011 at 11:47 am

Posted in Tips

Tagged with , , , ,

How to automatically port forward

leave a comment »

This is called NAT Traversal.

Looking at uTorrent, it’s using uPnP and NAT-PMP

Newer router models often have the UPnP (Universal Plug ‘n Play) or NAT-PMP built in. This allows for automatic forwarding of ports, making the rest of the instructions on this page unnecessary. UPnP is turned on by default in µTorrent and in most routers, but if not, you may need to check your router’s documentation for instructions on how to enable it.

Another technique it’s called Hole Punching.

Written by Pixel Freak

September 1, 2011 at 7:35 pm

Posted in Tips

Tagged with

How to hide data in an image

leave a comment »

We can use the least significant bit over the entire image, getting 128×128 bits * 4 channels, or 8KB of data total. Every single channel pixel encodes one bit… 1 if it’s odd, 0 if it’s even.

We can even add a hash or checksum in there to prevent people from editing the data.

Source: http://www.reddit.com/r/gaming/comments/6mtyr/prettiest_pony_in_spores_creature_creator/c04gplc

Written by Pixel Freak

September 1, 2011 at 7:22 pm

Posted in Tips

Tagged with

Visiting all nodes in a graph

leave a comment »

I just developed a simple application to create a path that iterates on all nodes of a graph.

Download here. Note that you need the Greensock and MinimalComp libraries.

  1. Create nodes with Create Node button
  2. Link them by selecting one, pressing down SHIFT and selecting other node
  3. Select the one that is the starting node of the path
  4. Press Kruskal button.

Written by Pixel Freak

August 5, 2011 at 3:52 am

Posted in Uncategorized

Runners Development – Second attempt on multiplayer

leave a comment »

Now we are coming to an end.

Written by Pixel Freak

July 29, 2011 at 10:29 pm

Posted in Runners

Runners Development – Trying multiplayer

leave a comment »

First attempt to support multiplayer in-game. Its almost laughable :P

Written by Pixel Freak

July 29, 2011 at 10:20 pm

Posted in Runners

Runners

leave a comment »

A simple remake of Lode Runner with multiplayer support.

Runners

Written by Pixel Freak

July 28, 2011 at 9:36 pm

Posted in Runners

Flash Player 11 comes with big changes

leave a comment »

Among others, these are the changes that I think are the more awaited for:

Stage3D APIs (“Molehill”) for Flash Player
A new set of low-level, GPU-accelerated 3D APIs that enable advanced 3D experiences and improved 2D performance across devices through the Adobe Flash Platform runtimes.

64-bit Support
Native support for 64-bit operating systems and 64-bit web browsers on Linux, Mac OS, and Windows.

Garbage Collection Advice
Provides a simple facility with which AS3 code can advise the GC on when to schedule the disruptive end-of-GC pause.

Finally, we can make use of GPU accelerated rendering, 64-bit plugin for 64-bit browsers and we can now specify when to garbage collect the unused objects.

To see more features, follow this link: http://labs.adobe.com/technologies/flashplatformruntimes/flashplayer11/features.html

Written by Pixel Freak

July 28, 2011 at 9:07 pm

Posted in News

Follow

Get every new post delivered to your Inbox.