Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Open Source Projects
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.


Tetris-2008


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-02-2008, 08:40 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

A well developed game.
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #12 (permalink)  
Old 01-03-2008, 03:03 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Awards Showcase
Beta Tester 
Total Awards: 1
Default

A word of praise. I have never been a fan of games and probably never be,
but the programming technique is most remarkable, indeed.
Reply With Quote
  #13 (permalink)  
Old 01-07-2008, 07:39 PM
Newbie
 
Join Date: Jan 2008
Posts: 1
Default

New game option work only on start, not during game.
Is it so?
Reply With Quote
  #14 (permalink)  
Old 01-07-2008, 07:44 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Yes. It checks if Timer1 is enabled and if yes it doesn't do anything.
Reply With Quote
  #15 (permalink)  
Old 02-26-2008, 08:04 PM
Filippo's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 284
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hallo Erel,

You can add this code to Tetris?

PHP Code:
Sub Form1_MouseDown (x,y)
  If (
x>10 AND x<10 160scale) AND (y>AND y<256 scaleThen
    px
Int((scale -10) / (16*scale))
    
pyInt((scale -5) / (16*scale))
    
pXmin=9
    pXmax
=0
    pYmin
=15
    pYmax
=0

    
For i=0 To 3
      
If pXmin>tempX(iThen pXmin=tempX(i)
      If 
pXmax<tempX(iThen pXmax=tempX(i)
      If 
pYmin>tempY(iThen pYmin=tempY(i)
      If 
pYmax<tempY(iThen pYmax=tempY(i)
    
Next

    
If px >= pXmin AND px <= pXmax Then
      
If py pYmin Then
        RotateShape
      
Else
        
timer1_tick
      End 
If
    Else If 
px <  pXmin
      MoveShape
(-1,0)
    Else If 
px >  pXmax
      MoveShape
(1,0)
    
End If

  
End If
End Sub 
Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
PPC: HTC Touch Diamond, 4GB
______________________
Reply With Quote
  #16 (permalink)  
Old 02-27-2008, 07:25 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Nice addition.
I've tried it and it is pretty complicated to navigate the objects this way.
Reply With Quote
  #17 (permalink)  
Old 11-13-2008, 07:26 AM
Newbie
 
Join Date: Nov 2008
Posts: 5
Default thanks for share

learning
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasqua 2008 maXim Italian Forum 2 03-22-2008 11:57 PM


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0