0 Members and 4 Guests are viewing this topic.
Ah that's cool to hear. Also glad to hear that the language could possibly support such game. I was more concerned about the speed, though, with smooth scrolling, physics, etc.
GOSUB @IWIN:'Generates and init the window list.R1=X:'The variables will be renamedR2=YR3=WR4=HR5$="Title"R6$="@DRWCONTENT" :'COntent Drawing RoutineR7$="@UPDCONTENT" :'That routine will be run only if the window has the focusGOSUB @AWIN :'Generated window and put it in the list.WFCS = 0:'Automatically init, this is the focus index. Here the window#0 has the focus.GOSUB @DWALL :'Draw all the windows, and the focused on the topWIN = 0 :'Window selector variableGOSUB @DWIN :'Draw only the #WIN window.GOSUB @WUPD :'Run the routine of the focused window, if it has one.GOSUB @DELWIN :'Deletes the #WIN window.
Oh wow... that just made my day. I knew that raycasting was possible but I didn't know that a game like Minecraft would be as well. By the way nice to see you around on Omni That reminds me, has anyone tried parallax scrolling yet? I wonder if a game like Supersonic Ball would be possible in Petit Computer?