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
  #11 (permalink)  
Old 01-04-2008, 06:43 AM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 366
Awards Showcase
Beta Tester 
Total Awards: 1
Default Newtonian equations of motion!!

well its an interesting coding style!
by the way, just a tip, u might want to rethink the physics ..
ppc=0.01
at=at-.7
a=a*.1+gr*3+at*.08
v1=v1*ppc+a
hf=(h1+v1)
h1=hf+v1
y=hf-1647
....is unclear and hugely redundant.

Ive changed it to

y=y+dy
dy=dy+.3 'gravity effect
if thrust up dy=dy - 2

runs smoother, and drops better!

Last edited by colin9876 : 01-04-2008 at 06:57 AM.
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