750words utilities

750.pl is a simple Perl script which can be used as a helper to set crossposting to or from 750words.com. It either gets the current entry from your 750words.com account and saves it into a local file, or posts a local file as the current entry (overwriting its contents).

Usage for get: 750.pl get filename
Usage for post: 750.pl put filename

750_start.pl makes Firefox log in on your 750words account without typing username and password, as a workaround for its weird login form that doesn’t work with Chrome and Firefox autofill functionality. The script only works with Firefox because it requires Firefox MozRepl extension, and uses WWW::Mechanize::Firefox.

Click to download (750_v0.85.zip).

Posted in code, perl | Tagged | Leave a comment

Daily Pages

The idea of daily pages is borrowed from 750words.com, which, in turn, borrows it from “The Artist’s Way” by J. Cameron (“morning pages”). Basically, writing a certain amount of words every day is supposed to positively affect your mental state and creativity in the long run, even if your writings are merely incoherent ramblings. (It’s strongly advised to keep daily pages private.)

The Daily Pages plugin provides the motivation to write every day by keeping track of the word count and the writing streaks (consecutive days of meeting the goal). The stats are displayed on the blog together with the graphical badge that corresponds to the length of the streak. The approach is similar to 750words.com, but using your own blog allows full control over all the aspects of the process. The user can change the goal (number of words per day), the hour when the day starts (e.g. for the night owls, it’s not fair to consider the midnight to be the end of the day), the lengths of streak levels (i.e. how many days is required to get the next badge), as well as the badge images and titles. It’s also possible to configure email reminders to be sent at any convenient time and any number of times per day.

Download the code here (current version: 0.9) The configuration is rather DIY, so don’t even think of using it without reading the included readme.txt ;)


(click to see the bigger version)

Posted in code, php | Tagged , | Leave a comment

Arachnoid

Arachnoid is an Arkanoid/Breakout clone with a twist – instead of bricks, there are spiders crawling all over the place! There are several kinds of spiders with different abilities, as well as other obstacles and bonuses.

The game is written in Python/Pygame. Graphics are adopted from several sources (see this post with the links).

Click here to download the game (current version is 0.5)

Running the game: python main.py

Controls:

– Right & left arrows, or mouse movement to move the paddle (mouse is preferable because it supports acceleration)
– Space or left mouse button to release the ball
– Key ‘p’ to pause the game, and ‘o’ to continue after pause
– Del to go the next level (only in the cheat mode)

Command line options (only if argparse module is installed):

–cheat: turns on the cheat mode (Del allows to go to the next level, and the game doesn’t stop when the number of lives goes below 0)
–level N: starts on level N instead of 1

TODO:

– sound
– saving scores, high-score table
– info screen with the explanation of enemies and bonuses
– list of locked/unlocked levels & level codes instead of starting from any level (maybe)
– level editor
– installer

Tested with python 2.7.3 and (to some extent) 2.6.6, and Pygame 1.9.1.

Posted in code, games, python | Tagged | 2 Comments

Graphic resources

Here are links to several excellent sites providing free graphics which can be used for games, etc.

* http://opengameart.org
* http://www.mayang.com/textures
* http://infobrink.com/free-animated-explosion-on-transparent-background
* http://wrathgames.com/blog
* http://www.alegriphotos.com
* http://www.publicdomainpictures.net
* http://www.crazy3dsmax.com
* http://www.clker.com
* http://www.clipartsfree.net

Posted in graphics, resources | Leave a comment