## Search found 431 matches

Dec 19, 2006 9:48
Forum: Tips and Tricks
Topic: a little thing with rnd :)
Replies: 9
Views: 1734
Dec 19, 2006 9:44
Forum: Projects
Topic: A 2D Physics "engine"
Replies: 19
Views: 3602
anonymous1337 : Aaah okay ^^ I was far from what you meaned :) Then, in the first code, Boundaries are only 90° to each other. But Dr. D posted an awesome program about non perpendicular boundaries.

Dr. D > I'm repeating myself but.. awesome!
Dec 19, 2006 0:08
Forum: Tips and Tricks
Topic: a little thing with rnd :)
Replies: 9
Views: 1734

### a little thing with rnd :)

screen 14,16 Type VectorType norm as single angle as single end type Dim V1 as VectorType Randomize timer x00=0 y00=120 x0=x00 y0=y00 r=250 g=250 b=255 sens=1 Do V1.norm=rnd(1)*30 '' 30 is the max difference between two norms V1.angle=3.1416*sens/180*int(rnd(1)*90) '' 90 is ...
Dec 19, 2006 0:04
Forum: Projects
Topic: A 2D Physics "engine"
Replies: 19
Views: 3602
So I made this to understand the principle of vectors in programation (it's really near of the code gived by h4tt3n) : Option explicit Type Vectortype Ray as single m as single g as single f as single v0 as single P as single x0 as single y0 as single x as single y as single alphadeg as single alpha...
Dec 18, 2006 22:06
Forum: Projects
Topic: A 2D Physics "engine"
Replies: 19
Views: 3602
anonymous1337 > thanks :) And the angle intervals are 0.1° each loop if you press Left or Right key. (edit : er.. Maybe I didn't understood well your question.. What do you mean by "boundaries"?) h4tt3n: Great! thank you! I was working about vectors so your help will be precious :) I'll study this c...
Dec 18, 2006 11:32
Forum: Projects
Topic: A 2D Physics "engine"
Replies: 19
Views: 3602
Oh lord you must be right mysoft! I try this right now edit hum.. yeah but.. no lol If I * the friction instead of - it, when the ball is in the air, the all equation is=0 (cause I'm trying to implement friction on floor but not friction in air yet) so the ball don't move on the x axis :\ Last edit ...
Dec 18, 2006 10:48
Forum: General
Topic: um, but how?
Replies: 13
Views: 1769
Deleter > Wow oO Sierpinski triangle concept is awesome.. And when it happends whereas you didn't want it to appear.. it's mystical :)

Yetifoot > Awesome awesome and a third one : Awesome!
Dec 18, 2006 10:40
Forum: Tips and Tricks
Topic: FAST Plasma
Replies: 8
Views: 2901
Just awesome!
Dec 18, 2006 10:35
Forum: Tips and Tricks
Topic: Orbital Simulation
Replies: 5
Views: 1715
oO rea-ea-eally nice!
Dec 18, 2006 10:16
Forum: Projects
Topic: A 2D Physics "engine"
Replies: 19
Views: 3602
Thanks for your replies! I'll try to change the code with your comments. relsoft > I'll add the code for using keyboard instead of the mouse and i'll post the new code :) and for "v0*t", I'll try but I had those equations by derivating V components and A components (for t=0, Const=v0). And i didn't ...
Dec 18, 2006 0:02
Forum: Projects
Topic: A 2D Physics "engine"
Replies: 19
Views: 3602

### A 2D Physics "engine"

Hem.. Yeah.. "Engine" isn't the word.. Let's say "simulator" :) But first, you have to know that i'm a newbie and I surely have wrong habits in my way of coding. Also, i'm a french guy and i surely have wrong habits in english speaking too! So the project is at the beginning : The program handles gr...