Qbasicnews.com
July 24, 2019, 03:40:44 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: 32Bowling For John  (Read 15066 times)
j2krei08
Guru
**
Posts: 284



WWW
« Reply #30 on: March 27, 2006, 07:26:24 PM »

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.
Logged
j2krei08
Guru
**
Posts: 284



WWW
« Reply #31 on: March 28, 2006, 01:31:22 PM »

Here are the files.

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

See what I mean?
Logged
RADIUM-V Interactive
Forum Regular
**
Posts: 139


WWW
« Reply #32 on: May 09, 2006, 04:46:04 PM »

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
Logged

Quote from: thegrogen
As a side note, I wish I was a robotic zombie ninja pirate.
Mr Match
Ancient Guru
****
Posts: 575



WWW
« Reply #33 on: May 09, 2006, 08:14:02 PM »

Sweet new site!  Smiley
(sadly made with dreamweaver though...) :wink:

I've gotten rid of mine for now, it needs a new look like yours does. Cool
Logged

Itch-Five Design - Your source for free, well designed, web design.
- - - - - - - - - - - - -
Quote from: stylin
I use QB religiously. Too bad I'm an athiest.
RADIUM-V Interactive
Forum Regular
**
Posts: 139


WWW
« Reply #34 on: May 11, 2006, 12:30:15 PM »

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
Logged

Quote from: thegrogen
As a side note, I wish I was a robotic zombie ninja pirate.
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!