This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - ZippyDee
Pages: 1 ... 43 44 [45] 46 47 ... 51
661
« on: March 31, 2011, 12:15:26 am »
If I remember correctly, LPs were the first records to have multiple tracks on them. You basically had a single, or an LP. But LPs ran at a slower rpm (33)than singles (45), so EPs were released to compete with LPs. Like singles, they ran at 45 rpm but they usually held 2-3 (in rare cases 4) songs per side, while LPs could hold a full album.
662
« on: March 30, 2011, 05:01:20 pm »
I know it's assembly. I understand that some optimization makes it impossible with 15MHz. But what's different at 15MHz than 6MHz?
663
« on: March 30, 2011, 04:52:10 pm »
But what causes it to not be usable at 15MHz?
664
« on: March 30, 2011, 04:48:02 pm »
Shtup. There's another Yiddish word for you.
665
« on: March 30, 2011, 04:18:03 pm »
Here's a link to my atan routine: http://ourl.ca/4129/191782Edit: I added an atan2 routine too. Also, Deep Thought, would only one side of the square touch the ground and it would just rotate to keep that one side along the tangent of the slope? Or would it rotate to fall onto other sides, too?
666
« on: March 30, 2011, 04:15:11 pm »
Here's a quick atan routine that I threw together last night. It's not the most accurate, but it's accurate enough for most things you'd need it for. Like Runer112's Sin and Cos routines, this uses 8.8 fixed point input and returns an 8.8 fixed point angle. Use it with sub(ATN,slope).
And I'm sure it can be optimized, so feel free to do so.
EDIT: added atan2 that accepts deltaY and deltaX inputs as one byte integers -127 to 127 and outputs an 8.8 fixed point. Use it with sub(AT2,dY,dX).
667
« on: March 30, 2011, 03:44:49 pm »
Can you explain that a bit more? I think if I can understand exactly what you're trying to do, I may be able to help.
668
« on: March 30, 2011, 03:33:28 pm »
Unfortunately society has developed to the point where failure is almost always looked down upon.
669
« on: March 30, 2011, 03:27:38 pm »
I actually WAS wondering why it was going over that hill. Also, I threw together a decent atan routine in axe. I'll post it. It can almost certainly be optimized.
670
« on: March 30, 2011, 03:20:03 pm »
VB.NET. Just hearing someone say they use VB.NET is bad enough. Also, Hebrew. I only know swear words in Hebrew, so I can't do anything OTHER than swear in it.
671
« on: March 30, 2011, 02:22:39 am »
What causes this, if I may ask?
672
« on: March 30, 2011, 02:20:21 am »
But what I'd be using is 3 12x12 sprites. The first two sprites would each be drawn to their corresponding buffer (plotSScreen/appBackUpScreen), but they'd first be masked using the third sprite. That allows me to use 4 levels of grayscale and still preserve the background (which I'd keep in another place, probably an appvar or something then delete at the end).
673
« on: March 30, 2011, 02:15:26 am »
You know, a way to do simple sidescrolling terrain is to have a list of y coordinates at evenly spaced x coordinates and then just draw lines between the points. However, unless you use pixel-based collision there, you'd need an arctan function in order to get the angles. To solve that issue, you can instead store an initial y coordinate followed by a list of angles and generate a set of corresponding y values based on those angles.
Maybe I'll throw together a simple atan LUT and stick it in a subroutine. Shouldn't be too hard.
674
« on: March 29, 2011, 06:21:12 pm »
You don't know how much this will help me for a little project of mine Now just a couple more tutorials on advance physics and I should be able to start!
What else do you need to know?
675
« on: March 29, 2011, 05:50:31 pm »
LUT = Look-Up Table. In this case a bunch of precalculated values for the trig functions to save on calculation speed and size.
Pages: 1 ... 43 44 [45] 46 47 ... 51
|