Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P 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, 07:40 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
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, 02:03 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
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, 06: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, 06:44 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 07:04 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
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
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #16 (permalink)  
Old 02-27-2008, 06:25 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 06: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 Off
Pingbacks are Off
Refbacks are On

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


All times are GMT. The time now is 12:51 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0