Show Posts
|
|
Pages: [1] 2 3 ... 35
|
|
2
|
Discussions / General Discussions / Re: How did you start the career as a Game Dev?
|
on: 2013-06-16 09:50:42
|
What did you all did to become game developer? The first program I ever wrote, back in primary school, was a game. The gameplay was rubbish, but hey. I had a few games under my belt by the time I went to university. In my last year at uni I received an invitation to apply to a local games company - they went down to the Senate house, made a list of everyone who got a first or a 2:1, and sent them a letter. That wound up being my first real job. What should I do inorder to become a GameDev? It doesn't hurt to try to get into a university in a city which has a few games companies. Write games in your spare time. Go to industry conferences with your portfolio on your laptop and show it around. Also play games, but do it with a critical eye: what does this game do well? What would I change?
|
|
|
|
|
3
|
Discussions / Miscellaneous Topics / Re: Quadratic equations
|
on: 2013-06-13 09:36:59
|
Completing the square is the method that I recall the teacher saying takes too long to work out in an exam. It doesn't take that long, and it's the way that the formula you memorise was derived. If you're needing to solve quadratic equations for a game, be aware that there are numerical issues with one half of -b +/- sqrt(b^2 - 4ac) when 4ac is small. The way to handle this is to have a case split on the sign of b and then to use the fact that the product of the roots is c/a.
|
|
|
|
|
7
|
Discussions / General Discussions / Re: JGO mission
|
on: 2013-05-23 11:13:13
|
What would you say are the primary things the JGO offers...or what it wants to offer....
Education, Information, Socialisation, inspiration, or appreciation.. I would add feedback/criticism. It's very hard to look objectively at your own game, and even harder to see it from the perspective of someone who's playing it for the first time. If you can get some friends to try it and watch them play, that helps a lot; but it's also good to get comments (hopefully constructive) from people who understand game development.
|
|
|
|
|
8
|
Game Development / Newbie & Debugging Questions / Re: Tween functions?
|
on: 2013-05-16 14:23:36
|
@Danny02 Yes, that's correct but I wanted to speed up my programming. I mean, copy & paste and use the function.
Of course I can look at the code. But this takes time.
So does debugging code you don't understand because you just copy-pasted it. And that's without getting into the legal issues.
|
|
|
|
|
9
|
Game Development / Performance Tuning / Re: Fast/Efficient method to filter a numeric Value
|
on: 2013-05-09 10:39:05
|
Sorry for being such an overoptimizer tonight but... I'm guessing the compiler is already doing this, but since the value array is static, I could simply inline the array indexing and get rid of the method calling overhead too. Hmmmm.
Yes, the JIT will do that. If you *really* want to over-optimise the fully generic case, you should look at a custom class loader which generates a balanced decision tree... 
|
|
|
|
|
11
|
Game Development / Newbie & Debugging Questions / Re: Bayer ordered dithering
|
on: 2013-05-07 00:32:58
|
Actually I stupidly lost the quantisation. The corrected version is 1 2 3 4
| private static int closestCol(int col, int threshold, int quantum, int ditherSize) { int quantised = quantum * (int)(col / quantum + threshold / (ditherSize + 1f) + 0.5); return quantised > 255 ? 255 : quantised; } |
And of course there's always the option of offsetting things so that you have a half interval at each end and both true black and true white are possible.
|
|
|
|
|
13
|
Game Development / Newbie & Debugging Questions / Re: Bayer ordered dithering
|
on: 2013-05-07 00:10:11
|
This is just the method that reduces the amount of colours available in each channel: 1 2 3
| private int closestCol(int c, int b) { return c / b * b; } |
That's not finding the nearest colour: it truncates rather than rounding. As to the normalisation, the Wikipedia article says The algorithm renders the image normally, but for each pixel, it adds a value from the threshold map, causing the pixel's value to be quantized one step higher if it exceeds the threshold. So in your case with an 8x8 dither matrix you want to add bd * d / (8*8+1). Putting that together, 1 2 3 4 5 6 7 8 9
| int c = pixels[y * w + x]; int d = dither[(y & 7) * 8 + (x & 7)]; int l = dither.length;
int r = ((c >> 16) & 0xff); int g = ((c >> 8) & 0xff); int b = (c & 0xff);
newpix[y * w + x] = 0x000000 | closestCol(r, d, bd, l) << 16 | closestCol(g, d, bd, l) << 8 | closestCol(b, d, bd, l); |
and (corrected below)
|
|
|
|
|
15
|
Game Development / Game Mechanics / Re: Arrow Bow Physics - Help!
|
on: 2013-05-03 14:38:56
|
In a vacuum. Arrows follow flatter paths.
not sure what a flatter path is, quick google search didn't return me anything useful, due to air resistance, it will not be perfect as the horizontal component will slow down, causing the flight path to not follow a parabola that is worked out without the the effect of air resistance. In the simplest model, air resistance directly opposes direction of motion, so it affects the vertical component too. I once did some work on finding suitable air resistance parameters to fit known shell ranges and predict ranges for other shells for a historical warfare game, but I don't remember the values which I came up with. For arrows the gyroscopic effect is likely to be quite significant in preventing the arrow from curving away from the straight line it would naturally follow. (Of course, it's never that simple: there's also precession to take into account...) "The Mathematics of Projectiles in Sport" by Neville de Mestre might be worth getting hold of for people who are interested in realistic simulations. PS HeroesGraveDev, stop digging.
|
|
|
|
|
17
|
Discussions / Miscellaneous Topics / Re: Java + Tumblr?
|
on: 2013-05-02 11:51:46
|
but I would have to be hosting the app on another site.. since i cant upload files.. right?
Depends. In principle a file can be both a valid image and a valid jar. I don't know what their T&C say, though, or what processing they perform on uploaded images.
|
|
|
|
|
18
|
Java Game APIs & Engines / OpenGL Development / Re: OpenGL - alternatives to Java
|
on: 2013-04-23 13:39:25
|
I'm a Java enterprise developer by trade. Following my last review I've been given a personal development objective to expand my programming skills beyond Java - specifically Ruby and/or Scala. Now frankly I've little interest in learning other languages having invested more years than I care to remember in Java and associated technologies, also the marketplace for Ruby or Scala skills is negligible compare to Java or (for example) C#, so why bother!?
But it occurs to me that I could learn another language by porting the Java / LWJGL code-base I've built up over the years, thus satifying the personal objective and doing something that I would be interested in. I believe there are OpenGL bindings for both the languages - correct? The obvious OpenGL binding for you to use with Scala would be... LWJGL. It's a JVM-based language which supports Java libraries natively.
|
|
|
|
|
19
|
Game Development / Newbie & Debugging Questions / Re: Algorithms for Image Shapes
|
on: 2013-04-18 08:51:50
|
|
If you want something faster than a full scan of the bounding box, it seems to me that the best way to do it is likely to be runlength-encoding the alpha channel as a pre-processing step. If your shapes are convex then you only need to store 3 numbers per row, and the overlap check would be two comparisons.
|
|
|
|
|
23
|
Games Center / 4K Game Competition - 2013 / Re: Your top 3 of the most unappreciated games
|
on: 2013-03-27 22:05:03
|
Actually I somewhat agree with ctomni here, I don't think you should normalize the scores first. I too wonder what the results would have been like without normalization... Basically your scores would have had less influence. The other two judges had almost identical means and standard deviations, but your scores were more tightly clustered towards the top end. Edit: but most games wouldn't move in the positions at all; 7x7 would be the most drastically affected, moving down 5.5 places; no other game would move more than 2.5 places, but there would be one tie broken and two (one of them three-way) created in the top 11.
|
|
|
|
|
24
|
Games Center / 4K Game Competition - 2013 / Re: Judging panel results.
|
on: 2013-03-26 09:39:40
|
What were you thinking?! 2 judges put Rainbow Road in first place, the community put it in first place, and you put it in 20th place! Not everyone is a Nintendo fanboy. There are enough of them that Nintendo remakes get a nostalgia bonus, but it's a good thing that the judges have different backgrounds: if they were all clones then there wouldn't be any point having more than one. And it's a good thing that the competitors have different backgrounds, because there were some great games on different platforms that get a second breath of life from someone who used to play them. Appel commented that when he was judging Apo's games he made a conscious effort to judge each game on its own merits rather than against Apo's other games. Similarly, judges should make a conscious effort to judge games on their own merits rather than on the merits of the games which influenced them.
|
|
|
|
|
25
|
Games Center / 4K Game Competition - 2013 / Re: Judging panel results.
|
on: 2013-03-25 15:28:49
|
I don't get it. I know how to play chess, but this is like chess-Sudoku. If you're interested in a real chess-Sudoku, check out http://www.toothycat.net/wiki/wiki.pl?PeterTaylor/ChessSudokuOn a separate note, for the past few years I've calculated the correlations between the judges and the community; interestingly, although this year the correlation between the judges is the lowest since I started doing this, the (Spearman's) correlation between the overall judges score and the community score is almost the same as last year, at 0.725.
|
|
|
|
|
26
|
Games Center / 4K Game Competition - 2013 / Re: Parasite Escape
|
on: 2013-03-25 15:26:03
|
1. Some freezes happen, I think on level 4, but not sure if it's just one level. 2. Instead of pressing 'E' simply have left mouse to shoot gun and right mouse to do parasite jumping.
1. I've had freezes on levels 1 and 2. 2. That's how it works already, isn't it? I'm sure I was using both mouse buttons to play it.
|
|
|
|
|
27
|
Games Center / 4K Game Competition - 2013 / Re: Community voting results
|
on: 2013-03-21 21:25:11
|
I actually had my bets on Dord, not Rainbow Road. You forgot to take into account the Nintendo [dr]emake bonus. My top 3 were Dord, Parasite Escape, Flywrench4k. I'm surprised to see Parasite Escape so far down. Half of my top 12 are in the community top 12.
|
|
|
|
|
28
|
Games Center / 4K Game Competition - 2013 / Re: Community Voting Has Started!
|
on: 2013-03-18 12:03:22
|
Question...
should feedback be anonymous?
Question needs more context. I assumed that the only person who would see the feedback was the game author, but it appears that teletubo and moogle assume that everyone will see it. Which is the case? (Personally I don't mind either way, although I don't think that the individual point allocations should be public or you lose an important aspect of the distinction between community voting and judges).
|
|
|
|
|
29
|
Game Development / Game Mechanics / Re: Best way to sort through giant lists?
|
on: 2013-03-15 22:56:58
|
Lol, that was just some psuedocode.
That's good, because the logic's back to front as well. Do you really need to find all entities within range, or would you be better using something like k-nearest, which is a well-discussed computational geometry problem?
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|