Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (591)
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 ... 17
1  Discussions / Miscellaneous Topics / Re: How to not suck at pixel art? on: 2014-11-23 17:16:32
looks like a really overpowered sword in Terraria XD

I think it looks like a speed boat!
2  Java Game APIs & Engines / OpenGL Development / Re: JOGL: Lighting the Inside of a Cube on: 2014-11-23 16:21:41
My aim isn't to get you in trouble, don't worry. However, next time, please respect this instruction if you don't want to get us in trouble.

Eh, you don't have to "aim" to get me in trouble, to get me in trouble!

But I did post to the JOGL board originally, and only made this post after several days of crickets over there...
3  Discussions / Miscellaneous Topics / Re: How to not suck at pixel art? on: 2014-11-23 16:20:51
Like VIrtueeL said, this doesn't look very "spaceship-y" to me. I don't think the problem is just shading; the problem is that nothing really jumps out as "spaceship" from the sprite.

Maybe it looks much better when it's animated (maybe you have some particle effects that come from the rocket part?), but if you're looking for advice (from a non-artist myself), then I would say that you should maybe try to add more "spaceship stuff" to it- fins, rockets, windows, etc.
4  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-22 19:18:46
Which is why I think most people suck. The don't value intelligence or justice. They value power, "fun", money.

I don't really disagree with some of the stuff you've said. But I also think you're setting up a false dichotomy between "the smart people who don't drink" and "the stupid people who do drink". That's like me saying that everybody who plays video games is an idiot, because I've seen people ruin their lives by playing WoW for 12 hours a day. It's like me saying that everybody who watches any TV is an idiot, because I know people who watch TV instead of doing anything with their lives.

I fundamentally think that all drugs are morally wrong... Right and wrong, morality, is not about directly influencing anyone, anyway. If you choke a stray kitten to death, thats wrong. No one really cares, especially if no one knows... The universe doesn't care, nature doesn't. But right and wrong are not about that.

I'm not really going to get into this because it's mostly subjective, but there is an idea of "morality from evolution" which I talked about in this post. That's why killing kittens is morally wrong. But I think you're making a bit of a subjective leap to tack on "all drugs are morally wrong", but hey, you're entitled to your opinion. It's just mildly frustrating to be called *immoral* because I drank some beers while watching Galaxy Quest on my couch last night.

looking at all the news, historical events, medical effects, no one can defend alcohol really, all they can say is "well its not that bad if you don't do it too much" - you could stop altogether, but that would be harder.

This thread has listed several "defenses", but again, if you don't want to drink, then please don't. But not everybody who drinks is immoral, either.

Many people would say that eating meat is immoral. Or that giving less than 50% of your income to charity is immoral. Or that not protesting war is immoral. The point is that this stuff is subjective, so it seems a bit unfair to make broad generalizations about people you don't know.

Bill Cosby did a famous bit about him being confused how getting drunk can possible be "having a good time", I recommend it:
But he also tried to be an intellectual his whole life, while people usually just try to work their dead end jobs and burp the loudest they can. Different set of goals in life Tongue

Are you really using Bill Cosby, who is currently being accused of raping many women throughout his career, as an example of intellectualism and moral superiority? I guess I don't really have to say anything to that!

You dont have to agree, people usually don't, I'm just sad that in general our society embraces dumbness so so so much more than intelligence.

Again, I think you're setting up a false dichotomy. Some of the most interesting and intelligent conversations I've had were over a couple beers. It would almost seem less intelligent to make the kind of broad generalizations and over-dramatizations that have been made in this thread.

Too much of anything is bad. People who spend all day on the internet looking at buzzfeed and reddit are probably missing out on quite a bit- but then again, the internet can also be used to connect people all over the world. People who spend all day watching TV are probably missing out on quite a bit- but then again, tv can be a great provider of information and entertainment. People who can't handle themselves while drinking are probably missing out on quite a bit- but then again, a few beers every now and again can be great for some people. People who play video games all day are probably missing out on quite a bit- but then again, video games can also be beautiful, artistic, or just plain fun.

Not everybody who drinks is an immoral idiot, just like not everybody who watches a little TV is an idiot. It's honestly a little rude of you to make broad generalizations like that, IMHO.
5  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 23:19:49
I'm sorry if it came out that way, but from my perspective you're just acting defensive now. Since this is a topic I rarely get any serious answers for and you were kind enough to answer my questions I wanted to continue the debate...

