Ignore:
Timestamp:
09/03/13 17:31:28 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

Output coordinates from the level editor, to help place things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r167 r184  
    233233
    234234    def mouse_down(self, ev):
     235        if ev.button == 1:
     236            print "Click: %r" % (self._level_coordinates(ev.pos),)
    235237        if ev.button == 4:  # Scroll up
    236238            self._move_view((0, -10))
Note: See TracChangeset for help on using the changeset viewer.