Why?

Unity3D's default GUI system has dynamic label width. This ensures that the input boxes start at the same position. It can results in problems in specific cases, though. The label will be cropped if:
  • It is too long
  • The window size is too small
  • There is too much indentation before it
You can see some of the advantages and disadvantages of dynamic-width labels in the .GIF after the jump:
For the following part of the article, I am assuming you have some knowledge of C#, and Unity3D (Editor) GUI calls.

If you need any help, feel free to post a comment below. I will try to answer you or direct you to the right path when I can.


Continue reading →
Categorized in: GUI, Tutorial, Tutorials, Unity, Unity3D

This Ludum Dare October October challenge is quite simple. It has only three steps:

  1. Finish a game

  2. Take it to market

  3. Earn $1

There are no restrictions, you can finish any game you were working on, or even make one from scratch! There is a very useful guide (posted in 2010, but still relevant) "to get a new game for sale somewhere".

Categorized in: Uncategorized
I have recently purchased McPixel for $10. It's a great point&click game, a lot of silly fun.

The developer had a promo with The Pirate Bay today. For a few days, it's having a "pay any amount you want" deal, from $0(free download from ThePiratebay) to $9001 (or more). This resulted in a lot of traffic to his site. I did not know that he had a "Highest Tips" section, until I took a look at my site's stats on Statcounter.



All of them referred through http://mcpixel.net !

I realized that I was #4 on the contributors list, and that resulted in a lot of clickthrough. That's only in a few hours. I think it will gradually decrease, though, since people are tipping higher than me already. After 2 more people tip more than $10, I will be off the list.

So if you're interested in gaining some clicks to your blog, you could do it by tipping sos more than $25 (the highest tip as of now).

Or just buy or download the game and have a great time.
Categorized in: Uncategorized

Flash 11.2 came out and it has two very awesome features: right click events and mouse locking. So, I had to test it out. However, (as of this post) FlashDevelop (my preferred environment) doesn't officially support 11.2.

I have looked around the web to find a tutorial of some sorts to configure flashdevelop for 11.2 but all I could find were separate small for other versions, so I decided to find the way myself. I'll be writing this tutorial to help others who are in my situation.

  1. Get the files. You can find the installation links here.

    • Download the "playerglobal.swc to target the 11.2 APIs":

      • into "\FlashDevelop\Tools\flexsdk\frameworks\libs\player\11.2\" (create the 11.2 folder as it won't exist)

      • save as "playerglobal.swc".

    • Download the "Flash Player 11.2 Projector content debugger":

      • into "\FlashDevelop\Tools\flexlibs\runtimes\player\11.2\win\" (create the 11.2\win folders inside "player")

      • save as "FlashPlayerDebugger.exe".

  2. Configure FlashDevelop

    • Go to Tools -> Program Settings

    • Click on the "FlashViewer" plugin settings page

    • Set the "External Player Path" to point to your recently downloaded "11.2\win\FlashPlayerDebugger.exe" file.

  3. Configure your projects

    • Go to project properties by right clicking the project's name.

    • Set the platform version to 11.2.

    • Add the following line to "Additional Compiler Options":

      -swf-version=15

  4. Done, test your project!

Categorized in: Tutorials

Lately I have been working on an internship application for a movie visual effects company. For the application they have asked me to work on a ray tracer. I love ray tracers. It was initially a cpu-based tracer drawing frames into .tga files but I decided to have it both realtime and file-based output. I have created a project where I can just flip a flag and do both.

Current status image after the jump!



Continue reading →

I will release its source eventually.

Categorized in: opencl, Uncategorized
I have been using SVN for source control which works quite nicely to share commits with different people, but if I want to develop from two computers and not want to commit untested parts, it's not very effective. Sure, I could do a branch, but that would be overkill and not fun!

I already use Dropbox to share files between computers so I have decided to extend its usage to share my UDK folders, specifically the code part. Of course, if you want to use Dropbox to share something you have to copy it into the Dropbox directory. However, I discovered a neat trick to share specific folders. This can be used for other purposes, as well. We can use the mklink command in windows to do it. So, here we go:

Continue reading →
Categorized in: Tutorials
The first time I saw the video below i searched all around the web for a demo. I couldn't find it. I searched for games similar to it, they also didn't exist.

After a while (years) I found out about Prey and Narbacular drop and I remembered how much I loved portals. I worked on a mod in Prey which enabled portals to be created anywhere.

Continue reading →
Categorized in: Uncategorized

It works!!

Categorized in: Uncategorized