No worries, I'm not trying to be defensive. I just think we're having two different conversations: you're complaining about people who drink too much and act like idiots, and I'm defending a quieter type of person who has a beer and watches Galaxy Quest with the gf (which is exactly what I plan on doing tonight).

The truth is that you have every right to be annoyed by people who act the way you described- if your friends really are endangering themselves and others, then that's pretty ridiculous. But not everybody (or not even *most* people) who drinks is like that.

I want YOU pretend you're going to convince ME to start! If that makes sense...

It makes sense, but that's not really my style- if you don't want to drink, that's cool, and you shouldn't. Nobody should try to convince you otherwise.

There are lots of things that you shouldn't eat or drink at all, like fast food and candy in general. Moderation implies that the action has some sort of benefit when done in small controlled amounts. Something inherently dangerous and possibly damaging shouldn't be done at all, especially since from my perspective it doesn't really hold any advantage.

I've described some of the subjective benefits, and other people have mentioned the health benefits of drinking *in moderation*. And sure, people who don't eat candy at all are probably better off than people who eat a pound of candy every day- but what about a person who unwinds with a single candy bar on the weekend? Can't the *subjective* benefits (decreasing stress levels, increasing happiness) outweigh the *objective* downsides (becoming fat)? It's the same with drinking beer- if all I did was work *all the time*, eventually I'd crash from the stress. Or I can counteract that by just unwinding with a beer on a Friday night- and sure, other people might unwind differently, and that's cool. But having a Mad Elf and watching Galaxy Quest sounds like a perfect Friday to me!

And yes, I most likely am overestimating the risks of getting drunk, or rather the potential dangers that follow, like accidentally hurting yourself or others, embarrassment forever immortalized on social networks, or simply being a generic nuisance to everyone around.
Those are all things that scare me a lot, probably more than other people (?).

Yeah, I think you've hit the nail on the head. It's fine to have reservations or to not want to drink at all! But some of the stuff that's been said in this thread sounds like it came directly from a middle school guidance counselor, haha. If the people you know are getting so drunk that they hurt themselves or others, then that's a huge problem. But most people aren't like that, so I think it might be a little bit of paranoia to worry *too* much about it. But again, if you don't want to drink, that's completely okay!

I'm not accusing you of endangering anybody by having a beer, but as far as I know there isn't a threshold for when alcohol starts affecting you negatively. As an example of what I mean, I did some quick Googling and came to the conclusion that I can drink up to 3 beers and still legally be allowed to drive, but after drinking 3 beers the same chart classifies me as "impaired". For me (and probably 99% of everyone out there) it isn't about being "legally" drunk; it's the fact that if I've drunk any amount and end up causing an accident I would not be able rule out that it was because I was "impaired" by whatever tiny amount of alcohol I had had, and that I could've done something different to avoid that outcome. I realize that I'm again exaggerating with a rather extreme example, but that's still how I feel even if we take the driving out of the equation.

That's a different thing altogether- I don't drive even if I've had a single beer. I'm pretty sure I can't hurt anybody watching a movie on my couch, haha.

For the record, I do enjoy having a cider every now and then but that's solely because I think they taste good and that they're more socially accepted than Coca Cola.

This is just me rambling now, but it's interesting- ciders aren't really a thing around here, and Coca Cola is pretty much everywhere. Interesting that our locations have beer in common though, haha.

I don't know... It feels like whenever I try to ask people what they enjoy about drinking they usually get all defensive and just respond with some variation of "I don't drink so much that it's dangerous so why do you care?" which doesn't answer my question, so it was a pleasant surprise that you guys took my question seriously.

I guess it's because some of the things that have been said in this thread are a little bit dramatized- I'm not here to defend people who get so drunk they endanger themselves, or to defend people who drive drunk. So if you ask people to speak for that type of behavior, they might get a little defensive, because people who can enjoy drinking responsibly are probably just as annoyed with those types of people as you are. So lumping us all together as "people who drink" seems a bit unfair, know what I mean?

I've drunk and brewed craft beers for 4 years now.

I don't suppose you ship to Washington DC, do you? :p
6  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 17:39:58
Also, you don't instantly become dumb when you drink alcohol, it's just that it's more common that dumb people go over their limits Smiley

