Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game_map.py
Commit message (Collapse)AuthorAgeFilesLines
* Draw the room name in the doorsGonzalo Odiard2012-02-261-4/+23
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Edit name of roomsGonzalo Odiard2012-02-251-0/+9
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add / delete and position of furniture in the mapGonzalo Odiard2012-02-211-0/+9
| | | | | | | The x,y posittion in the wall is in pixels, then is not resolution independent we need change it to be in porcentage of the width / height Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Start the functionality of adding furniture to the mapGonzalo Odiard2012-02-211-0/+22
| | | | | | | This patch only add the image to the map and the data structures, but does not modifiy the size or position of the images. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Move the information of the doors in the walls to another array.Gonzalo Odiard2012-02-211-43/+49
| | | | | | | | | | The doors have different properties than the other objects attached to the walls. The doors are present at the two sides of the wall, and the position is fixed. I have moved the doors to a 'doors' array, and the 'objects' array will be loaded with the other objects. I think the code will be simpler in this way. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add window to edit the map in the activity.Gonzalo Odiard2012-02-131-1/+7
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Fix testing methodsGonzalo Odiard2012-02-071-2/+2
|
* Move the wall colors to the dictionaries of evewry room.Gonzalo Odiard2012-02-071-18/+11
| | | | | | | The idea is put al the info related to the room in this dictionary, like the name, other colors, etc. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add wall colorsManuel QuiƱones2012-02-061-0/+18
| | | | Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
* Add a class to test basic navigation in the mapGonzalo Odiard2012-02-061-13/+27
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add a object to show a top view of the mapGonzalo Odiard2012-01-311-8/+5
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add a class to implement a game mapGonzalo Odiard2011-11-291-0/+242
The class have the data to a basic map (we can add others later) and basic methods to support navigation across the map. A simple test is provided in the same file. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>