Ignore:
Timestamp:
09/05/13 13:58:24 (8 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Protagonist actions, now required for operating doors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r279 r281  
    130130                self.protagonist.toggle_form()
    131131                self.world.transformations += 1
    132             if ev.key == pygame.locals.K_SPACE:
     132            if ev.key == pygame.locals.K_z:
    133133                self.world.attacks += 1
    134134                self.protagonist.attack()
     135            if ev.key == pygame.locals.K_SPACE:
     136                self.protagonist.perform_action()
    135137        elif DoorEvent.matches(ev):
    136138            self.protagonist.set_position(ev.dest_pos)
Note: See TracChangeset for help on using the changeset viewer.