Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
32Bowling For John
#31
K, let's see if I can explain this, I don't have the work with me.

I have the bowling lane images drawn on screen of 640x480.

Part 1.The background image is 383x480 (if I remember right) and aligned at (0,0). The first ball image, shown at (mx,448) mx being the mouse X position. Then, using the mouse, you select the x position of the ball.

Part 2. Now that the ball X position is set, the image of the lane (background) goes to a point with the pins at the end. I want a line at (ballx + 32(because the ball is 64px across),448)-(mx,300) mx is the mouse again. When running it, the line seems to be too long at the ends, and I want the line to shorten when moving to the edges.

Drawing a circle at (ballx + 32,480),150 (I think) will give a pretty good curve, but I don't know how to make the line length follow that curve.

This would be way easier if I had the actual thing, but I'm not by it and I didn't put it on my jumpdrive.
Reply
#32
Here are the files.

http://radiumv.phatcode.net/trig.zip

See what I mean?
Reply
#33
Well, i have a demonstration out now. It's pretty sweet, I think. It obviously doesn't really function or knock down the pins yet (or turn for that matter). There's 2 frames available per run. I have sound function capability, but no sounds yet, except for Microsoft Sam saying "RADIUM-V Interactive" for the open - oh, wait, I disabled it - oops. But the file's there.

In no way is this done. Remember that. There are some things I still need to make and some things I need to fix. This is just a demonstration to prove I'm still working on this.

Anyway, here it is :^_^:

:lookright: Download Bowling :lookleft:

Oh, and I'm re-doing my site. Check it out, if you dare...
http://radiumv.phatcode.net
Quote:As a side note, I wish I was a robotic zombie ninja pirate.
Reply
#34
Sweet new site! Smile
(sadly made with dreamweaver though...) :wink:

I've gotten rid of mine for now, it needs a new look like yours does. 8)
Itch-Five Design - Your source for free, well designed, web design.
- - - - - - - - - - - - -
Quote:I use QB religiously. Too bad I'm an athiest.
Reply
#35
I did a few updates, but I haven't released them yet. The pins now kinda fall down (they mostly disappear), but they do go away.

I have decided to release the newer source code. There's no reason to horde it for myself :^_^: but it will be a while before it's ready
Quote:As a side note, I wish I was a robotic zombie ninja pirate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)