Nailed it.

theagentd, *this* is the answer to the question you're actually asking. This is why your friends act the way they do. It doesn't mean that the rest of us are like that.
7  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 17:19:46
Like I've said, I'm not really here to talk anybody into anything. I seem to have been sucked into a "debate" that I don't really have any interest in- I thought you were asking a general question out of genuine curiosity, so I thought I'd chime in, but I think what you really want to do is complain about your friends- and that's cool too, I just don't have much to say about that other than "yeah, that happens, and it sucks."

I don't think this is valid comparison. Eating ice cream does have clear benefits. It's sweet and tasty and can cool you down on a warm summer day. Alcohol on the other hand doesn't taste good (God, it tastes like cough medicine...) or improve anything. In my opinion there's no clear advantage in drinking, but a majority of people I know still enjoy it. That's what I'm trying to figure out.

I do think it's a fair comparison: your original question was "why do people eat ice cream?" and I said "here is why some people eat a couple ice creams a week" and you came back with "but my friends eat 25 ice creams every weekend, so people who eat 2 ice creams are stupid." That's an oversimplification, but do you see how we might be having two different conversations?

Too much of anything is bad for you. Too much *water* can kill you. Too much ice cream is bad for you. Too much beer is bad for you. But a little ice cream, like you've said, can be beneficial. So can a little beer.

Other than that, I've given you a few reasons, so I don't think you're necessarily trying to figure it out, as much as you are trying to prove it wrong- and with something as subjective as this, I don't think that's going to happen.

It endangers both you and your friends and also waste the most valuable resource you have in life: time.

Sorry, but how did that single beer I drank last night endanger anybody? And if I deem that as time well spent, who is to say I'm wasting it? That's the kind of over-dramatization that made me chime in in the first place.

Again, you seem to just want to complain about your friends, and that's fine, but I don't think it's "alcohol's fault" that your friends are changing so much, and I don't have any wise words for you other than to agree that it sucks when that happens.

I'm no longer hanging out with them. Speaking of which, I met one of them at my uni a few weeks ago. He asked me for help with defining variables in Java. He's on his 4th year and he's had 4 classes on Java.
PS: We're both studying compute science but he's on his 4th year and I'm on my 3rd.

I understand your feelings there. I think many people have a propensity to *not* be interested in things, and they can gravitate towards brain-numbing things like television, smoking, video games, and sure, drinking too much. I've seen people choose to play WoW instead of go to class, or even go on dates. But there are also many people who *are* interested in things, who do go to class every day, but who want to play video games for a couple hours every once in a while. So it's not as simple as "everybody who plays video games is a slacker", just like it's not as simple as "everybody who drinks 3 beers is a raging alcoholic".

Again, sorry that your friends changed, but I don't think it's as simple as blaming alcohol, and not everybody who enjoys beer is like your friends.

I'm just trying to answer your original question, not get into a big debate. So I'd be happy to answer any other questions you have, but if really what you want to do is vent about your friends (which is fine, really), then I think I'll bow out of this one.
8  Game Development / Newbie & Debugging Questions / Re: Buttons, Reading Files, and reading pastbin files. on: 2014-11-21 16:11:40
Then you need to just keep track of the line number you're on, and either parse the line or don't depending on the current line number.

You can also take a look at the Integer class for useful methods for parsing a String value.
9  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-21 16:06:59
Like I said, if you don't want to drink, don't do it! I'm just trying to answer the question and balance out some of OP's "woo alcoholic beverages" nonsense. I'm not here to convince anybody of anything, so if you don't want to- just don't!

Well, I don't drink coffee or energy drinks either, so... =P

Ha, I knew somebody would come along with that response.

I guess the closest I can come then is: have you ever had ice cream? Ice cream is just sorta fun to eat, and can put you in a better mood. But it is also really bad for you, so why do you do it? I've seen lots of people go from skinny to fat, so I don't really like ice cream, so why do you?

