PtokaX forum

Stuff => Offtopic => Topic started by: Dreamspaced on 05 September, 2005, 11:54:28

Title: The 360 Game Creator (Lua based)
Post by: Dreamspaced on 05 September, 2005, 11:54:28
The 360 Game creator is a next gen 2d engine, a.i engine, map editor, 2d fragment shader engine etc game ide for developing next gen 2d games.
It is wrote and compiled to machine code for win/mac/linux, and but it is used exclusively through lua scripts.

Visit the site for screenshots and how to get it,
http://www.dreamspaced.com

Example script,

CreateDisplay(640,480,16,1,"Silent Shadows")

Map = LoadMap( "Maps/SilentShadows/Forge/Area1.Map" )

ScaleMap( 1.0 )
LockMouse(1)

player = LoadAgent("Character/Jake","Jake")
Grd = LoadAgent("Character/Jake","Robo")

AgentControl(player,1)
AgentControl(Grd,2)

PlaceAgent( player,"cargo",1)
PlaceAgent( Grd,"Storage",1)
MapFollow( player )

Ab=0

while KeyEsc() ==0 do
ClearDisplay()
UpdateMouse()
UpdateAgents()
UpdateAudio()

RenderMap()
SwapDisplay()
end


It adds hundreds of new functions to lua, including such features as lua script function calling.


function create (name)

 agent = CreateAgent("Jake")
 AgentName( agent,name )
 AgentAnim( agent,"Character/Jake/Anima")
 beat = CallFunction("scripts/sounders/heartbeats","human",1)
 AgentSounder( agent,beat )
 AgentAudioOn( agent )
 return (agent)

end


CallFunction is a function exposed to lua by the 360 game creator runtime, and automatically caches any scripts loaded, so you can safely call a function in a loop without worrying about disk access slowing things down.

You can use the engine's numerous subsets, like the map engine, editor, formats, unified per pixel glsl shader engine, lightmapper, or you can discard the more high level stuff and just use the custom drawing functions and code your own logic, engines.

It's basically Lua++ if you want it to be. You can also spawn threads easily in ula on the windows versions.
Title:
Post by: Psycho_Chihuahua on 05 September, 2005, 16:41:08
nice idea, but i don't like the commercial part of it. I'm not paying for such things as i need to watch my budget anyhows.

Btw: I don't use compiled scripts  :D  (as i don't learn anything from them)