View Single Post
Old 15 March 2014, 09:03   #2
JPQ
Registered User
 
Join Date: Mar 2014
Location: Akaa
Posts: 57
Blitz basic graphical source with problem

I try made simple thing what i wrote program to test basic stuff where i add new realstuff when i get this working basic thing. i try combine 2 single bitmaps to 4 colour mode. and even maybe if Amiga power allow even 3 bitmaps to make 8 color mode.top it that i try use doublebuffering and i try draw own unique stuff all single bitmaps. its years ago when i coded and i never tired this thing before.
ps. btw i found do this anotherway if two 2 coloured bitmaps mixed to single 4 colour. easier but i want try with 3 bitmaps to 8colour... i going text this next.

NoCli
WBStartup
BLITZ

BitMap 0,320,256,2
BitMap 1,320,256,2
BitMap 2,320,256,1
BitMap 3,256,256,1
Slice 0,42,2
RGB 0,0,0,0
RGB 1,7,0,0
RGB 2,0,7,0
RGB 3,7,7,0
Repeat
Show BMAP
BMAP=1-BMAP
Use BitMap BMAP
;BitPlanesBitMap BMAP,2,1
Use BitMap 2
lasku=lasku+1
If lasku>3599 Then lasku=0
Cls 0
Circlef 160+Sin(lasku/180*Pi+Sin(lasku/90*Pi)*1)*128,128+Sin(lasku/360*Pi)*128,36,1
;Use BitMap 3
Cls 0
Circlef 160+Sin(lasku/90*Pi+Sin(lasku/180*Pi)*1)*128,128+Sin(lasku/360*Pi)*128,36,1
BitPlanesBitMap 2,BMAP,1
BitPlanesBitMap 3,BMAP,1
VWait
Until Joyb(0)=1
End
JPQ is offline  
 
Page generated in 0.04695 seconds with 11 queries