Blogs from friends

bfish.xaedalus.net
Programming and Software Development Guru
  • A tech blog recommendation

    I recently came across this blog in my web travels. The guy is a self described C++ hater, but also a C++ (and many other languages) super-genius, being a developer of compilers and debuggers and stuff for embedded C and C++ developers in the automotive industry. His articles aren’t too focused...

  • Stay in Sync with GCal and Thunderbird.

    For a long time I have been looking for a rock solid calendaring system. I’ve gotten too used to working for companies who have Microsoft Exchange (or, God forbid, Scalix) installed which allow me to edit and update a calendar from multiple locations and even sync...

  • Software RAID 5 in Ubuntu with mdadm

    Software RAID in Linux is a great way to gain massive amounts of disk space which are required for storing digital media, with the added security of data redundancy incase one of the disks in the array fail. Many people still frown upon software RAID...

The Escapist

The Escapist Forums : Threads
  • The Impact of False Accusations of Sexual Misconduct Against Men

    Gorfias:

    http://www.mediaradar.org/research_on_false_rape_allegations.php

    About Half of Rape Allegations are False, Research Shows

    About half of rape allegations are false according to three cherry picked pieces of research from amongst the entire weight of literature available.

    These studies have done the rounds in this sort of debate a l-o-n-g time and are repeatedly cited: they've come up on this forum for debate multiple times. They are all, for one reason or another, seriously flawed when trying to make a point about a "false accusation".

    I think it's also very telling that the latest of them was 22 years ago. So what we have discovered in the last two decades that site doesn't want us to know?

  • Recommend some MANGA.

    Berserk
    Soul Eater (the anime is good though I prefer the ending to the manga much more than the anime's)
    Akame ga Kill
    Akira

  • DOOM: ETERNAL's Unapologetic Western Masculinity

    Seth Carter:

    Xsjadoblayde:
    Hm, it sure looks to be a lucrative business whinging on YouTube about obscure twitter comments. And it's not like you'd ever run out of material either! Am going to have to keep that in mind for when I'm desperate enough to sell out what little standards I'm still clinging on to.

    You gotta also declare a game as being dead one week and having miraculously risen the next on a quarterly basis.

    Also pepper in some Fortnite videos where you take pics or videos of one of the more ridiculous guns from the co-op mode and claim its coming to Battle Royale and will totally break the game.

    .

    It didn't just die, it was murdered. Mermaid murder. Or some wild guessing crap like that

Voronoi tiling art PDF Print E-mail
Written by Mat   
Wednesday, 30 September 2009 20:23

These tessellations have all been generated by a very simple FreeBASIC program that I wrote.

I stumbled upon this algorithm while searching for a way to generate stochastic terrain heightmaps for a 3D strategy game, and realised that it could be made to produce pretty 2D pictures.

See: Voronoi diagram at Wikipedia.

The algorithm is as follows: start by placing a number of control points in random positions in the image, and assign each one a primary colour. Then for each pixel of the image, the colour of that pixel is set to the colour of its nearest control point, and the brightness of the pixel is set to the difference between the distance from the pixel to its nearest control point and the distance from the pixel to its next nearest control point.

Numerous variations on the algorithm exist: instead of using control points, other geometric objects can be used such as line segments or circles, which both result in curved edges. Also, instead of using Pythagoras to compute the distances, other methods can be used such as the Manhattan metric or the chessboard metric, and these result in more right angles.

It is possible to achieve a finer granularity in the spectrum of colours used, by mixing together two or more layers of tilings with various weights and numbers of control points.

Tiling Tiling Tiling
Tiling Tiling Tiling
Tiling Tiling Tiling

Last Updated on Thursday, 01 October 2009 20:12
 
Place features PDF Print E-mail
Written by Mat   
Saturday, 17 January 2009 02:42
Current features of Place:
  • Free software, professionally finished;
  • No restrictions on licensing of your game;
  • Most of the work done for you, just tell Place where you want to place your entities and how you want them to react;
  • Movable entities automatically negotiate obstacles using shortest-path algorithm;
  • A bare minimum of scripting experience required of game designers;
  • Advanced features available to those who want to dig deeper;
  • Helpful debugging system enables rapid testing and makes it easy to find mistakes;
  • Prototyping system to reduce the amount of tediously repetitive work involved in development;
  • Free, extensible toolkit: add new features if you wish;
  • Uses a well-established, popular general-purpose scripting language with vast amounts of documentation, so there's no need to learn some adolescent, obscure single-purpose language just for scripting games;
  • Runs on Windows, Linux, Mac and various other platforms;
  • Games get an extensive menu system for making and loading savegames and configuring all of their settings;
  • Use any graphics resolution you wish; player can choose their own and your graphics will be rescaled, preserving the aspect ratio if desired;
  • Entities can automatically scale down as they move further away to give the appearance of perspective;
  • Simple yet powerful conversation system;
  • Link subtitles with the voice audio files that go with them, if you want voice acting;
  • Multi-threaded caching system pre-loads resources before they are needed, for improved responsiveness;
  • Internationalization/localization: easily support translations of a game into foreign languages;
  • Support for cut-scenes, using either the pre-existing system of rooms and entities, or MPEG format videos;
  • Extensive tutorials to get you started.

Features planned for the future:

  • Auto-package games into a Windows .exe installer, .pkg file for Macs or .deb, .rpm or .tgz package for Linux;
  • WYSIWYG game creation and editing studio, integrated with the Gimp professional, open-source image manipulation suite and featuring a text editor for scripting with syntax highlighting, auto-completion and debugging facilities;
  • Parallax scrolling background scenes;
  • Ability to use 3D models for entities instead of flat sprites;
  • Simplify programming interface further still and extend to Java, Python, Lua and Ruby;
  • More speed improvements;
  • Native support for Nintendo's DS and Wii consoles and SymbianOS (for recent phones by Nokia and others).
Last Updated on Wednesday, 15 April 2009 20:50
 
About Place PDF Print E-mail
Written by Mat   
Saturday, 17 January 2009 02:38
Place is a collection of modules for the programming language Perl, intended to enable non-programmers to fairly easily develop 2D point-and-click adventure games that can run on Windows, Linux and Mac. It is free software, distributed under the GNU GPL license, but that does not mean that the games that use it need to be under that license also; games developed using Place may be released under any license that their author wishes, so long as Place itself remains under the GPL.
Last Updated on Sunday, 18 January 2009 01:07