Changeset 184:e003b994c48b


Ignore:
Timestamp:
Sep 3, 2013, 5:31:28 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
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.