| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # jogai - Python Game Library
- #
- # This library is free software; you can redistribute it and/or
- # modify it under the terms of the GNU Library General Public
- # License as published by the Free Software Foundation; either
- # version 2 of the License, or (at your option) any later version.
- #
- # This library is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- # Library General Public License for more details.
- #
- # You should have received a copy of the GNU Library General Public
- # License along with this library; if not, write to the Free
- # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- #
- # Ramón Palleiro Rodríguez
- # Zero! Factorial Studio
- # info@zero.gal
- from os.path import join
- import pygame
- from jogai.settings import settings
- from jogai.utils import _load_yaml_from_filename
- _clock = pygame.time.Clock()
- character_focus = None
- _events = []
- _keys = []
- _window = None
- _gravity = 0
- marks = None
- mark_font = None
- vg_title = 'Jogai'
- vg_scene = None
- vg_attributes = {}
- vg_characters = []
- vg_chronometers = []
- vg_groups = []
- vg_levelbars = []
- vg_scoreboards = []
- vg_texts = []
- visible_inventory = None
- environments = {}
- current_environment = ''
|