hi . why i cannot run this code ?!?! Read only video_mode
#include <acknex.h> #include <default.c>
function main() { video_mode = 6; // create a program window of 640x480 pixels vec_set(screen_color, vector(255, 100, 100)); // make the background color blue }
Tested with A7.07.5 (Lite-C) and works without problem. But you don't really need to set video_mode=6; though. 640x480 is default resolution already. You could use video_set from there to change to a higher resolution.
Re: why i cannot run this code ?!?!
[Re: D3D]
#183886 02/14/0822:0702/14/0822:07