Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (555)
Games in Android Showcase (148)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 27
1  Java Game APIs & Engines / OpenGL Development / Re: Post Processing OpenGL Framebuffer Practices on: 2015-02-28 05:49:17
Why have shaders for each..? Ideally, I would want to rerender the scene as little times as possible. You can copy framebuffers to one another, but there's really no point in doing so in your case. You could just allocate a regular texture to hold the framebuffer in while switching shaders, but again why the two shaders? Organization?
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-28 02:14:44
Shaving seconds off my Rubiks times. Learning bits and pieces of the Fridrich method has gotten my time down to 44 seconds! It's funny, I've been keeping track of my times ever since I started trying to learn speed cubing and you can see a definite linear decrease which I'm expecting will flatten out shortly. Of course these aren't my only solves, there's hundreds of solves between these timing sessions.

3  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-26 04:57:26
I added dynamic script map loading and also fixed dithering (thanks to pitbuller for his help!)
Now I have to code the actual editor instead of editing it externally, and add levels n stuff. It looks like the dithering thing is still there in the gif for some reason but it looks nice in real life.
Edit: Also got my 100th medal + Kernel! Cool!

4  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-24 04:56:58
Learning faster ways of solving a Rubiks Cube. Today I got my time consistently under a minute!
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-24 03:04:28
Both are lit from the right side...what's the problem with that?

On the more high def picture, imagine how it should look when light is hitting it directly from the right. The tentacles would be lighter on the right side, maybe a bit of a highlight if the tentacles are slimy. And unless these tentacles have strange and unnatural bulges, the darker areas should conform to the shape of the tentacle's outline.
Here, I've outlined the areas where you could put highlights and shadows. I'm just using my mouse and did it in like 30 seconds so take it with a grain of salt. Little details make a huge difference.

6  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-23 19:28:10
Tried to learn drawing again, but with pixel art this time. It was fairly easy, drew this in just 5 minutes.

The problem in these pictures is the shading. Think of where the light would be and draw the darker areas accordingly. In your image the left tentacle certainly does not agree with the right tentacle on where the light is. And your specular highlights in the blue head area seem completely random.
7  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-22 21:05:41
Really nice thing for you to do man, thanks a bunch. I didn't take any but I'm sure you made a few people's day Smiley
Have a medal
8  Discussions / General Discussions / Re: Motivation on: 2015-02-22 04:06:53
- When I sell no copies of my game what so ever in a day. (It's rare, but it happens sometimes)

You bastard, be happy you're selling a game. Wink good luck with that btw
9  Game Development / Game Play & Game Design / Re: Polygon spaceships art style? on: 2015-02-20 06:14:51
If you're going with low poly models, make sure that when you do the lighting you do it pervertex so you don't get the interpolated normals (which would happen in fragment shader).
Edit: Went full retard and didn't read the posts after the first couple. Yeah if you're doing 2D there's not much I have to offer, sorry.
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-19 20:42:31
Haha I know, it wasn't really something I had thought about while making it. Will fix! Thanks Smiley
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-19 19:18:37
Some correction in coloring and normal mapping. Currently I'm trying to figure out a rendering scheme that places the characters on top of the shadows, but still affects them with the lights. Hm...

12  Games Center / WIP games, tools & toy projects / Re: Clash Tune : tune your armies, clash enemies ! on: 2015-02-19 00:46:57
Maybe I'm the first to mention it, but I doubt I'm the first to notice it.
13  Games Center / WIP games, tools & toy projects / Re: Clash Tune : tune your armies, clash enemies ! on: 2015-02-18 23:56:32
A quick graphics suggestion, if you can, make a little ambient occlusion appear between the building's/player's bottom and the ground. Because you have AO on your cubes (presumably the per vertex AO type that most voxel games use) it looks strange to have none appear on the ground.
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-18 22:54:24
Dynamic, penumbra'd (yes that's now a word), multisource shadows with blending. Oh, and some fake normal mapping. I also implemented map creation from lua files, like you see in the top left.
Based off of davedes article!
Edit: I also have the solving of a rubiks cube completely memorized and can do it all without looking at a reference Cheesy

