Results 1 to 1 of 1

Thread: Ufo Shaking

  1. #1
    Member
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    406
    Rep Power
    56

    Ufo Shaking

    Hello,

    Another joke.
    Uses "ui"
    #INCLUDE "abc.inc"
    
    OpenWindow 320,240
    SetHandleDC hdc,hwnd
    SetFont 14,14,0,""
    Single vz
    Long fz, ufo
    
    ufo=LoadBmp "bmp/new_ufo.bmp",16
    
    while iswindow(hwnd) and Key(27)=0
    Canvas_Clear 0 
    DrawBmp ufo,80,40,164,105,fz
    DrawString 30,220,"Drunken Ufo Navigator", %abc_bbred
    
    vz +=.5
    If vz >=2.2 Then
       vz =0
       fz +=1
       If fz=16 Then
          fz=0
       End If
    End If
    
    Canvas_Redraw
    SetFps (60)
    Wend
    
    FreeGraphic
    Canvas_Window End
    
    Attached Files Attached Files

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •