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
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

lunar landar game

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2008, 05:07 AM
Junior Member
 
Join Date: Oct 2007
Posts: 10
Default lunar landar game

Weekend project I did.I hope people enjoy it...
Use the '<left','right>',and 'up' keys on the "PPC" can be played on the DeskTop too.-Menu,s for both!!
READOUTS are:::SHIP STATUS FUEL/SCORE ALT
The deeper you go in the crater the more fuel you get when you land,
not crash...L.O.L.
Had to Shut off every other program on my IPAC-it uses alot of memory...
You can compile for either-PPC or desktop it should work for both.
need to convert jpegs pics to bmp pics first.

No sound yet...
Maybe later if I get the time!

Tell me what you think of it,Brian
Attached Images
File Type: jpg moon1c.JPG (59.2 KB, 96 views)
File Type: jpg black.JPG (2.0 KB, 68 views)
File Type: bmp crash5.bmp (2.9 KB, 83 views)
Attached Files
File Type: sbp LUNARLANDER1.sbp (10.9 KB, 79 views)
Reply With Quote
  #2 (permalink)  
Old 01-03-2008, 07:10 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I recommend you to zip all files and upload the complete package.
Reply With Quote
  #3 (permalink)  
Old 01-03-2008, 10:33 AM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 366
Awards Showcase
Beta Tester 
Total Awards: 1
Default

i cant wait to play this but theres a run error - not enough parentheses on the line
fuel= abs(round(200-y)

Last edited by colin9876 : 01-03-2008 at 08:44 PM.
Reply With Quote
  #4 (permalink)  
Old 01-03-2008, 06:11 PM
Junior Member
 
Join Date: Oct 2007
Posts: 10
Default colins

just downloaded the program off the net. works fine on mine.
it uses -crash5,moon1c and black.Never created zipped files before...
the parameter in the round is ::: Label1.Text=Round(hf)
Should work dll,s used are :::: image and hardware lib.---Thought
people would have them,but i,ll try to make that ZIP file if it will fit in the memory restrictions on this server
It will be late if I get that ZIP file done,after work!
Reply With Quote
  #5 (permalink)  
Old 01-03-2008, 07:31 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 366
Awards Showcase
Beta Tester 
Total Awards: 1
Default thats not the line!

well Ive redownloaded it direct to the device and theres a close brackets missing on line 273
fuel = abs(round(200-y) +200

odd that it goes ok 4 u on the desktop because that wont go on the device IDE. (NB EREL thats what I mean about few people using BASIC4PPC on the PPC anymore lol!)

update - wont get thro the v6 IDE either with that brackets error!

Just out of interest Im curious of ur use of Timers. e.g. Timer4 does something once, U turn this on when u want that code to run and it turns itself straight off! Why not just call a standard sub procedure - why do this as a timer???

Last edited by colin9876 : 01-03-2008 at 08:17 PM.
Reply With Quote
  #6 (permalink)  
Old 01-03-2008, 08:16 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 366
Awards Showcase
Beta Tester 
Total Awards: 1
Default Pitty me and my PDA!

Hey dont know about Lunar Lander but its a flippin Treasure hunt just to get all the bits togther to get this to run on my PDA!

Can anyone just compile it and post the device exe here so I can play it?
Thanks
Reply With Quote
  #7 (permalink)  
Old 01-03-2008, 08:16 PM
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 269
Default

Put a bracket behind the last 200. That does the trick. parentheses are equalled then. Where are the BMP files besides the crash.bmp?
Thnx
Reply With Quote
  #8 (permalink)  
Old 01-03-2008, 09:00 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Try google, ha ha ha
I've been there all bloody night :-(
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #9 (permalink)  
Old 01-03-2008, 11:40 PM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 366
Awards Showcase
Beta Tester 
Total Awards: 1
Default ughhhh!

ok Brian, I finally got it to work, and there are a few nice things about it. eg graphics are ok, but unfortunately I have to say there are some horrible ways of doing stuff.
I point this out not to criticise u but as a constructive excercise.

for example ...

Timer1
In this main loop text boxes are set, colors set etc
every 10ms when they only need to be set once at the beginning.
Having once only code re running in the main loop just slows it down.

The use of Timers is horrible, there only needs to be one timer, not one for every procedure!!
Turning a timer on which then turns itself off is a wateful way of just calling a sub procedure???

hope u dont mind me pointing this out

Last edited by colin9876 : 01-03-2008 at 11:43 PM.
Reply With Quote
  #10 (permalink)  
Old 01-04-2008, 05:20 AM
Junior Member
 
Join Date: Oct 2007
Posts: 10
Default landar zipped files

Heres the zipped files you asked for.BMP file moon1c just fit...Has all the files used in the program.Had to make 2 of them.
And yes I was having a bit of a problem with the timers.
When you hit the up key the screen would freeze and not update??
I knew someone would see my quick working fix....

Now if I could get rid my mutated cold....I could maybe think straight
again!!!! That program should of took me 1/2 day not the whole weekend.

LOL -Anyway I hope people enjoy it.Maybe when I feel better I,ll try open
gl with Basic4ppc-now that would be game!!!!! LATER every and have
a great newyear,Ive got to getsome rest...
Attached Files
File Type: zip LANDAR1.zip (125.7 KB, 60 views)
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
Game and keys pmu5757 Questions (Windows Mobile) 13 06-01-2008 03:56 PM
A little game I put together ...... taximania Share Your Creations 0 12-30-2007 07:48 PM
New game maxtillberg Share Your Creations 1 10-29-2007 09:27 PM
[GAME] Merchants legugusse Share Your Creations 4 07-11-2007 08:36 AM
Game jorgerhv Share Your Creations 0 05-20-2007 12:09 AM


All times are GMT. The time now is 11:44 AM.


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