(See what I'm trying to do?)

I know, but there is no threshold where it starts affecting your judgement, coordination, motor skills, balance, humor, etc. Any amount of alcohol affects your mind and body.

And any amount of ice cream will affect your body. You asked why people drink, and I'm just trying to give you the responsible reasonings instead of the cliches in this thread.

I've seen a lot of people do stupid stuff that for some reason was fun. I used to have a lot of friends in middle school, and we hung out a lot long after we all went to different high schools. We had so much fun doing pretty much nothing. We just walked around and talked about stuff during the whole summer vacations and stuff like that. Then everyone turned 18 and just hanging out wasn't good enough anymore.... What really bothered me was how much everyone had changed...

That happens to everybody. I've seen that happen too, and I don't think it's as simple as "people who drink change". I've seen people get lost to WoW, or smoking, or to TV. Everybody is figuring out what their interests are. And sadly, for a lot of people, that answer seems to be "nothing", and that's when they drift down a road of becoming, well, boring. That doesn't mean that it's all because they started drinking though.

And that's not even touching on the existential fact that these people probably say that *we* were the ones who changed and became boring.

My point is that blaming it all on drinking is an oversimplification- your friends probably would have drifted apart no matter what. It's just that drinking is the most obvious change, but at 18 it's nowhere near the biggest thing that's changing.

What bothers me is how people that are normally very cautious and careful think it's completely safe to drug themselves in a public location. It's scary to see people you care about being so vulnerable, and in many cases you are relied upon as the person who doesn't drink. As I don't see what the point is of alcohol, it just needlessly worries people who care about you and in general is really inconsiderate as it thrusts a lot of responsibility on me. People are supposed to be able to take care of themselves. There's other stuff like people spewing out all their long-kept secrets or even exaggerating or making up stuff just to seem cool ("I'm more messed up than you, haha!"). Again, it's inconsiderate to other people. It's like wearing a seat belt. Half the reason to wear them is to protect yourself. The other half is not to make people who care about you worry, and to not hit the person sitting in front of you if you crash.

It honestly sounds like the problem is, you need to find better friends. :p
10  Game Development / Newbie & Debugging Questions / Re: Buttons, Reading Files, and reading pastbin files. on: 2014-11-21 01:02:07
What are you using? Swing? LibGDX? Something else?

What have you tried? What has google told you? Which exact part of this are you stuck on?

Can you create a separate example program that just prints something to the console when you click a button?
Can you create a separate example program that just writes to a file?
Can you create a separate example program that just reads from a file?
Can you create a separate example program that just reads from online data (do you mean a URL or a database or something else)?

The point of those questions is to encourage you to break this down into smaller pieces. Focus on one step at a time, and post an MCVE when you get stuck.

Good luck!
11  Discussions / General Discussions / Re: Anyone know sources and tutorials for a trading card game on: 2014-11-20 19:00:54
First off, you need to decide what you want to use, since that's going to impact how you proceed.

But it honestly sounds like maybe you should start out quite a bit smaller: have you created Pong yet? How about adding images to your Pong game?

You're starting out by asking how to build a car, when really what you need to start with is a bicycle. Once you have the bicycle built, then add a third wheel, then a windshield, then maybe a 4th wheel, then an engine, etc.

Start out with a much smaller project and work your way towards your end goal of creating a card game. A card game like this has a lot of different pieces that you need to focus on one at a time, and the best way to do that is by starting much smaller.
12  Game Development / Newbie & Debugging Questions / Re: How would I make one of the tiles disappear from this array? on: 2014-11-20 17:02:07
Step 1: Use a MouseListener (I'm not familiar with LWJGL, so it might have an internal MouseListener you can hook into) to detect when the user clicks.

Step 2: Use that click event to figure out where on the screen the user clicked. Translate that point to a cell in your array.

Step 3: Disable/remove that cell.

If you're having problems with step 2, then get out some grid paper and draw an example grid. Make some random points in that grid, and translate them to their position in the array. Repeat that until you've found a pattern.
13  Discussions / General Discussions / Re: Anyone know sources and tutorials for a trading card game on: 2014-11-20 16:16:50
Which part of this is giving you trouble?

It's hard to answer general "how do I do this whole thing" type questions, which is probably why you aren't finding tutorials teaching you how to do everything from start to finish.

Instead, you have to break your problem down into much smaller steps, then approach each small step one at a time. That's where you'll find tutorials- on one small thing, not on the large project.

It looks like you've started breaking things down into steps, but you have to go further- instead of asking how to click a deck, figure out how to click *a rectangular area*. Then figure out how to draw an image in that location. After that's working, then think about the data structures you might need. Break everything you can into as small a piece as possible, then take on the pieces one at a time.

What are you writing this in? Swing? LWJGL? LibGDX? Something else?
14  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-20 14:55:58
As someone who's never drunk more than a cider or two... Why do you guys do it? I seriously don't get why people drink alcohol at all. You barely remember anything at the end. What's the point of temporarily impairing your brain? To get the courage to speak to girls/guys? Group pressure? Reality escaping? Seriously, why do you guys drink?

If you don't want to drink, don't. If it doesn't sound fun, don't do it! That's completely okay, and I'm not going to be the guy who tells a bunch of teenagers on the internet to start drinking beer.

But since you asked, and since OP's exploits do not serve as an indicator of the rest of us, I'll bite.

But I repeat: in no way is this explanation me telling anybody to start drinking if they don't want to.

Anyway, no, it's none of that: it's not about impairing your brain, it's not about courage, or group pressure, or escaping. It's also not about becoming forgetful or feeling like you're driving a car too fast. All of that is nonsense.

Have you ever had just a little too much coffee or soda, and the caffeine made you really energetic, but in a focused way? Like in a way that you find yourself coding for a couple hours, becoming sorta "in the zone", listening to music and getting work done? That's really fun, isn't it?

But why do you do that? Is it because you *can't* code without caffeine? Is it because something is wrong with your life? I mean, after all, caffeine is a pretty harsh stimulant, it's extremely addictive, and it leads to headaches, heart palpitations, and mood swings. Is it because you want to feel the same as when you drive too fast?

And the answer is a pretty obvious NO. You do it because, well, it's fun. And it's hard to explain exactly why.

That's how drinking is for a lot of people. (If it's not like that for you, then that's completely fine, but that doesn't mean everybody who drinks a beer is going to have permanent brain damage like some people are making it sound.)

And it's not all about being loud and crazy, or even social, or any of the things people mentioned above. For example, tonight I plan on drinking a single beer (Rogue's Santa beer is back in season!) and playing Shadow of the Colossus. I'm not going to get out of my mind, but I am going to relax on my couch for an hour or so. Do I *need* that beer? Nope. But you don't *need* that coffee to code, either.

