Show Posts
|
|
Pages: [1]
|
|
2
|
Game Development / Game Mechanics / Re: Snooker Ball Angles
|
on: 2005-02-27 13:21:18
|
|
i know i need to rotate the collided balls at 45 degrees then send them off in that direction, but i need some way of finding out if the 2 balls collided are in a straight line shot, does anyone know about this?
|
|
|
|
|
3
|
Game Development / Game Mechanics / Re: Ball Angles
|
on: 2005-02-25 21:23:33
|
|
just wanted to make it clear i only get the angle when the 2 balls collide, so i need a formula or do i need to use rotation using point of collision on the balls?
i am very confused!
cheers
|
|
|
|
|
4
|
Game Development / Game Mechanics / Ball Angles
|
on: 2005-02-24 18:00:59
|
|
Hi, i need to be able to calculate the angels somehow between moving balls on a snooker table in my java 2d game, how do i do this? also how can i send the ball off in the right direction, as a ball has a x and y velocity?
|
|
|
|
|
5
|
Java Game APIs & Engines / Java 2D / Windows focuses
|
on: 2005-02-24 15:59:53
|
|
I have a full screen graphics snooker game and i allow the user to control the cue with the arrow keys, that is combined with all the snooker graphics, i then have a jpanel over layed ontop of those graphics which include translucent buttons and a Jslider for power, i have setRequestFocus() on the graphics, however when i press on the JSlider, i cannot control the cue with the arrow keys, as the arrow keys are then controlling the slider moving the power up and down, this does not happen when i press buttons as i can still move the key, does anyone know how to fix this?
|
|
|
|
|
6
|
Game Development / Game Mechanics / Discrete Time Issue - Overlapping
|
on: 2005-02-21 23:28:20
|
|
Hi, i'm implementing a snooker game, and i am onto doing the ball-to-ball collision, the problem is when a collision has been detected in my game, the 2 balls are slightly overlapping, as it hasn't detected the collision in time, does anyone have any ideas on how to deal with this overlapping?
Do i need some kind of step-by-step method, or another thread running?
|
|
|
|
|
7
|
Java Game APIs & Engines / Java 2D / Rotation/Strafing
|
on: 2005-02-16 11:25:45
|
|
Hi, i have an image of a snooker cue, which i want to rotate/strafe around the cue ball, so the user can hit the cue ball in any direction, and i also want the angle at which the cue ball will travel in,
how could i go about programming this?
|
|
|
|
|
9
|
Game Development / Game Mechanics / Re: Ball Physics in 2D
|
on: 2004-11-26 13:48:47
|
|
Cheers for your help, that is really useful. But there is one more thing I am confused about, how do u know what angle the cue ball and the red ball will travel once they hit?
Thanks,
Daz
|
|
|
|
|
10
|
Game Development / Game Mechanics / Re: Ball Physics in 2D
|
on: 2004-11-24 12:51:45
|
|
Is there anything easier to understand out there, i.e. is there anyone who can provide me with simple steps to caculating the friction, force, etc, which is easy for someone who finds it difficult to understand complex mechanics
|
|
|
|
|
11
|
Game Development / Game Mechanics / Ball Physics in 2D
|
on: 2004-11-23 20:38:26
|
|
Hi, i have created a 2d snooker game, which implements collision detection, but i am not sure how to implement the physical simulation of the balls, i.e. the formulas needed to calculated the force, acceleration, FRICTION, etc. At the moment the balls look like they are sliding along the table at a constant speed. I have looked at alot of stuff on the web about this, but have not found anything i understand, i am not very good at maths, so has anyone got any simple solutions or something which i'll understand?
|
|
|
|
|
20
|
Java Game APIs & Engines / Java 2D / 2D Image Transparency
|
on: 2004-11-16 21:26:57
|
|
I have a small animation with 3 .png images, they are little characters with a white background, and i can't find a way to make the background transparent, does anyone have any ideas?
|
|
|
|
|
21
|
Java Game APIs & Engines / Java 2D / Re: Snooker Game Collision detection
|
on: 2004-11-16 21:04:30
|
|
i have already looked at these papers, the first one is good for calculating the distances between moving spheres, however I do not understand what the paper is saying about movement vectors and neither of the papers say anything about how to loop through all the balls on a table and check for colisions. Do i need to use 2 game loops? I am not sure, i am quite new to java 2d, i know bounding spheres won't work, if anyone has any excellant algorithms which does not slow the game performance when playing, please tell me!
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|