15  Game Development / Game Mechanics / Re: Calculate Derivatives for Newton's Method on: 2015-02-16 17:59:12
It was pseudo code.
16  Game Development / Game Mechanics / Re: Calculate Derivatives for Newton's Method on: 2015-02-16 17:05:31
I suppose so.. I haven't worked extensively in that area but I have a friend who has so I'll ask him. Anyways, thanks for all the help guys.
17  Game Development / Game Mechanics / Re: Calculate Derivatives for Newton's Method on: 2015-02-16 17:02:22
Ah hell it works... However with the caveats you mentioned, why do neural network training methods like quick propagation use newton's method instead of bisection and then newton's like you said? It seems like that would be faster, which is a necessary thing with ANNs.
18  Game Development / Game Mechanics / Re: Calculate Derivatives for Newton's Method on: 2015-02-16 16:45:25
Thanks for the replies guys. I'm not really looking for performance here, so the amount of iterations won't really matter to me. Couldn't I just use a static value to always start x1 at? If performance isn't an issue then I don't see how much of a difference it could make.

You take the answer from the last iteration (xn), stick it into the next iteration (xn-1)
I think you meant to switch those around.(?)

The main purpose of me doing this is for later calc classes actually. I'm not currently in any calculus courses but I like math and learn better by teaching myself of course with the help of you guys. Anyways, so that derivative function could be represented in code as