Anyway, like I said: if you don't want to drink, then you shouldn't. Simple as that. But it's also not about "feeling like you know everything" or anything cliche like that.

Hope that answered your question and clears up some of this "drinking is for escaping and feeling like you're immortal" nonsense.
15  Game Development / Game Play & Game Design / Re: Represent entity with multiple points on: 2014-11-20 14:28:03
The problem however remain, when the position change how the other points change relative to that position?
I'm thinking that there will be too much physics to take care off for implementing it from scratch. Do you know any framework that do something like this?

Are you trying to do this in 3D or 2D?

The basics are just basic trigonometry: if you know the body position, the angle of the leg, and the upper-leg length, then you can figure out where the knee should be. Then if you know the angle of the knee and the lower-leg length, you can find the location of the foot.

But, imho, this approach is overkill for what you want to do. Just figuring out where the legs should be is going to be hard enough, then to have that interact with the world, then to try to make that interaction realistic? That's probably not the approach you should take. For proof, try playing QWOP.

Instead, you should probably try to simplify the interaction: do you really need the legs to interact with the world? Or do you just need them to animate realistically, and then use hit boxes to detect collisions?

You could also try a physics engine like JBox2D, but I highly doubt your complicated approach is going to work the way you're hoping it will.

Either way, good luck.
16  Game Development / Game Play & Game Design / Re: Represent entity with multiple points on: 2014-11-19 22:29:56
I'm not really sure what your question is.

If you want to represent an entity as a collection of multiple points, then you'd just create a data structure that contains those points. Something like this:

