Science-fiction first person dungeon crawler involving hacking in cyberspace and stuff.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
hz-so-good/main.py

32 lines
858 B

import sys
from panda3d.core import CardMaker
from panda3d.core import LineSegs
from panda3d.core import loadPrcFile
from direct.showbase.ShowBase import ShowBase
from direct.showbase.Transitions import Transitions
from keybindings.device_listener import add_device_listener
from keybindings.device_listener import SinglePlayerAssigner
from game import Game
from game.sequenceplayer import SequencePlayer
from game.gui import HUD
loadPrcFile("config.prc")
base = ShowBase()
add_device_listener(assigner=SinglePlayerAssigner())
base.win.set_clear_color((0,0,0,1))
base.turn_speed = 0.35
base.card_maker= CardMaker('card')
base.card_maker.set_frame(-0.5,0.5,0,1)
base.line_segs = LineSegs('lines')
base.line_segs.set_thickness(2)
base.transition = Transitions(loader)
base.sequence_player = SequencePlayer()
base.focus = []
base.game = Game()
base.run()