Beispiel #1
0
        white.tex_coords = ((f[0] + t[0]) / 2, (f[1] + t[1]) / 2, 0) * 4
        return white


resource = Resource(respath, [
    bgm('bgm_hall'),

    texture('bg_login'),
    texture('bg_gamehall'),
    texture('bg_ingame'),
    texture('worldmap'),
    texture('bg_gamelist'),
    texture('bg_eventsbox'),
    texture('bg_chatbox'),

    img('imagesel_shine'),

    anim('actor_frame', [50] * 9, True),
    anim('turn_frame', [50] * 9, True),

    texture('ray'),

    subdir('pbar', [img(i) for i in [
        'bl', 'bm', 'br',
        'bfl', 'bfm', 'bfr',
        'sl', 'sm', 'sr',
        'sfl', 'sfm', 'sfr',
    ]]),

    subdir('buttons', [
        [
Beispiel #2
0
        return white


resource = Resource(respath, [
    bgm('bgm_hall'),

    lazytexture('bg_login'),
    lazytexture('bg_gamehall'),
    lazytexture('bg_ingame'),
    lazytexture('worldmap'),
    lazytexture('worldmap_shadow'),
    lazytexture('bg_gamelist'),
    lazytexture('bg_eventsbox'),
    lazytexture('bg_chatbox'),

    img('imagesel_shine'),
    imgdata('icon'),

    img('speaker'),
    img('speaker_off'),

    anim('actor_frame', [50] * 9, True),
    anim('turn_frame', [50] * 9, True),

    texture('ray'),

    subdir('pbar', [img(i) for i in [
        'bl', 'bm', 'br',
        'bfl', 'bfm', 'bfr',
        'sl', 'sm', 'sr',
        'sfl', 'sfm', 'sfr',
Beispiel #3
0
class ui_meta(_ResourceDesc):
    __slots__ = ('name', )

    def load(self, loader):
        import gamepack.thb.ui.ui_meta  # noqa


resource = Resource(respath, [
    bgm('bgm_game'),

    [img_with_grayed('thblogo_' + i) for i in [
        '3v3', '8id', '5id', 'kof', 'raid', 'faith',
    ]],

    img('win'), img('lose'),
    anim('hurt', [50, 50, 50, 50, 200, 30, 30, 30, 30, 2000]),

    [img('card_' + i, 'card') for i in [
        'shinesoft', 'hidden', 'question', 'showncardtag',

        'attack', 'graze', 'heal', 'demolition', 'reject', 'sealarray',
        'nazrinrod', 'opticalcloak', 'greenufo', 'redufo', 'sinsack',
        'yukaridimension', 'duel', 'sinsackcarnival', 'mapcannon',
        'hakurouken', 'reactor', 'umbrella', 'roukanken', 'gungnir',
        'laevatein', 'repentancestick', 'wine', 'feast',
        'harvest', 'maidencostume', 'exinwan', 'ibukigourd', 'houraijewel',
        'saigyoubranch', 'ayaroundfan',
        'scarletrhapsodysword', 'deathsickle', 'keystone', 'witchbroom',
        'yinyangorb', 'suwakohat', 'phantom', 'icewing', 'grimoire',
        'dollcontrol', 'donationbox', 'frozenfrog', 'nenshaphone',