Ok i figured it out! yay! By doing some tests with the cursor I figured out that for some reason the cursor wasn't being drawn by it's type properly. It was crosshair but being drawn as a normal...
Type: Posts; User: tukhes
Ok i figured it out! yay! By doing some tests with the cursor I figured out that for some reason the cursor wasn't being drawn by it's type properly. It was crosshair but being drawn as a normal...
Any idea on how to fix it?
I'm running macOSX. would that make a difference? Like I start it in my browser, then when I hover my mouse over it, it turns into the crosshair. but once i click on it, it turns back to a normal...
import java.applet.*;
import java.awt.*;
public class NewClass extends Applet implements Runnable{
Cursor c;
public void init(){
c = new Cursor(Cursor.CROSSHAIR_CURSOR);
...
Ok guys pretty confused with this. What I am aiming to do is have the cursor the same in the applet the whole time! My code to set the cursor is this:
c = new Cursor(Cursor.CROSSHAIR_CURSOR);
...
Ok well I didn't understand any of that :$ aha I did find out however that R = 2W - P for reflecting off of an angled wall which is essentially what I'm doing. I'm however not mathematically smart...
Hellooooo! I have spent an endless amount of time this weekend trying to figure out simple physics for a pong-ish game I'm work on in which the paddles are circles rather than lines. I am having a...