Project Prometheus Kicks off...
by
, 01-10-2010 at 07:40 PM (6559 Views)
As a few will know, I am starting a new set of units for better user friendliness, called the Prometheus Project (thanks for the great name WILL). Just thought, I' get some opinions on how easy you would say this looks to understand as a newbie. Code below of the first demo program of getting an image up on the screen with transparency enabled:
Sorry if you dont like my coding style, but it looks great in PN.Code:program PromVTest; uses Prometheus_Vid, sdl; var Image: pSdl_Surface; begin //init stuff sdl_init(sdl_init_everything); //the prometheus stuff CreateWindow(640, 480, 32, Sdl_HwSurface); Image := LoadImage('TestImage.png'); DrawImage(0,0,Image); UpdateCanvas(); //wait readln(); end.
cheers,
code_glitch.