pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Ransack

Ransack - 0.75

Dan Allen (deadmaker7)

Tags:

Description

Ransack - a Python based roguelike

In beta stage at the moment. Our hero can explore the levels, collect items, fight monsters, and interact with the townspeople.

Coming soon: Ransack for Android. I've gotten it to run on an Android emulator using Pygame Subset for Android, there's still a mountain of issues to work out, but I'll keep all updates posted here.

Move with arrow keys. Monsters are found in the dungeon. Approach a monster and press Enter to commence battle, the monsters can also initiate battle

Enter is the "action" button, which activates sundry items on the map, including conversing with people in the village or castle.

'c' brings up spell menu and

'i' brings up item inventory.

'a'/'w' brings up armor/weapon menu. Select a weapon/armor from here and it will be automatically equipped. If it is currently equipped, it will not be listed in the weapon or armor menu.

'm' brings up mini-map which displays current level.

's' shows character stats.

't' takes a screenshot.

The game begins in the 'village'. Currently the village has an item shop, magic shop, tavern, blacksmith, and armory. You can save your game but only at the Inn/Tavern which is the three story building.

The plot is currently very simple - visit the King in the castle, then venture into the dungeon and try to defeat the Skeleton King in his fortress.

On venturing into the dungeon, new levels are automatically generated. Each dungeon has a key which unlocks the door to the next stairs down. Try to find the 'secret' dungeon rooms (hint: look at the minimap) Stairs lead hero to the next or previous level. If next level has not been visited yet, it will be generated automatically. The game culminates in a fortress section with a boss. The fortress begins at level 10.

A basic level editor is included. Click the pencil for draw mode and the hand for select mode. In select mode, select a region and move it around the screen. In draw mode, Use 't' to select tiles or select with mouse, move with arrow keys and space bar or point and click to place tiles, and 'd' to toggle draw mode. If you place the door to a shop it will ask you for the level and then draw the entire shop at that location. 's' saves a map and 'l' loads. 'f' flood fills the map with currently selected tile beginning at the location of the cursor. 'g' generates a random map with specified number of rooms. Enter 0 rooms for a maze instead. Click the red square to place non-player characters. The types currently implemented are 'guard', 'female' and 'skeleton' You will then be prompted for a message. 'x' will delete the NPC currently in the cursor. . There are cut/copy paste buttons but I haven't implemented them yet. Note that setting rooms too high may cause the generator to hang if the map is not big enough.

I have created all the artwork for the game, at this point it's quite rudimentary but it will be expanded as the project continues.

Uses sprite sheet code from www.scriptefun.com/transcript-2-using-sprite-sheets-and-drawing-the-background

The level editor uses EzText courtest of pywiz32 - http://www.pygame.org/project-EzText-920-.html The random map generator algorithm is based on the description written here (the actual code is my own):

http://breinygames.blogspot.com/2011/07/random-map-generation.html

The randome maze generator algorithm is taken from the following source:

http://en.wikipedia.org/wiki/Maze_generation_algorithm

The fonts used ingame are: Spinal Tap (http://www.rockbandfonts.com/), Devinne Swash, by Dieter Steffmann. http://www.fontspace.com/dieter-steffmann/devinne-swash Chancery Gothic and Courier.

As a side note, this project is turning into more of an RPG with roguelike features. Rogue purists may sneer :-P but I look forward to seeing what happens with this thing and I hope you do too.

Changes

Wed Aug 8 16:59:04 2012 -0400
fixed minimap

Wed Aug 8 16:39:53 2012 -0400
Added: magic shop, numerous artwork updates, new levels.

Mon Aug 6 13:06:25 2012 -0400
Cleaning up and reorganizing repo.

Sun Aug 5 05:36:11 2012 -0400
added: several files I forgot

Sun Aug 5 05:30:48 2012 -0400
Added: ticker module to keep track of time elapsed (in-game)

Sat Aug 4 01:57:47 2012 -0400
Including font files. Currently only works for Linux, will fix soon.

Fri Aug 3 20:43:04 2012 -0400
Added load/save feature, some more monster scripts for dungeon written. Interface artwork updates.

Links

Home Page: http://www.pygame.org/
Source: https://github.com/dsallen7/ransack-python

Screenshot


click to view original size

Releases

Ransack - 1.0 - Sep 29, 2012
Ransack - 0.75 - Aug 8, 2012
Ransack - 0.5 - Jul 17, 2012
Ransack - 0.1 - Jul 6, 2012

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

August 14, 2012 12:35pm - Xandar Kablandar - nickname: (eternalcheesecake)
Neat!
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Aug 21, 2014


Aug 19, 2014

Aug 18, 2014

Aug 2, 2014


Jul 28, 2014

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)