Users browsing this thread: 1 Guest(s)
GameDev Event 1: February 2012
#23
Hey gays.

I failed.

You can take a look at my quick attempt here. Took me way longer than it should have, but I had to figure out a lot of very basic things as I've never made a Java window application before.
Source code is included, though there really isn't much to see. I didn't really bother optimizing anything.

[Image: bUums.png]
The cyan rectangle is movable, all others are fixed. You can add magnets everywhere and the movable one can move through them. Red magnets attract the cyan one, blue magnets repel it.
Clicking the left or middle button places/removes magnets, right mouse button changes the polarity of the movable one. I actually mixed up left and right in the comments and ReadMefix'd Ouch!
Uhm yeah. Nothing to be proud of, but I really should be learning for my exams.
Thanked by: Gors, Sengir, Zadaben


Messages In This Thread
GameDev Event 1: February 2012 - by Sengir - 01-31-2012, 11:17 PM
RE: GameDev Event 1: February 2012 - by Sengir - 02-01-2012, 09:50 AM
RE: GameDev Event 1: February 2012 - by Previous - 02-01-2012, 10:57 AM
RE: GameDev Event 1: February 2012 - by Gors - 02-01-2012, 02:43 PM
RE: GameDev Event 1: February 2012 - by Yo-Yo Boy - 02-01-2012, 02:49 PM
RE: GameDev Event 1: February 2012 - by Sengir - 02-01-2012, 03:15 PM
RE: GameDev Event 1: February 2012 - by Previous - 02-02-2012, 01:44 AM
RE: GameDev Event 1: February 2012 - by Ploaj - 02-02-2012, 12:10 AM
RE: GameDev Event 1: February 2012 - by puggsoy - 02-02-2012, 04:14 PM
RE: GameDev Event 1: February 2012 - by Previous - 02-03-2012, 06:20 AM
RE: GameDev Event 1: February 2012 - by puggsoy - 02-03-2012, 06:44 AM
RE: GameDev Event 1: February 2012 - by Previous - 02-03-2012, 07:03 AM
RE: GameDev Event 1: February 2012 - by puggsoy - 02-03-2012, 07:22 AM
RE: GameDev Event 1: February 2012 - by Vanya - 02-06-2012, 11:02 PM
RE: GameDev Event 1: February 2012 - by Previous - 02-29-2012, 08:16 AM

Forum Jump: