Jump to content

My file Main in lua.


Yue
 Share

Recommended Posts

--################################################
--## Proyecto 	: 	Pawn.
--## Sitio Web 	: 	https://www.iris3dgames.xyz
--## Fichero 	: 	Main.lua
--## Scripter   : 	Yue Rexie.
--################################################
--## Notas		: Fichero principal de entrada
--##			  al programa en Script Lua.
--################################################





--## Class.
import "Scripts/Class/App.lua"
import "Scripts/Class/Menu.lua" 


--## New Object App.
local myApp = App:New("Pawn 0.0 | Alpha")
myApp:InitGraphics(800,600)
myApp:LoadMap("start")


--## New Object Menu.
local myMenu = Menu:New()
myMenu:CreateGUI()

while myApp:Exit() == false do
	
	
	myApp:UpdateWorld()

end

:D
 

The question is, those objects are removed on their own at the end of the program?
 

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...