Skip to main content

pyvida

Features

  • cross platform - windows, mac and linux
  • open source
  • clean scripting language (python) allows full control of actors and menu
  • in-game scene editor (linux only)
  • unlimited scenes and actors
  • actors have unlimited animations
  • full logging for errors, warning and debug
  • smart loading for handling art assets so you can concentrate of your plotting
  • menus and inventories built in
  • fully scriptable menus
  • easily switch between playable characters
  • supports any image and sound formats supported by SDL (we recommend PNG for images and OGG for sound)
  • supports any screen size
  • supports any colour depth
  • alpha blending on graphics
  • walkareas, hotspots, walk behinds, etc

Installation

Windows

TBA

Mac OS

TBA

Linux

python setup.py install

Dependencies

  • pyglet 1.2a or above
  • pygame (for music and sound)
  • python 3.3+

Currently testing on pyglet 1.3. To install use: pip install --upgrade https://bitbucket.org/pyglet/pyglet/get/tip.zip#egg=pyglet-1.3.0

Writing a game in pyvida

Please refer to the documentation in pyvida/docs

Empty Project

    app = Game(name="basic project", fullscreen=False)
    app.init()  # initialise sound and graphics
    app.run()  # start the event loop

Game with one scene

    app = Game(name="basic project", fullscreen=False)

    scene = Scene("main interface")
    app.add(scene)
    app.camera.scene(scene)  # set the camera to the scene

    app.init()  # initialise sound and graphics
    app.run()  # start the event loop

Developer

You can contribute to pyvida by cloning the github repository.

To make a scripting event, on your class add a:

def on_(self) method. self.busy += 1 # to make the event block the next event for that actor self.game._waiting = True # to make the event block all other events in the game.

Tests

Run the tests: python3 tests.py

Metadata

Release files for pyvida 6.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyvida 6.1.4
File Size Uploaded
pyvida-6.1.4.tar.gz 128.3 kB Details

Release files / pyvida-6.1.4.tar.gz

Download URL pyvida-6.1.4.tar.gz
Size 128.3 kB
Tags Source
SHA-256 checksum
How to use checksums
68d362a14593411b40dd9168ca068d6190c0d57dab8a285619f1d6ca1530a69c
BLAKE2b-256 checksum
How to use checksums
2e9a46a1ddb12c9fe25402e6cee79fff6f46cbabf03575b8cffda186ace8cf70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

Release history Release notifications | RSS feed

7.0.2

1 release file

7.0.1

1 release file

7.0.0

1 release file

6.2.0

1 release file

6.1.7

1 release file

6.1.6

1 release file

6.1.5

1 release file

This release

6.1.4 This release

1 release file

6.1.3

1 release file

6.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page