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
  #1 (permalink)  
Old 01-01-2008, 08:29 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,955
Smile Tetris-2008

A fully functional Tetris game.
You can see the benefits of the new compiler by running the game from the device IDE and running the included executable.
If anyone is interest with improving this game it still misses background music and sounds, and a highscore table.
I hope it will help you enjoy some of the moments of 2008

The source code and an installer are included in the zip file.

Attached Files
File Type: zip Tetris.zip (199.8 KB, 618 views)
Reply With Quote
  #2 (permalink)  
Old 01-01-2008, 11:45 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,955
Default

Current highscore: 475, level 12
Reply With Quote
  #3 (permalink)  
Old 01-01-2008, 02:57 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,955
Default

The project was updated and it now handles VGA screens correctly.
It checks the screen resolution at runtime and changes the layout if required.
Reply With Quote
  #4 (permalink)  
Old 01-01-2008, 04:05 PM
Senior Member
 
Join Date: May 2007
Posts: 156
Awards Showcase
Competition Winner 
Total Awards: 1
Default Games ???

Erel
And we all were thinking that you are working on improving the compiler....
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #5 (permalink)  
Old 01-01-2008, 07:18 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
Default Basic4PC or Basic4PPC?

Erel nicely coded - altho I hate tetris lol!

But it does raise a point thats been in my mind for a while relating to what the target audience is for this product. e.g. programming on a PC (for PPC) or programing on the PPC itself (personally thats where I think this product beats all competition).

Try and look at the source of tetris on the PPC and u will see the problem.
Its not easy to read. Any lines indented twice e.g For, IF, next will be off the page and unreadable as the TABING is long. U would only use one space if coding on the PPC.

Last edited by colin9876 : 03-15-2008 at 07:27 AM.
Reply With Quote
  #6 (permalink)  
Old 01-01-2008, 07:32 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,955
Default

You could fix the tabs by clicking on: Tools - Untab (on the desktop you could choose Retab).
It converts tabs to spaces (and vice versa).
Reply With Quote
  #7 (permalink)  
Old 01-01-2008, 08:53 PM
taximania's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 214
Default

That has bugged me for ages. I missed the option on the device to detab.

Again, Erel, thanks.
__________________
Avoiding lawyers
For a full year now

O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1

http://www.taximania.net
Reply With Quote
  #8 (permalink)  
Old 01-02-2008, 06:07 AM
Senior Member
 
Join Date: May 2007
Posts: 156
Awards Showcase
Competition Winner 
Total Awards: 1
Default file size

The discussion above reminds me that when working on large files I cannot edit them on the ppc - only delete characters but not change or add.
Is this problem only mine ?
when I save the file as text, I can edit it with pword.
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #9 (permalink)  
Old 01-02-2008, 06:13 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,955
Default

This thread is completely .

The device IDE is limited to strings of up to 64K (Textbox control limit).
If you need to work on larger projects (on the device) you can separate the code into several code files and add them using the Components dialog.
Reply With Quote
  #10 (permalink)  
Old 01-02-2008, 06:32 AM
Senior Member
 
Join Date: May 2007
Posts: 156
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Erel
sorry, I appologize.
thanks for the reminder.
__________________
David Erez
Ramat Hasharon, Israel
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 10:57 PM


All times are GMT. The time now is 08:46 PM.


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