Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/f/i/First-RPG-HEAD/levels.py   First-RPG(Download)
            player.set_attack_effect(player_attack_effect)
 
            npc_1 = classes.Moving_Sprite(TALL_SPRITE_CACHE['npc_1_sprite_sheet.png'], (7,9), index_direction['right'], 5, 0, 'npc', 1, collision_cache, level_cache)
            npc_1_shadow = classes.Shadow(npc_1, SHORT_SPRITE_CACHE)
            npc_2 = classes.Moving_Sprite(TALL_SPRITE_CACHE['npc_2_sprite_sheet.png'], (10,10), index_direction['left'], 5, 0, 'npc', 2, collision_cache, level_cache)
            npc_2_shadow = classes.Shadow(npc_2, SHORT_SPRITE_CACHE)
            npc_3 = classes.Moving_Sprite(TALL_SPRITE_CACHE['npc_1_sprite_sheet.png'], (12,10), index_direction['up'], 5, 0, 'npc', 3, collision_cache, level_cache)
            npc_3_shadow = classes.Shadow(npc_3, SHORT_SPRITE_CACHE)
            ball_1 = classes.Moving_Sprite(SHORT_SPRITE_CACHE['ball_1_sprite_sheet.png'], (5,4), index_direction['right'], 5, 1, 'object', 1, collision_cache, level_cache)
            player = classes.Player_Sprite(TALL_SPRITE_CACHE['player_1_sprite_sheet.png'], start_position, index_direction['up'], 5, 0, 'player', 1, collision_cache, level_cache, event_map)
            player_shadow = classes.Shadow(player, SHORT_SPRITE_CACHE)
            npc_1 = classes.Moving_Sprite(TALL_SPRITE_CACHE['npc_1_sprite_sheet.png'], (12,18), index_direction['down'], 5, 0, 'npc', 1, collision_cache, level_cache, 0)
            npc_1_shadow = classes.Shadow(npc_1, SHORT_SPRITE_CACHE)
            chest_1 = classes.Static_Sprite(SHORT_SPRITE_CACHE['wood_chest_sprite_sheet.png'], (6,6), index_direction['right'], 5, 0, 'chest', 1, collision_cache)