[QUOTE=Xerios3;22243681]
You will, one day =)[/QUOTE]
What exactly is your game about?
[QUOTE=nullsquared;22231631]Yeah, get rid of the singleton. If you didn't put it there in the first place you wouldn't have had this issue.[/QUOTE]
Whats wrong with singletons?
[QUOTE=high;22248169]Whats wrong with singletons?[/QUOTE]
[url]http://stackoverflow.com/questions/137975/what-is-so-bad-about-singletons[/url]
[QUOTE=Ortzinator;22248304][url]http://stackoverflow.com/questions/137975/what-is-so-bad-about-singletons[/url][/QUOTE]
I don't know. It seems like the case with "exceptions", were all the problems are based on how the programmer uses them.
Anyone know how to get the keypress with VK?
[cpp]
if( keys[VK_DOWN] & 0x80 )
g_vEye += (tmpLook*-g_fMoveSpeed)*g_fElpasedTime;
[/cpp]
I want to get VK_W, but it's invalid.
Best advice on singletons:
[quote]A Singleton candidate must satisfy three requirements:
controls concurrent access to a shared resource.
access to the resource will be requested from multiple, disparate parts of the system.
there can be only one object.
If your proposed Singleton has only one or two of these requirements, a redesign is almost always the correct option.[/quote]
[url]http://stackoverflow.com/questions/228164/on-design-patterns-when-to-use-the-singleton[/url]
[QUOTE=high;22248481]I don't know. It seems like the case with "exceptions", were all the problems are based on how the programmer uses them.[/QUOTE]
That's the same as every programming feature. The good ones are easy to use properly and encourage good programming practice, the poor ones are easy to use badly and don't encourage anything worth doing.
[QUOTE=Joshyy;22248641]Anyone know how to get the keypress with VK?
[cpp]
if( keys[VK_DOWN] & 0x80 )
g_vEye += (tmpLook*-g_fMoveSpeed)*g_fElpasedTime;
[/cpp]
I want to get VK_W, but it's invalid.[/QUOTE]
[cpp]keys['W'][/cpp]
[QUOTE=animorten;22250785][cpp]keys['W'][/cpp][/QUOTE]
Oh god why did I not try that...Thanks.
[QUOTE=slayer20;22246354]What exactly is your game about?[/QUOTE]
I'm basically making what CnC3 was supposed to be
[QUOTE=Xerios3;22254894]I'm basically making what CnC3 was supposed to be[/QUOTE]
It looks a lot more like what Supreme Commander 2 was supposed to be.
[QUOTE=Robber;22255233]It looks a lot more like what Supreme Commander 2 was supposed to be.[/QUOTE]
Supcom 2 isn't bad.
So there's a super computer at my uni, I think it's the best one in the state. I can get access to it if I had something interesting to do with it, but I can't think of anything.
Any ideas?
Install LuaJIT on it.
Pong.
:colbert:
[QUOTE=thelinx;22255838]Install LuaJIT on it.[/QUOTE]
I think LuaJIT only supports x86-32/64, though :v:
see if it can run crysis XD
Let it render a mandelbrot to extreme depth and record the zooming :D
Make a Mandelbulb.
[QUOTE=Jallen;22256769]Make a Mandelbulb.[/QUOTE]
Mandelbulbs are real-time on an average computer when implemented as a shader.
Ultra Mandelbrot zoom. Ultra as in beyond the 512-bit limit or something.
No programming for me for a while since I have borked my finger.
I was using my swiss army knife, when I forgot it didn't lock.
It closed on my hand and cut open my right knuckle. I pulled it back quickly and observed the damage by bending my finger.
The bone of my knucle was visible as the skin parted over it. I was bleeding profusely.
I ran home holding my hand above my head compressed and when I got there I ran it under water for a minute, dried it with kitchen towel, then wrapped it up and continued to compress it above my head.
I'm now sat at my computer with my index finger taped to a ice cream stick, using my middle and third finger to operate my mouse, taking 5 minutes to type every word. This explanation is the copypasta I'm using for everyone.
I'm such a badass, getting cut and shit.
Made a thread about it :v:
[url]http://www.facepunch.com/showthread.php?t=945926[/url]
[QUOTE=Jallen;22261519]I'm such a badass, getting cut and shit.[/QUOTE]
Owww, that hurts thinking about it.
[QUOTE=Darwin226;22261332]Is that OpenGL?[/QUOTE]
Yeah, finally got JOGL working without any issues. OpenGL in Java. :aaa:
Have you thought about going to hospital? Maybe get it sawed up (or what ever it's called in English)
Sewn
[QUOTE=Darwin226;22261722]Have you thought about going to hospital? Maybe get it sawed up (or what ever it's called in English)[/QUOTE]
Naw I don't need to. It's already sealed thanks to my genetic clotting conditions which are potentially life-threatening in later life :smugdog:
I'm more likely to clot (factor v leiden), and when I do, I clot for longer (prothombin 20210). Only 0.025% of US people have the combo of those 2 genetic conditions and only europeans can get one of them, I forget which.
I've got so many scars that it isn't even funny. Broken one arm 3 times and the other once, and my finger finally healed after slicing it pretty deep. (Down to the bone D:) :silent:
Sorry, you need to Log In to post a reply to this thread.