Advertisement
Mysoft

Untitled

Mar 25th, 2024
1,280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "MyTDT\GfxResize.bas"
  2.  
  3. dim as long iMoveAmount(5) = {8,5,9,6,5,7}
  4. dim as ulong uCat(...) = { _
  5.   &h00000000,&h00000000,&h000003FA,&h001FFC06,&h00E00001,&h01000139,&h06000126,&h7C03FFB0,&h887C007C,&h0F80000A,&h18000005,&h28000000,&h0C000000, _
  6.   &h00000000,&h00000000,&h00000000,&h003F87C4,&h00C0783C,&h01000002,&h06000171,&hFA07FFCE,&h06380370,&h1DC0011C,&h08000103,&h30000180,&h000000C0, _
  7.   &h00000000,&h0007C000,&h00183008,&h00600FBC,&h00C00042,&h01208011,&h0221602E,&h7C421F40,&h005C0540,&h002018E0,&h00101030,&h00201008,&h00000804, _
  8.   &h00000000,&h0003C000,&h00083000,&h03F00C08,&h04100218,&h181201E4,&hE0091002,&h0005A03C,&h00036FC0,&h00035800,&h0001D800,&h00008800,&h00000C00, _
  9.   &h00000000,&h00000000,&h3F0F8000,&h40F06020,&h401018E0,&h00200710,&h00200008,&h002020F0,&h0017FB00,&h00181400,&h00142800,&h00344000,&h001B0000, _
  10.   &h70000000,&h0F000000,&h00E3C004,&h001C301E,&h00200EE1,&h00400101,&h0040001E,&h00438020,&h00847FD0,&h01380070,&h01400000,&h00A00000,&h00780000 _
  11. }
  12.  
  13. dim as long iCatX = -50
  14.  
  15. screen 13
  16. do
  17.   for I as long = 0 to ubound(uCat) step 13
  18.    
  19.     for N as long = 0 to 12
  20.       line(iCatX-10,N)-step(40,0),0
  21.       line(iCatX+ 0,N)-step(15,0),15,,uCat(I+N) shr 16
  22.       line(iCatX+16,N)-step(15,0),15,,uCat(I+N)  
  23.     next N
  24.    
  25.     sleep 80,1
  26.     iCatX += iMoveAmount(I\13)
  27.     if iCatX >= (320+30) then iCatX=-50
  28.    
  29.   next I
  30. loop
  31.  
  32. sleep
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement