Search found 1390 matches

by badidea
Jul 21, 2019 21:11
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

A real camping experince requires at least one rainy morning at near zero temperatures. Currently in Belgium and I haven't seen a simple drop however and the forcast is 35 degC.
by badidea
Jul 21, 2019 18:55
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

Yes, an error, I'll fix later...
by badidea
Jul 20, 2019 21:30
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

but the whole structure is a bit of a mess. I think that Vincent van Gogh's paintings are a bit of a mess but some folk have parted with some serious money to get their hands on them. One thing is for sure and that is dodicat is not a John Constable. <smile> Yes, they both all three might have prod...
by badidea
Jul 20, 2019 21:19
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

I'm not camping yet, so I made a start: const as single PI = 4 * atn(1) const as single PPM = 3 'pixels per meter const SW = 800, SH = 600 screenres SW, SH, 32 width SW \ 16, SH \ 8 type sgl2d dim as single x, y declare constructor declare constructor(x as single, y as single) declare operator cast ...
by badidea
Jul 20, 2019 19:35
Forum: General
Topic: Squares
Replies: 6741
Views: 384298

Re: Squares

Still trying the impossible?
E.g. 11011 can be 1, 1, 01, 1 or 1, 10, 1, 1
by badidea
Jul 20, 2019 12:06
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

I was in error, bypassing sleep during a drag. It happens to the best of us. Graphics are not my strong point so it is probably not much coming from me but I reckon that code is one of the best that I have seen. I will make a point of studying it to better my understanding of FB's graphic's capabil...
by badidea
Jul 20, 2019 11:28
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

Conclusion form Joshy's link:
I was thinking too complicated. I thought that I had divide the thrust force in 2 parts (for linear and angular acceleration). But this does not seem necessary.
by badidea
Jul 19, 2019 11:23
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question


Looks like a useful resource. I will be camping for the next 2 weeks, so don't expect much coding progress from me, but I can at least read this on my phone and make some notes.
by badidea
Jul 19, 2019 0:39
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

However if there was a rocket engine on the block it would turn with the block and thus change the direction of the force in absolute space? So to test this you would need to have a rocket of some kind (water bottle with vinegar and baking soda dissolved in water?) and a low friction setup such as ...
by badidea
Jul 18, 2019 22:43
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

Here is a general strike. I have used the property of mass of a disc and moment of inertia of a disc. ... Looking at you code, but I is a bit hard to follow. Not written for a beauty contest :-) linearimpulse = impulse * Cos(a) / mass angularimpulse = impulse * Sin(a) / anginertia You assume that l...
by badidea
Jul 18, 2019 22:33
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

The borg cube is of course 3d and a lot more complicated. You are allowed to squeeze to borg cube to a height of nearly nothing :-) Hitting a circle is the same at any point. I am not hitting the circle. I have attached engine which shortly applies thrust in y-direction. The angle you hit a square ...
by badidea
Jul 18, 2019 22:01
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

I cannot see what BasicCoder2's last post is adding more to the conversation than the second post did; or am I missing something? Neither did I. As I don't see a real difference between the flying saucer and the borg cube, I expect both to move in y-direction only while rotating. (assuming the thru...
by badidea
Jul 17, 2019 21:50
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

BasicCoder2 wrote:
badidea wrote:Nice demo, but you skip most of the physics involved (forces, mass, inertia). Direct change of rotation and speed. Which is fine for a game, but not what I am looking for (in my game).

Maybe you need a 2d physics engine?

That is an option, but I prefer to grok the physics and implement it myself.
by badidea
Jul 17, 2019 21:34
Forum: Game Dev
Topic: Tetris vs Mario (Work in progress)
Replies: 2
Views: 17378

Re: Tetris vs Mario (Work in progress)

For those you missed it, the 'final' result (with Mario as a horse) can be found here: viewtopic.php?f=17&t=27438&start=90#p260499
Unfortunately, the competition organizer was apparently so disappointed with the result that he ran away.
by badidea
Jul 17, 2019 17:16
Forum: Game Dev
Topic: Physics question
Replies: 52
Views: 1039

Re: Physics question

... Nice demo, but you skip most of the physics involved (forces, mass, inertia). Direct change of rotation and speed. Which is fine for a game, but not what I am looking for (in my game). In space (without gravity) the center is the center of the object COO your spaceship but for example on earth ...

Go to advanced search