Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Share Your Creations
Home Register FAQ Members List 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, 07:43 AM
Basic4ppc Veteran
 
Join Date: Nov 2007
Posts: 316
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 07: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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Game and keys pmu5757 Questions & Help Needed 13 06-01-2008 04:56 PM
A little game I put together ...... taximania Share Your Creations 0 12-30-2007 08:48 PM
New game maxtillberg Share Your Creations 1 10-29-2007 10:27 PM
[GAME] Merchants legugusse Share Your Creations 4 07-11-2007 09:36 AM
Game jorgerhv Share Your Creations 0 05-20-2007 01:09 AM


All times are GMT. The time now is 05:24 PM.


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