Module gamelogic01
[frames] | no frames]

Module gamelogic01

source code

Base class for simple gamelogic. Subclass gameLogic01 to set custom menus, splash screen etc... passing as a parameter a gameplay class, subclassed as well to have a custom gameplay.


Author: fabius

Copyright: fabius@2010

License: GCTA give credit to (the) authors

Version: 0.1

Date: 2010-09

Contact: astelix (panda3d forums)

Status: eternal WIP

To Do: aggiungere un terzo slide oltre titologame e scores di spiega del game (o meglio metterlo in gameplay? magari per ora solo immagini) e/o fare una voce di menu' HELP

Note:

Warning: in this stuff will interact different input layers with FSM. That could be problematic so we gotta enable/disable the inputs passing fom FSM to other not FSM-driven pieces of code

Classes
  gameLogic01
  gameplaybase
To make a custom game, fist start subclassing this.
  gametitle
The game presentation class.
Variables
  ATSDown = 1
  ATSNone = 0
  ATSUNSPECIFIED = 3
  ATSUp = 2
  BlackOnWhite = 5
  CSDefault = 0
  CSInvalid = 5
  CSYupLeft = 4
  CSYupRight = 2
  CSZupLeft = 3
  CSZupRight = 1
  Dtool_PyNativeInterface = 1
  EUEof = 6
  EUErrorAbort = -1
  EUErrorFileEmpty = -2
  EUErrorFileInvalid = -3
  EUErrorHttpGatewayTimeout = -71
  EUErrorHttpProxyAuthentication = -73
  EUErrorHttpServerTimeout = -70
  EUErrorHttpServiceUnavailable = -72
  EUErrorInvalidChecksum = -4
  EUErrorNetworkBufferOverflow = -41
  EUErrorNetworkDead = -30
  EUErrorNetworkDisconnected = -32
  EUErrorNetworkDisconnectedLocally = -40
  EUErrorNetworkDiskQuotaExceeded = -42
  EUErrorNetworkNoData = -34
  EUErrorNetworkRemoteHostDisconnected = -50
  EUErrorNetworkRemoteHostDown = -51
  EUErrorNetworkRemoteHostNoResponse = -54
  EUErrorNetworkRemoteHostNotFound = -53
  EUErrorNetworkRemoteHostUnreachable = -52
  EUErrorNetworkTimeout = -33
  EUErrorNetworkUnreachable = -31
  EUErrorWriteDiskFault = -66
  EUErrorWriteDiskFull = -63
  EUErrorWriteDiskNotFound = -64
  EUErrorWriteDiskSectorNotFound = -65
  EUErrorWriteFileRename = -67
  EUErrorWriteOutOfFiles = -60
  EUErrorWriteOutOfMemory = -61
  EUErrorWriteSharingViolation = -62
  EUErrorZlib = -80
  EUHttpRedirect = 7
  EUNetworkNoData = 5
  EUOk = 2
  EUSuccess = 1
  EUWrite = 3
  EUWriteRam = 4
  HCCUT = 1
  HCFREE = 2
  HCG1 = 3
  HCSMOOTH = 4
  LNTFade = 1
  LNTPop = 0
  NSDebug = 2
  NSError = 5
  NSFatal = 6
  NSInfo = 3
  NSSpam = 1
  NSUnspecified = 0
  NSWarning = 4
  NameConfirm = 4
  PCTHPR = 2
  PCTNONE = 0
  PCTT = 3
  PCTXYZ = 1
  PTArray = 8
  PTBlob = 7
  PTClass = 10
  PTDouble = 1
  PTField = 9
  PTInt = 2
  PTInt64 = 4
  PTInvalid = 0
  PTString = 6
  PTSwitch = 11
  PTUint = 3
  PTUint64 = 5
  Plain = 1
  STBlob = 10
  STBlob32 = 11
  STChar = 19
  STFloat64 = 8
  STInt16 = 1
  STInt16array = 12
  STInt32 = 2
  STInt32array = 13
  STInt64 = 3
  STInt8 = 0
  STInt8array = 16
  STInvalid = 20
  STString = 9
  STUint16 = 5
  STUint16array = 14
  STUint32 = 6
  STUint32array = 15
  STUint32uint8array = 18
  STUint64 = 7
  STUint8 = 4
  STUint8array = 17
  SUTAdvanced = 2
  SUTBasic = 1
  SUTNone = 0
  SUTUNSPECIFIED = 3
  ScreenPrompt = 3
  ScreenTitle = 2
  TPHigh = 2
  TPLow = 0
  TPNormal = 1
  TPUrgent = 3
  __package__ = None
  directNotify = <direct.directnotify.DirectNotify.DirectNotify ...
  ivalMgr = CIntervalManager, 0 intervals.
Variables Details

directNotify

Value:
<direct.directnotify.DirectNotify.DirectNotify instance at 0x2dbd368>