项目作者: SirGnip

项目描述 :
Example games created with the Python arcade library (https://github.com/pvcraven/arcade)
高级语言: Python
项目地址: git://github.com/SirGnip/arcade_examples.git
创建时间: 2019-01-28T17:54:55Z
项目社区:https://github.com/SirGnip/arcade_examples

开源协议:

下载


arcade_examples

Example games created with the Python Arcade library, a 2D game engine for Python.

Code included in this repo

  • flapping“: A local multiplyer game that supports 2-10 players. See details below.
  • dual_stick_shooter“: tech demo for single player dual-analog stick shooter
  • gnp.arcadelib“: Basic utilities for use with the Arcade library.
  • Minimal examples of arcade library:

“Flapping” Game

This is a work in progress. Gameplay is simple, but playable. This is a local multiplayer
game that supports 2-10 players on one computer. Players flap their wings to make sure they have a higher
position when they collide with opponents. Similar to the classic game “Joust.”

Features

  • Local multiplayer: 2-10 local players on one computer
  • Input:
    • One keyboard can support Multiple players
    • Game can use almost any USB gamepad/joystick

Installation

  1. pip install git+https://github.com/SirGnip/arcade_examples.git
  2. python -m flapping.flap_app

Playing with a large number of players

Screen:

  • With lots of players, it helps to have a larger screen. Run the game from a laptop and use an HDMI cable to plug it into a large-screen TV!

Input:

  • crowd people around one keyboard (game supports multiple people using one keyboard)
    • When more than 2 or 3 players are sharing the keyboard for their input (which is completely possible and a lot of fun!), you need to be aware of the “multi-key rollover#Multi-key_rollover)” limitations of your specific keyboard.
  • plug a second keyboard into your computer
  • plug multiple USB gamepads into a USB hub

Hits