Artificial intelligence/templates/examples/rts/rpg/strategy ect. in MonkeyX/CerberusX language. You can download the free version of MonkeyX from itch.io or Cerberus-x.com The Flash applets will stop working in around 2020.
Below some code that shows you how to do DeviceWidth and DeviceHeight and Millisecs and Date.
Code below :
Import mojo Class MyGame Extends App Method OnCreate() SetUpdateRate(60) End Method Method OnUpdate() End Method Method OnRender() Local date:=GetDate() Cls(0,0,0) SetColor(255,255,255) DrawText "Millisecs command, milliseconds from start of app : "+Millisecs,10,10 DrawText "DeviceWidth and DeviceHeight command : "+DeviceWidth +","+DeviceHeight,10,20 DrawText "Date Year :"+date[0]+" Month :"+date[1]+" Day:"+date[2],10,30 End End Function Main() New MyGame() End
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.