class Person{
   Point head;
   Point leftFoot;
   Point rightFoot;
   Point centerOfGravity;

What have you tried? What exactly are you stuck on? It's pretty hard to answer general "how do I do this" type questions other than by telling you to try something out and post some code.
17  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-19 14:14:32
Thank you very much for your advice. Yes, I am an idiot indeed.

Don't worry, we were all idiots at your age.

The trick is realizing you're an idiot and then growing out of it.
18  Game Development / Newbie & Debugging Questions / Re: 2D Destructable Terrain / Lemmings / Worms... The easiest way? on: 2014-11-19 14:13:50
Another way to look at is as a large 2D boolean array: true means there's ground there, false means it's empty space. This is how a lot of games work (think about Mario's blocks), you just have to have very fine resolution (each grid in the array is a pixel).

When an you want to "rub out" some terrain, you simply figure out where in the array to destroy, and set all of those booleans to false.

This isn't different from what VIrtueel is suggesting- I'm just pointing out that you don't need to use an image or pixel values, just a grid data structure of some kind.

You could expand this approach to use an array of enums instead of booleans, if you wanted to support different types of terrain.
19  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-18 14:19:28
Wow, this thread has not been thrown to the chitchat monster yet?

Anyway, aren't you guys being just a bit harsh?

This sounds like pretty typical "teenager not really used to drinking bragging about their crazy exploits" stuff, which, sure, probably belongs somewhere like reddit or 4chan instead of a Java programming forum.. but you guys are acting like OP is going to be homeless and dead in a year.

But then again, that over-reaction sounds like pretty typical "teenager not really used to drinking thinking everything is the end of the world" stuff, which I suppose makes sense.

OP: Yes you're an idiot, but only because bragging about drinking a half a bottle of vodka is like bragging about how cool you were in high school- nobody cares or finds it impressive, and in fact your bragging is a pretty strong indicator of a personality that hopefully you'll be able to outgrow.

Everybody else: Yes OP is an idiot, but I doubt this one instance is an indicator that he's going to drown in his own vomit. Shame him for bragging about lame things, but leave the fearmongering to your school guidance counselors.
20  Discussions / General Discussions / Re: java jar file rejected by folks at "Demo Derby", need .mov ASAP on: 2014-11-18 14:08:51
I've used VLC to do screen capturing before. Not sure if it captures audio as well, but googling "vlc screen capture" might be a good place to start?
21  Game Development / Newbie & Debugging Questions / Re: Java rendering to android on: 2014-11-17 14:51:10
What problem are you having using libGDX?
22  Game Development / Newbie & Debugging Questions / Re: Java Game to native HTML5 & JavaScript? on: 2014-11-12 22:45:30
What do you mean by "LibGDX's applet viewer thing"?

LibGDX exports as html5 and javascript. Are you just talking about the little loading screen at the beginning?

Here's an example of a libGDX game exported as javascript: (this is Legends of Fore by Kev Glass)
23  Game Development / Newbie & Debugging Questions / Re: Java rendering to android on: 2014-11-12 21:51:51
What do you mean by "render java code"? Do you mean "writing Java code to draw something in Android"? Or do you mean "displaying syntax-highlighted Java code in an Android text editor"?

Assuming you mean the first, then, uh, you just write Java code that works on Android. Do you have a more specific question than that?

This is the first result for googling "java android tutorial":
24  Discussions / General Discussions / Re: Someone pick my license! on: 2014-11-12 17:46:39
The only part I want to protect myself is from the greedy arsehats who would just be after a quick buck and blatantly steal the *entire* source code, slap some new graphics on it and call it their own.

But if someone came around and said "wow, I really like this pathfinding code!" and used it for their game with little to no editing, I wouldn't care in the slightest. But sadly, a license has to be more stern than my actual philosophies, closing the gap for those gray areas.

To be totally honest, I personally don't care what anyone does with any of my code *or* art assets, as long as it's intention is in good faith to just make some fun games and not just trying to rip me off and make money. Smiley

What you're saying hits pretty close to home. In fact, here's a thread I started a few months ago asking the same types of questions:

I run a little website called Static Void Games that consists of tutorials that teach novices how to program using game development, as well as an uploader that hosts games for people who don't want to bother with that part of things. It's got member registration, blogs, comments, everything you'd expect from a user-driven website.

Long story short, I decided to open-source the entire thing, half as an educational resource for people who want to learn how to build their own JavaEE websites, and half in the hopes that some of our members might start contributing to the project.

That left me with the terrifying decision of *how* to open-source my code. And I was exactly like you: I wanted to encourage people to learn from my code and even add to it or create honest derivative works from it, but I didn't want to see somebody take the entire thing, slap another logo on it, and use shady SEO tactics to get ad revenue from my content.

The problem is, there isn't any way to distinguish somebody with good intentions from somebody with bad intentions. How do you enforce something like that? What's stopping somebody from saying "oh, I didn't realize this was bad, my intentions are good"?

That's why I eventually settled on the GNU GPL license: it's a copyleft license, which means that anything that uses my code must also be open-source. It's not optimal, but I think it's the closest thing to what we were looking for.

But, if I'm being honest, there is still very little stopping somebody from doing exactly what I wanted to prevent.

However, since you're releasing a client-side game, your decision is pretty much made for you: there is already nothing stopping the badguys from stealing your code and using it in nefarious ways. So your code is automatically "open-source" in that regard: people who would decompile a game and claim it as their own aren't the type of people who would be stopped by a restrictive open-source license. I think as creators we're a little more paranoid about this than we need to be: after all, how many people have decompiled Minecraft and tried to claim it as their own? (I think the answer to that is zero.)

So your only decision is how you want to release your code to the honest people who might use it to learn. But the sad answer to that is if all you're doing is releasing the code, it really doesn't matter what open-source license you use, since people trying to learn how to implement pathfinding aren't going to trudge through your code just to find the piece they care about. If you want your code to serve as an educational tool, you'll have to write tutorials around specific parts of the code you're hoping people find interesting.

So you've got some options:

OptionCan badguys steal my source?Will goodguys read my source?
Don't release sourceYup.Nope.
Release source under some open-source licenseYup.Nope.
Release a series of tutorials about your sourceYup.Maybe.

So it's up to you: if all you want to do is say you released your source, then it doesn't really matter. Badguys can get to your source no matter what you do, and goodguys won't bother looking through your source. If you actually want people to learn from your source, then you'll have to write some tutorials.

Edit: For the curious, here is my source:
25  Game Development / Newbie & Debugging Questions / Re: Not running after export from eclipse? on: 2014-11-11 15:34:10
The menu is a separate issue. Can you post an MCVE that demonstrates the same problem?
26  Game Development / Newbie & Debugging Questions / Re: Not running after export from eclipse? on: 2014-11-11 03:38:38
What happens when you run the jar via the command prompt? Do you see any exceptions?

What have you tried to create a main menu?
27  Game Development / Newbie & Debugging Questions / Re: Trouble making circular boundaries for 2D game on: 2014-11-10 22:06:30
Can't you just use the distance formula?

double distanceFromCircle = Math.sqrt( (player.x-circle.x)*(player.x-circle.x) + (player.y-circle.y)*(player.y-circle.y) );
if(distanceFromCircle < circle.radius){
   //ship is inside radius of circle
28  Game Development / Newbie & Debugging Questions / Re: Ways of keeping track of classes... on: 2014-11-10 14:43:56
If I have a break and knuckle down for exams, when I go back to eclipse I have lost the plot.

This sounds less like your problem is "keeping track of classes", and more like your problem is remembering where you left off and how it all fits together.

This is actually a pretty common problem that you'll continue facing for the rest of your career. Even people who have been programming for 20 years have to scratch their heads a little when they go back to code they wrote a while ago.

The best thing you can do is document your code- use comments to explain why this for loop behaves the way it does, or what this method is used for. Leave yourself TODO notes so you know where you left off.
29  Discussions / General Discussions / Re: Someone pick my license! on: 2014-11-10 13:16:32
Yeah, this is going to be pretty hard to enforce- where do you draw the line between somebody learning from your code and then using that knowledge in their own games? How do you plan on enforcing that distinction?

Keep in mind that Creative Commons sounds like what you're looking for, but you aren't really supposed to use it for software:

Using Creative Commons for the artwork might not be a bad idea though.

Going open source can be awesome, but it can also be a giant hassle full of paranoia. Maybe it would be better to release the code in chunks as tutorials on how to do certain things instead of releasing the whole shebang at once?
30  Games Center / WIP games, tools & toy projects / Re: Legends of Fore on: 2014-11-10 13:12:27
This is crap

Well, good thing Coke and Code's motto is "games to play on the toilet"...
Pages: [1] 2 3 ... 17

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (34 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (66 views)
2014-11-07 19:57:14

TehJavaDev (70 views)
2014-11-03 22:04:50

BurntPizza (68 views)
2014-11-03 18:54:52

moogie (83 views)
2014-11-03 06:22:04

CopyableCougar4 (82 views)
2014-11-01 23:36:41
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

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06 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!