Skip to main content

Utilities and tools for things related to Dragon City

Project description

Soon to be documented, enjoy for now and install to discover the tools

Download static files

Sprites

Dragon sprite

from dcutils.static.sprites import DragonSprite

dragon_sprite = DragonSprite(
    image_name="1000_dragon_nature",
    phase=3,
    skin=1,
    image_quality=2
)

dragon_sprite.download("dragon_nature_sprite.png")

Dragon thumb

from dcutils.static.sprites import DragonThumb

dragon_thumb = DragonThumb(
    image_name="1000_dragon_nature",
    phase=3,
    skin=1
)

dragon_thumb.download("dragon_nature_thumb.png")

Animations

Dragon Animation (Flash Animation)

from dcutils.static.animations import DragonSpineAnimation

dragon_flash_animation = DragonFlashAnimation(
    image_name="1000_dragon_nature",
    phase=3,
    skin=1
)

dragon_flash_animation.download("drago_nature_flash_animation.swf")

Dragon Animation (Spine Animation)

from dcutils.static.animations import DragonSpineAnimation

dragon_spine_animation = DragonSpineAnimation(
    image_name="1000_dragon_nature",
    phase=3,
    skin=1
)

dragon_spine_animation.download("dragon_spine_animation.zip")

Island packages

from dcutils.static.islands import IslandPackage

island_package = IslandPackage("/mobile/ui/heroicraces_islands/hr_71_heroicorigins.zip")

island_package.download("island_package.zip")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dragon-city-utils-1.2.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page