double f(float a) {
  return Math.pow(a, 3) - 10;

double deriv(float X) {
  double a = X;
  double h = 1e-10;
  return (f(a+h)-f(a))/h;

So I could, with a const value, 3, for x1, create the newton method like so:

double X = 3;

for(int i = 0; i < iterations; i++) {
   X -= (f(X)/(deriv(X)));

Edit: I made a really stupid mistake, give me second, fixing it
I didn't use X for a when calculating the derivative. God I'm so stupid sometimes..

I just tested this code and it works perfectly!

Regarding delt0r's comment, I do know what I'm doing... kind of. That's why I'm here, to understand it better. Thanks for the bisection method suggestion, I'll check that out too!
19  Game Development / Game Mechanics / Calculate Derivatives for Newton's Method on: 2015-02-16 06:38:14
Just for the heck of it I decided to try to code Newton's method today. Basically it's a way to estimate the roots of a continuous function by using tangents.
Check out the wikipedia article on it if you've not heard of it, it's very cool.

However what I don't understand about converting it to code is how to determine the derivative for xn+1 = xn - f(xn)/f'(xn)

This ( article says you can use a secant method to determine the derivative, however that honestly makes no sense to me... From what I understand the secant method is another means to finding the zeroes of a function. Could any math wizards out there provide a little explanation? Thanks.

Edit: Also a quick question, when I worked it out on paper using the aforementioned articles solution I didn't get the correct answer when I started at 3 with the function x7-1000. Using newton's method with my own calculated derivative (7x6), I got 2.690 as x3. However the article requires a xn-1; When I'm at x1, what do I use as xn-1 (which would be 0)? Could be a stupid question, sorry if it is.
20  Discussions / General Discussions / Re: Future career in programming and school suggestions? on: 2015-02-16 06:28:49
It's definitely my choice to go to MIT, it's been a dream of mine for as long as I can remember. My parents couldn't really care less as long as when I start my career I make enough money to pay off the tuition they payed. Just thinking about my future and talking about it like this really motivates me and I will be working a lot harder from now on. In 2 years I'll make sure to tell you guys how it went   Smiley
21  Discussions / General Discussions / Re: What's your day job? on: 2015-02-15 22:12:10
Not a full blown career because I'm still in high school but in the summer I work as an intern for a company that develops educational software for schools; They recently went international which is pretty cool. During the school year I'm now working with egghead games when I have time.
22  Discussions / Miscellaneous Topics / Re: What is your line/char count? on: 2015-02-15 21:57:07
In my Battlefield hack I'm estimating around 4k lines of the actual hack and about 3k more of the reversed SDK.
About a year ago I was working on that block game which had around 8k if I remember correctly.

When you think about it, it's really impressive that we can remember all the data structures, class flow, and everything our code does. It's thousands of lines and in [removed: some] many cases hacky little fixes that our brains can process in milliseconds.
23  Discussions / General Discussions / Re: Future career in programming and school suggestions? on: 2015-02-15 19:58:55
Thanks a bunch Kev. It's a strange thing, growing up. It's coming a lot faster than I expected it...
24  Discussions / General Discussions / Future career in programming and school suggestions? on: 2015-02-15 19:01:23
Recently my parents have been rather irritated with my performance in school and life in general. What I'm looking for here is some suggestions for my future career and school life.

Parents came in to my room today to have a big talk about school, priorities, and my future. They were sad that I was becoming just an average A/B student and were all in all disappointed in me. They want me to do well and they're seeing me kinda fall off into the deep end because I have horrible priority planning; All I do is program. It's really bad. I maintain As and Bs however if I want to go to MIT I need to pick my shit up. However I'm currently in my sophomore year in high school and I'm getting the feeling that I've already blown things. Good universities want straight As and already in my freshman and sophomore year I haven't fulfilled those requirements. In terms of other skills I'm first chair first violin in my school orchestra, play guitar, program well (or so I've been told..), and am fairly fit. But I'm starting to get scared it's not enough and I'm falling into this sort of pit of despair that I've already destroyed my chances at getting into a good school. All of this just so I can get a decent paycheck and do what I love, program, for the rest of my life.

For anybody that's already been through college and now programs for their job or just has had this experience already, I'd really appreciate some sort of motivation or confirmation that I haven't completely screwed my future already.
25  Game Development / Newbie & Debugging Questions / Re: convert expression for use with vecmath on: 2015-02-15 18:00:48
You could always create a quick wrapper class that does it for you. Or some public static methods in a Util class. Many ways to solve this, just depends on how you like to code things.
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-12 21:23:29
Well I solved the Rubiks cube at least 20 times today during school. I think I have all the moves memorized Smiley took me 3 days to learn it all.
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-11 23:14:31
Got 2 new routers today to extend the signal around the house.. We're pushing 60 mbp/s. Wowee..
Edit: I also just solved Rubik's Cube!
28  Discussions / Miscellaneous Topics / Re: How to get started with music production on: 2015-02-11 05:51:36
I have a friend who develops EDM without anything external (except his keyboard of course). You don't need fancy materials to make great things.
Edit: 800th post!
29  Discussions / Miscellaneous Topics / Re: Bit pissed off at uk school system... on: 2015-02-10 21:26:10
Well there's 2 sides to the matter. Obviously it's great if the student has something illegal/dangerous or has information on their phone that, if acquired, could stop something terrible happening. On the flip side I could certainly see teachers taking advantage of this. There are many teachers at my current school (in the US) that would take this opportunity and have a great time pulling all sorts of bulls**t. The majority of the teachers there are great but you're always going to have a few that hate their job and will pull stunts like they were a young student themselves. I hate to put it like that, but unfortunately it's how things can play out. Give someone power and they're going to abuse it if that's their personality.

They should have some sort of rule where the teacher needs to at least call into the main office and provide ample reason for the search and get a 'yes' from someone before being able to do anything. Not too much effort to the point of where the teacher would just ignore small things but enough to where they won't be able to search a kid just because they're having a crappy day or don't like the kid.

Again, don't take this as me saying all teachers are power abusive freaks; I love most of my teachers.
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-10 21:17:35
A start? I spend 2 hours on a drawing, and it has almost no detail!
Also, I'd move the mouth slightly to the left, so the proportions are slightly more correct, but other than that, it's effing amazing!

Lots of practice Smiley I've taught myself like I taught myself programming, just lots of internet searches and time. I'm not really even good yet sadly; Drawing is a difficult thing. But thanks for the suggestion, I'll do that!
Pages: [1] 2 3 ... 27
BurntPizza (21 views)
2015-02-27 06:09:35

BurntPizza (19 views)
2015-02-27 05:56:17

Riven (10 views)
2015-02-27 02:34:15

Riven (17 views)
2015-02-27 01:47:26

Riven (17 views)
2015-02-27 01:46:04

BurntPizza (12 views)
2015-02-27 00:52:04

BurntPizza (14 views)
2015-02-27 00:50:29

Riven (34 views)
2015-02-26 23:38:45

Riven (10 views)
2015-02-26 23:37:24

BurntPizza (29 views)
2015-02-26 21:13:04
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!