Elegant and well-explained Rob! I spent my summer holidays last year in front of SimCoupé and SjASMPlus trying to understand 2D angular movement and ended up buried in eleventy billion browser tabs about fixed point maths, trigonometry, Sohcahtoa, and Dr Andy Wright’s implementation of the floating point calculator in SAM’s ROM. I eventually got it working but I was so burnt-out by the experience I’m only just getting back around to the project now! It’s reassuring to know I’m not the only programmer with ambitions above their half-remembered high school mathematics!
Hi thanks! I'm determined not to let my lack of ability with this stuff get in the way of making my games! It really does seem to be a baptism of fire that everyone has to go through. Your experience last summer sounds exactly like my last 2 weeks but at least once you have the solution for something you don't have to think about it again! Good luck with your project!
7:20 Not that you would notice a difference in the gameplay, but that does still not look like a circle to me... more like a rounded octagon. Maybe some truncation errors taking place?
I'm not knowledgeable enough to say if truncation errors are the problem.. I have a vague memory of reading that the Sam has odd shaped pixels, rectangular rather than square, which could also be the reason. The trig ball movement looks a bit wiggly too which I assumed was down to the low resolution of the screen. We're also rounding up some numbers so maybe that's not helping?
For me, the best thing that's come out of making these videos so far, aside from getting help from the more experienced programmers, has been finding out that I'm not alone in struggling with it all!
This was super humble, and I really enjoyed watching; keep on doing your thing.
Thank you, that's really appreciated! :)
Elegant and well-explained Rob! I spent my summer holidays last year in front of SimCoupé and SjASMPlus trying to understand 2D angular movement and ended up buried in eleventy billion browser tabs about fixed point maths, trigonometry, Sohcahtoa, and Dr Andy Wright’s implementation of the floating point calculator in SAM’s ROM. I eventually got it working but I was so burnt-out by the experience I’m only just getting back around to the project now! It’s reassuring to know I’m not the only programmer with ambitions above their half-remembered high school mathematics!
Hi thanks! I'm determined not to let my lack of ability with this stuff get in the way of making my games! It really does seem to be a baptism of fire that everyone has to go through. Your experience last summer sounds exactly like my last 2 weeks but at least once you have the solution for something you don't have to think about it again! Good luck with your project!
I glanced at the humbnail for a second and thought this was the unit circle for a second. I was so mad as I hate that thing.
I'd never heard of it! now I have something new to hate, thanks for that!
7:20 Not that you would notice a difference in the gameplay, but that does still not look like a circle to me... more like a rounded octagon. Maybe some truncation errors taking place?
I'm not knowledgeable enough to say if truncation errors are the problem.. I have a vague memory of reading that the Sam has odd shaped pixels, rectangular rather than square, which could also be the reason. The trig ball movement looks a bit wiggly too which I assumed was down to the low resolution of the screen. We're also rounding up some numbers so maybe that's not helping?
I'm a crap programmer who likes maths, what are my chances?
Better than mine, I reckon! :)
I thought this video was about me
For me, the best thing that's come out of making these videos so far, aside from getting help from the more experienced programmers, has been finding out that I'm not alone in struggling with it all!
First! ha ha. Great video. I think I'll learn plenty from these.