Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 please, feedback on my physics program
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ninajnick




PostPosted: Mon Jan 26, 2009 6:46 pm   Post subject: please, feedback on my physics program

Hello. My name is Nick and i am new at this.

I have made a physics engine (and i use both words lightly) and i would like feedback/criticism/general talk back from yall

The code is not very effeciant and there are some glitchs when it comes to the colors. There are a lot of options to play around with including 3d (but i wouldn't touch that, its not very good) but the real focus of the engine is on art. Try playing around with the map, spacetimemap and tail booleans, you can make some really cool pictures.

I have included some pictures that i made with the thing. Take a look.

Here it is:



physics_2.bmp
 Description:
pretty picture #2
 Filesize:  2.32 MB
 Viewed:  152 Time(s)

physics_2.bmp



physics_1.bmp
 Description:
pretty picture #1
 Filesize:  2.32 MB
 Viewed:  147 Time(s)

physics_1.bmp



physicspleaseleft2.bmp
 Description:
you need this for the user interface
 Filesize:  890.68 KB
 Viewed:  150 Time(s)

physicspleaseleft2.bmp



physicsplease.bmp
 Description:
you need this for the user interface
 Filesize:  1.74 MB
 Viewed:  153 Time(s)

physicsplease.bmp



physics_begining v4.t
 Description:
this is the code

Download
 Filename:  physics_begining v4.t
 Filesize:  27.41 KB
 Downloaded:  205 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Mon Jan 26, 2009 7:13 pm   Post subject: Re: please, feedback on my physics program

i keep getting variable has no value errors...
TheGuardian001




PostPosted: Mon Jan 26, 2009 7:33 pm   Post subject: Re: please, feedback on my physics program

Pretty cool, nice job. Can get a bit laggy, but the physics were good. I got a few errors with using colour # 256 by making really big objects/planets, but other than that it seems to be fine.

Also @Homer, did you download the two pictures labeled "you need this for the user interface"? because it works fine for me.
SNIPERDUDE




PostPosted: Mon Jan 26, 2009 7:45 pm   Post subject: RE:please, feedback on my physics program

Homer, I had the same problem. Try this: When clicking on "Begin" hold it down. I'm guessing it doesn't initialize the variables right away with the mouse unclicked.
Homer_simpson




PostPosted: Mon Jan 26, 2009 8:12 pm   Post subject: Re: please, feedback on my physics program

ya holding the begin button took care of it, but i still get div by 0 errors
ninajnick




PostPosted: Tue Jan 27, 2009 12:14 pm   Post subject: RE:please, feedback on my physics program

Ya the div by zero error happens when you try to calculate the gravity of two objects that are ontop of each other. if you put the crashing and planetcrash booleans on, then it should solve the problem. Thanks for the feedback. =)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: