[NOREAD] This is a sample file for running something in this app ======================================================================================= {=} is required after any command, this signals end of a command and start of parameters. DO LOOP EXIT ======================================================================================= ======================================================================================= Load_Image [Filename, Image Number][Filename, Image Number, Texture Flag] This will load an image into memory using the specified file and image number. ======================================================================================= ======================================================================================= Paste_Image [Image Number, X, Y][Image Number, X, Y, Transparency] This will paste an image to the screen using the specified coordinates and image number. ======================================================================================= ======================================================================================= Load_Music [Filename, Music Number] This will load music into memory using the specified file and music number. ======================================================================================= ======================================================================================= Loop_Music [Music Number] This will loop and play the selected music number ======================================================================================= ======================================================================================= Play_Music [Music Number] This will play the selected music number ======================================================================================= ======================================================================================= Stop_Music [Music Number] This will stop the selected music number ======================================================================================= ======================================================================================= Print STRING This will display text to the screen. ======================================================================================= ======================================================================================= Text X,Y,STRING This will display text to the screen at the specified coordinates. ======================================================================================= ======================================================================================= Cls This will clear the screen using the current background ink ======================================================================================= ======================================================================================= Wait_Key This pauses the program until the next key is pressed. ======================================================================================= /* *\ A wierd code... No point to it really but the same thing can be achieved in DBP Same amount of lines... Why I made this? I dont know.. Not much can be made at the moment with it, but hopefully in the future if I work on it more then just this day you can make a simple game with it xD \* */ [ENDNOREAD] [RUN_CODE] Make_Dynamic_VAR{=}E KEY,Keystate,18 Make_Dynamic_VAR{=}ENTER KEY,Keystate,28 Make_Dynamic_VAR{=}SPACE KEY,Keystate,57 Make_Dynamic_VAR{=}TIMER,Timer Make_Dynamic_VAR{=}FPS,Screen_FPS Make_Dynamic_VAR{=}X,Random,400,450 Make_Dynamic_VAR{=}Y,Random,350,400 Sync_On{=} Sync_Rate{=}0 Sync{=} Load_Image{=}TEST.JPG,1 Load_Image{=}REGREN.BMP,2 Load_Music{=}TEST.MP3,1 Print{=}Image and Music loaded into memory press any key to continue! Sync{=} Wait_Key{=} Cls{=} Paste_Image{=}1,100,0 Text{=}100,0,Currently showing an Image! :D - REGREN Sync{=} Wait_Key{=} Cls{=} Loop_Music{=}1 Do{=} Cls{=} Text{=}0,0,Currently looping Frames Per Second: [VAR]FPS Text{=}0,15,Timer: [VAR]TIMER Text{=}0,30,Enter Key Press: [VAR]ENTER KEY Text{=}0,45,Space Key Press: [VAR]SPACE KEY Text{=}0,90,X Random Number: [VAR]X Text{=}0,105,Y Random Number: [VAR]Y Text{=}0,120,Escape key is disabled press the "E" key if you want to close this Text{=}0,135,This same type of code will be used for the particle system in Dream Engine If{=}ENTER KEY(=)1 Text{=}0,60,ENTER KEY WAS PRESSED! Paste_Image{=}1,100,0 Endif{=} If{=}SPACE KEY(=)1 Text{=}0,75,SPACE KEY WAS PRESSED! Paste_Image{=}2,400,350 Endif{=} If{=}SPACE KEY(=)0 Paste_Image{=}2,[VAR]X,[VAR]Y Endif{=} If{=}E KEY(=)1 EXIT{=} Endif{=} Sync{=} Loop{=} [END_CODE] Paste_Image{=}2,220,350