Initializing In FullScreen 2D

By: W-Buffer

Yeah, finally a Creator SDK Tutorial!

To do this you need: Creator 7 Beta 1+, now declare a variable as New Creator2D, the only bad stuff about Creator 7 Beta 1 is that dosen't haves any extra support for Sprites or Surfaces so here is how initilize only it:

Dim En as New Creator2D

-> En.InitFullScreen Hwnd, Height, Width, MemAlloc

Hwnd.- is the Form.Hwnd that you are using.
Height.- the new Resolition Height.
Width.- the new Resolition Width.
MemAlloc.- Flags for memory allocation.

Example with Beta 2: En.InitFullScreen Me.Hwnd, 600, 800, VideoCard
With Beta 1: En.InitFullScreen Me.Hwnd, 600, 800

If you wanna use current resolution set Height and Width to 0.

Functions Descriptions:
BeginScene.- Clears Back Buffer, Ready to Blit!
EndScene.- Flips the BackBuffer into Primary Surface.
BitBlt.- Memory Block Bliting for Surfaces
FastBlt.- Fast Memory Block Bliting for Surfaces
BltFX.- Uses special Blt OPerations to get cool efects.
BltColor.- Blits a Color Rect.
CleanUp.- You need to call it when you are finish using Creator2D.

Hosted by www.Geocities.ws

1