QuantumFTL's messages

Public messages for QuantumFTL

avatar for dahnraelz
dahnraelz

Dec 3, 2008 2:44pm

HA! That looks insane. But I’ll have a look at it as everything about maths or physics interests me. I am not good in school though :D

avatar for dahnraelz
dahnraelz

Dec 3, 2008 2:04pm

Believe me, there nothing to benefit from in the elastic’s code. It’s so horrible it could be a perfect example of how not to code. Go along with the shootorials if you haven’t already.

The mechanics are quite easy to write.

The square goes like this:

dist_x = (root.player.x-x)*speedModifier;

dist_y = (root.player.y-
y)*speedModi…

show more
avatar for dahnraelz
dahnraelz

Dec 3, 2008 1:41pm

Thanks. :)

I am not going to release the source as it is BAAAD. Seriously, it’s a mess I can’t understand at all, as I had absoultely no previous experience with coding.

But all it has is just shootorial code + basic trigonometry + pytaghorean theorem. I can provide you further explanation about how are the things done if you are unsur…

show more