lookiify.blogg.se

Big bad principal cheat
Big bad principal cheat






big bad principal cheat

Right, but cheat sheets are meant to supplement other study material.īut a cheat sheet that is wrong is still not good. The "actually round ball" thing was my way to make it interesting, and little did I know what I got myself into. Oh, and all written in 32bit x86, all the maths in x87 using its glorious, glorious register stack, hence RPN. Probably not very smart.Īnd I forgot to include paddle velocity in my initial model, so hitting the ball with the side could've lead to the ball being caught half-way in the paddle, bouncing about, had I not in a last sprint to save the deadline (school project) just forbid the bottom side of the ball to be lower than the top side of the paddle. (yes, possibly multiple collisions per frame).ĭo what you'd do if your idea of linear algebra was minimal (forget about fancy terms like vector space, you're in R2 and R2 only, just like in that warm, fuzzy primary school geometry) and you'd be puzzling at the same time in another lecture about your most advanced maths so far, calculus.Īnd, yes, I did ball/line intersection and then later checked whether the collision was actually on the proper segment after the fact. I don't have the original project files any more and years ago thought of a way to do it without quadratic while falling asleep (or at least I think so), so it was probably an artefact of the non-sophisticatedness of the maths, but still.īasically: Take some 2d vectors and a scalar for time representing collision if t=0, solve for that one symbolically (luckily there was mathematica), then, each frame, calculate (involving said quadratic), if delta t < frame_time, move ball to t=0, figure out collision vector (actual point of tangent), reflect velocity by that, rinse, repeat, with lower frame time. Are you interested in promoting your own content? STOP! Read this first.īall/line intersection, no gravity.For posting job listings, please visit /r/forhire or /r/jobbit.

big bad principal cheat

Do you have something funny to share with fellow programmers? Please take it to /r/ProgrammerHumor/.Do you have a question? Check out /r/learnprogramming, /r/cscareerquestions, or Stack Overflow.Direct links to app demos (unrelated to programming) will be removed.

BIG BAD PRINCIPAL CHEAT CODE

If there is no code in your link, it probably doesn't belong here. Just because it has a computer in it doesn't make it programming.That means no image posts, no memes, no politics.

big bad principal cheat

  • Please keep submissions on topic and of high quality.
  • r/programming is a reddit for discussion and news about computer programming








    Big bad principal cheat