yue
New Member
Posts: 4
|
Post by yue on Aug 19, 2019 1:13:36 GMT
Well, again another site move from the old BlitzBasic community. The time has passed very quickly and I will put here what I am currently doing to kill time, I hope not to bother anyone. I have taken up my project of a simple video game engine created in BlitzMax NG, with which the end user can create 3D scenes interacting with Lua Script. unction StartApp()
App.SetTitle("Game x.x")
--App.CreateWindow(1024,768)
end
function SpawnApp()
--App.PhysicsDebugStart()
self.camera = Camera.Create()
self.camera.SetPosition(0,0,-10)
self.cubo = Mesh.CreateCube()
self.cubo.SetPosition(-2,5,0)
self.cubo.AddBoxShape(1.0)
self.cubo.SetScale(0.3,1,0.3)
self.suelo = Mesh.CreateCube()
self.suelo.SetScale(2,0.2,2)
self.suelo.AddTriMeshShape()
self.suelo.SetPosition(0,-2,0)
self.sun = Light.CreateSun()
self.batman = GUI.Load("Tounge.png",1+2)
--self.batman.Free()
end
function UpdateDraw()
self.batman.Draw(300,200)
self.Draw.Rect(10,10,100,50,0)
self.Draw.Line(100,100,200,100)
self.Draw.Oval(200,200,20,20)
end
function UpdateApp()
end
|
|
yue
New Member
Posts: 4
|
Post by yue on Aug 21, 2019 19:49:48 GMT
youtu.be/JiSoWmASmhoPerforming tests of the character controller so that from Lua Script can be implemented in a game. At the moment the controller moves, and jumps. It's still time to polish certain details such as that through lua script, you can set the speed with which it runs and set the default keys of movement, in addition to others such as crouch.
|
|
yue
New Member
Posts: 4
|
Post by yue on Aug 22, 2019 3:31:48 GMT
|
|