The Pycadia project is a collection of vector arcade games written in Python
using the excellent pygame libraries. Current games are: SpaceWarpy is a conversion of the original classic game Spacewar!. Vektoroids is loosely based on the arcade classic Asteroids. WWW: http://www.anti-particle.com/old/pycadia.shtml PR: ports/168113 Submitted by: nemysis@gmx.ch
This commit is contained in:
parent
7542dc0648
commit
c9e751cc55
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301186
@ -707,6 +707,7 @@
|
||||
SUBDIR += py-sgfsummary
|
||||
SUBDIR += py-ski
|
||||
SUBDIR += pyawale
|
||||
SUBDIR += pycadia
|
||||
SUBDIR += pyching
|
||||
SUBDIR += pydance
|
||||
SUBDIR += pykawari
|
||||
|
55
games/pycadia/Makefile
Normal file
55
games/pycadia/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# New Ports collection makefile for: Pycadia
|
||||
# Date created: 2012-05-09
|
||||
# Whom: nemysis@gmx.ch
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pycadia
|
||||
PORTVERSION= 0.5.1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_GENTOO:S/%SUBDIR%/distfiles/}
|
||||
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
COMMENT= Home to vector gaming, Python style
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
|
||||
${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USE_PYTHON= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= bin/pycadia \
|
||||
share/pixmaps/pycadia.png
|
||||
|
||||
PORTDATA= *
|
||||
PORTDOCS= CHANGELOG INSTALL README TODO gravity.txt
|
||||
|
||||
do-install:
|
||||
# Scripts
|
||||
@${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\
|
||||
./${PORTNAME}.py\n" > ${WRKDIR}/${PORTNAME}.sh
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
# Data
|
||||
.if !defined (NOPORTDATA)
|
||||
${MKDIR} ${DATADIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "glade pixmaps sounds *.*" ${DATADIR})
|
||||
@(cd ${DATADIR} && ${CHMOD} 755 pycadia.py spacewarpy.py vektoroids.py)
|
||||
${INSTALL_DATA} ${FILESDIR}/pycadia.conf ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/logo1.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
.endif
|
||||
|
||||
# Documentation
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
. for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/pycadia/distinfo
Normal file
2
games/pycadia/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (pycadia-0.5.1.tar.gz) = c872e4aede8cd04773327308b38b7e85b06aa370facee1c7b912d9ea938f67b5
|
||||
SIZE (pycadia-0.5.1.tar.gz) = 2768619
|
56
games/pycadia/files/pycadia.conf
Normal file
56
games/pycadia/files/pycadia.conf
Normal file
@ -0,0 +1,56 @@
|
||||
[player2]
|
||||
key_fire = 114
|
||||
name = Player 2
|
||||
joy_left = ['axis', 0, -1]
|
||||
joy_right = ['axis', 0, 1]
|
||||
joy_fire = ['button', 1, 1]
|
||||
key_hyper = 100
|
||||
key_left = 97
|
||||
key_thrust = 101
|
||||
joy_hyper = ['button', 2, 1]
|
||||
joy_thrust = ['button', 0, 1]
|
||||
key_right = 115
|
||||
joy_id = -1
|
||||
|
||||
[player1]
|
||||
key_fire = 305
|
||||
name = Player 1
|
||||
joy_left = ['axis', 0, -1]
|
||||
joy_right = ['axis', 0, 1]
|
||||
joy_fire = ['button', 0, 1]
|
||||
key_right = 275
|
||||
key_left = 276
|
||||
key_thrust = 273
|
||||
joy_id = -1
|
||||
joy_thrust = ['button', 2, 1]
|
||||
key_hyper = 274
|
||||
joy_hyper = ['button', 1, 1]
|
||||
|
||||
[spacewarpy]
|
||||
asteroid_delay = 15
|
||||
player_lives = 5
|
||||
shot_life = 1.25
|
||||
max_shots = 4
|
||||
asteroid_destroy = 5
|
||||
gravity = 2.0
|
||||
|
||||
[pycadia]
|
||||
last_game = vektoroids
|
||||
tab_position = 0
|
||||
|
||||
[vektoroids]
|
||||
#player_lives = 3
|
||||
player_lives = 5
|
||||
asteroid_wave = 3
|
||||
max_shots = 3
|
||||
#shot_life = 0.5
|
||||
shot_life = 1.25
|
||||
asteroid_destroy = 1
|
||||
|
||||
[display]
|
||||
fullscreen = 0
|
||||
screensize_x = 800
|
||||
screensize_y = 600
|
||||
screensize_pos = 2
|
||||
target_fps = 40
|
||||
|
9
games/pycadia/pkg-descr
Normal file
9
games/pycadia/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
The Pycadia project is a collection of vector arcade games written in Python
|
||||
using the excellent pygame libraries.
|
||||
|
||||
Current games are:
|
||||
|
||||
SpaceWarpy is a conversion of the original classic game Spacewar!.
|
||||
Vektoroids is loosely based on the arcade classic Asteroids.
|
||||
|
||||
WWW: http://www.anti-particle.com/old/pycadia.shtml
|
Loading…
Reference in New Issue
Block a user