4,541 reputation
11231
bio website
location Germany
age 20
visits member for 1 year, 10 months
seen 1 hour ago

C++ Programmer, Game-Designer and Pixel-Artist.

Twitter: @API_Beast


Mar
14
comment Player & Level class structure in 2D python console game?
Don't think of classes as "Objects", think of them as "Bundled Functionality."
Mar
13
revised How do some mobile games scale graphics so beautifully?
added 74 characters in body
Mar
13
revised How do some mobile games scale graphics so beautifully?
added 793 characters in body
Mar
13
comment How do some mobile games scale graphics so beautifully?
Ah, fonts, that's a very special case, since every single character is so small.
Mar
13
answered How do some mobile games scale graphics so beautifully?
Mar
12
comment How to accurately count 1 second within my logic update?
time += 1000000000; instead of time = system.nanoTime(); else you are skipping a few milliseconds each time.
Mar
11
comment Why is my gameloop logic not being restricted to 60 per second?
VSync is waiting with processing of the next frame until the last frame is send to the monitor. The GPU sends frames in a fixed interval (which is typically 60Hz, e.g. 60 times per second). So by activating VSync your frame rate will be limited to the refresh rate of the display. Without VSync some unfortunate frames might be rendered but never displayed. How you activate VSync differs from framework to framework.
Mar
11
comment Why is my gameloop logic not being restricted to 60 per second?
Though you probably want VSync instead of manually limiting the frame-rate.
Mar
3
comment Modify random distribution functions :: Make it less likely to get multiple similar values in a sequence
Wow, that function is pretty damn cool. Didn't know that a function like that is actually that simple :) Link for the lazy: bit.ly/1pWOZMJ
Mar
3
comment Modify random distribution functions :: Make it less likely to get multiple similar values in a sequence
Could you go a bit more in-depth about defining the distribution function? The rest should be pretty clear.
Mar
3
revised Modify random distribution functions :: Make it less likely to get multiple similar values in a sequence
edited title
Mar
3
comment Modify random distribution functions :: Make it less likely to get multiple similar values in a sequence
@AlexandreVaillancourt en.wikipedia.org/wiki/Probability_density_function
Mar
3
comment Modify random distribution functions :: Make it less likely to get multiple similar values in a sequence
@MennoGouw Yes, that would solve it for this specific case, though I want to improve my understanding of probability so I am looking for a "softer" solution without hard limits/discarding generated numbers.
Mar
3
asked Modify random distribution functions :: Make it less likely to get multiple similar values in a sequence
Mar
1
reviewed Reject suggested edit on Bezier Curves for visual programming node connectors
Feb
28
reviewed Approve suggested edit on How do I send multiple matrices to a vertex shader?
Feb
26
comment How do I create smoke-like beam or aura effects?
This a combination of many effects, not just a single one, though I suppose you could do low quality versions of both with particles.
Feb
23
reviewed Approve suggested edit on How to outline a 3D object with a cartoon style stroke?
Feb
21
comment How can I stop the player from drifting due to local input prediction when they stop?
Well, that doesn't look like a peer-to-peer model either, just because one of the players is posing as the server doesn't make it peer to peer. The technique you are employing is definitely a Client-Server technique. In P2P you either trust all clients completely (e.g. each peer asks each other peer where their player is) or you trust none (e.g. you delay the input until all peers have received it).
Feb
20
comment How can I stop the player from drifting due to local input prediction when they stop?
A P2P game that has a server? There is something wrong here.