Example #1
0
def _initialize():
	_fontDict["font16"] = Std.Font.load("Font16.sff")
	_fontDict["font32"] = Std.Font.load("Font32.sff")
	
	_resDict["infAreaBack"] = Std.Sprite.loadTexture("InfAreaBack.dds")
	
	_resDict["itemExtend"] = Std.Sprite.loadTexture("Item/1Up.dds")
	_resDict["itemPowerUp"] = Std.Sprite.loadTexture("Item/PowerUp.dds")
	_resDict["itemSpAttack"] = Std.Sprite.loadTexture("Item/SpAttack.dds")
	
	_resDict["explosion"] = Std.Sprite.loadTexture("Explode.dds")
	_resDict["explosion2TexList"] = loadSequenceFrame("Explosion/Explosion_", 30)
	_resDict["smokeTexList"] = loadSequenceFrame("Smoke/Smoke_", 30)
	
	_resDict["bulletRed"] = Std.Sprite.loadTexture("RedCircle.dds")
	_resDict["bulletGreen"] = Std.Sprite.loadTexture("GreenCircle.dds")
	_resDict["bulletBlue"] = Std.Sprite.loadTexture("BlueCircle.dds")
	_resDict["bulletWhite"] = Std.Sprite.loadTexture("WhiteCircle.dds")
	_resDict["bulletPurple"] = Std.Sprite.loadTexture("PurpleCircle.dds")
	
	_resDict["bulletDamagedEffect"] = Std.Sprite.loadTexture("BulletDamagedEffect.dds")
	
	_resDict["hpGauge"] = Std.Sprite.loadTexture("HPGauge.dds")
	
	global _init
	_init = True
Example #2
0
	def __init__(self):
		self.shipTexture = Std.Sprite.loadTexture("MyShip/Triangle.dds")
		self.optionTexture = Std.Sprite.loadTexture("MyShip/VistaLogo.dds")
		self.spShotTexture = Std.Sprite.loadTexture("MyShip/SpShot.dds")
		self.spShortShotTexture = Std.Sprite.loadTexture("MyShip/SpShortShot.dds")
		self.spBeginTextureList = loadSequenceFrame("MyShip/SpBegin/SpBegin_", 60, False)
		self.spFinishTextureList = loadSequenceFrame("MyShip/SpFinish/SpFinish_", 60, False)
		self.spFinishingTextureList = loadSequenceFrame("MyShip/SpFinishing/SpFinishing_", 60, False)
		self.spGaugeTextureList = loadSequenceFrame("MyShip/SpGauge/SpGauge_", 480, False)