Uncategorized

2012 in review

Posted on

The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.

Here’s an excerpt:

600 people reached the top of Mt. Everest in 2012. This blog got about 1,900 views in 2012. If every person who reached the top of Mt. Everest viewed this blog, it would have taken 3 years to get that many views.

Click here to see the complete report.

Puli’s Roll It! free (until 20th June)

Posted on Updated on

We make our iPhone title Puli’s Roll It! free until 20th June.

 

Download via iTunes

Enjoy!

 

Advanced Batch script tricks

Posted on Updated on

Writing out all the directories (or other set) to an external file. One line, comma separated (useful for creating simple CSV files)

for /d %%I in (*) do (
  echo.|set /p ="%%I,"
) >> directories.txt

Testing in command lane:

c:\>for /d %I in (*) do (echo.|set /p ="%I,") >>directories.txt

c:\>type directories.txt
Ant,dev,drvrtmp,Intel,PerfLogs,Program Files,Program Files (x86),Python25,Python26,Python31,svn,Users,Windows,

How to store an Environment variable which contains undefined env.variables for later use.

c:\>set format="Name:%name% Date:%birthday%"

Using in batch file, need double %%

set format="Name:%%name%% Date:%%birthday%%"

Now format contains only a “template”

c:\>echo %format%
"Name:%name% Date:%birthday%"

Later in your program you can set the missing environment variables

c:\>set name=Botond
c:\>set birthday=2010.05.01

and then, using format as a template, you can make the final record:

c:\>for /f "delims=" %I in ('echo %format%') do (set record=%I)

or using it in a Batch script:

for /f "delims=" %%I in ('echo "%format%"') do (set record=%%I)

Now the variable record contains the final result:

c:\>echo %record%
"Name:Botond Date:2010.05.01"

Starling particle

Posted on Updated on

There is a nice tutorial about Starling and it’s particle system extension. Also there is a really useful online particle editor.

Lenyűgöző 2D engine

Posted on

Ez egészen jó cucc XNA-ban. Normál- és heightmappes textúrákkal dolgozik, a heightmap-et visszaírja a depthbufferbe és az élthű realtime bevilágításokon kívül egész meghökkentő áthatásokat képes produkálni. A videónak van egy második része, ami csak az időjárásról szól (hó/eső/vihar, nappal/éjszaka, tiszta idő/felhős)