Package pajammin :: Package display :: Package sprite :: Module platforms
[show private | hide private]
[frames | no frames]

Module pajammin.display.sprite.platforms

Sprite categories for platforms.
Function Summary
  add_platform_category(name, imagefile, tile_size, num_tiles)
A platform sprite category has 3 modes: left, middle, and right.

Variable Summary
list platform_categories = ['GrassPlatform', 'SmoothBluePlatf...
list PLATFORMS = [('GrassPlatform', 'environ/plat0.gif', (30,...

Function Details

add_platform_category(name, imagefile, tile_size, num_tiles)

A platform sprite category has 3 modes: left, middle, and right. The middle mode may have multiple frames.

Variable Details

platform_categories

Type:
list
Value:
['GrassPlatform',
 'SmoothBluePlatform',
 'SmoothTealPlatform',
 'SmoothPinkPlatform',
 'SmoothRedPlatform',
 'DarkDirtPlatform',
 'SurrealPlatform',
 'SandyPlatform',
...                                                                    

PLATFORMS

Type:
list
Value:
[('GrassPlatform', 'environ/plat0.gif', (30, 20), 5),
 ('SmoothBluePlatform', 'environ/plat1.gif', (30, 20), 3),
 ('SmoothTealPlatform', 'environ/plat2.gif', (30, 20), 3),
 ('SmoothPinkPlatform', 'environ/plat3.gif', (30, 20), 3),
 ('SmoothRedPlatform', 'environ/plat4.gif', (30, 20), 3),
 ('DarkDirtPlatform', 'environ/plat5.gif', (30, 20), 3),
 ('SurrealPlatform', 'environ/plat6.gif', (30, 20), 5),
 ('SandyPlatform', 'environ/plat7.gif', (30, 20), 5),
...