Yue Posted September 18, 2020 Posted September 18, 2020 --##=========================================================## --## Proyecto : Mars. --## Fichero : CMenuStart.lua --## Scripter : Yue Rexie. --## Web : www.iris3dgames.xyz --## Notas : Clase de objeto MenuStart. --##==========================================================# CMenuStart = {} function CMenuStart:Create(GUI) local this = {} this.imgPanel = nil this.gPanel = nil this.btnStart = nil this.btnOptions = nil this.btnExit = nil this.base = nil this.imgMars = nil function this:Start(GUI) self.base = GUI:GetBase() self.imgMars = GUI:LoadImage("Materials/Images/Marte.tex") end this:Start(GUI) function this:Draw() self.imgPanel = Widget:Panel(0,0,200,200,self.base ) self.imgPanel:SetBool("border",false) self.imgPanel:SetImage(self.imgMars) end System:Print(">>>Creating Menu Start... Ok!<<<") return ( this ) end Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.