Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (565)
Games in Android Showcase (151)
games submitted by our members
Games in WIP (606)
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 ... 40
1  Discussions / General Discussions / Re: I no longer use Google Play and I block ads on: 2014-12-31 13:54:22
Also, I feel like, if you are a service, such as a video game, that chooses to earn its revenue via an ad model, you should either abide by what it wants, or not use the service. Though you may feel that the revenue earned via this model is too minuscule to matter, this may not be the case. For example, what if the creator of the game payed an artist to have assets created, and expected to earn this money back via the ads in his game? By removing ads, you are not really being a fair sport. You probably wouldn't go in and steal something off the shelf of your local grocery store, so you shouldn't turn off ads either.

Exactly. Desktop Tower Defense made over a million dollars with this model.
2  Discussions / General Discussions / Re: I no longer use Google Play and I block ads on: 2014-12-30 12:58:58
@CaptainJester I don't suggest only "paywalls". I proposed the global license and the global patronage. Moreover, in my case, I don't look for money, I pay for my hosting cost, I don't use ads, it's ok for me.

Exactly. For you it is ok and that is great and I appreciate it. I also still appreciate it when people put things up for free and throw a quick Google Ad at the top in a banner. Take Kongregate for example. I have been on there for 7 years and they have always done advertising right. When you start to play a game you get an ad that plays and you have a choice after 10 seconds to continue viewing the ad, which I have done on occasion, or skip the ad. Then its right to your game with only a small banner ad at the top of the page.

I just read another perspective from Cliffsky at Positech Games. I encourage everyone to read it, it is a good read.
3  Discussions / General Discussions / Re: I no longer use Google Play and I block ads on: 2014-12-26 16:12:14
Quite frankly the Internet wouldn't be where it is now without advertising. The early exponential growth was spurred by people building websites because they thought they could make a lot of money by putting up useless crap and plastering ads. Then the payout model changed but you could still use it since most people don't mind ads as long as you don't "break your site by putting 5 flash ads on one page." Most advertising doesn't bother me as long as it doesn't get too obtrusive. If it does I just don't visit the site with the bad ads. Putting everything behind paywalls won't work either since the search engines can't/won't  catalog behind paywalls. The whole point of the internet is to disseminate information and if you charge for it people won't get it. Some people come up with models where they put out free content to draw users then sell a service they may need. Everyone can't always do that so they put up ads. As far as I am concerned if you don't want to look at ads don't go to the site that is posting the content with ads, find it somewhere else or put up with it. People always want to get everything for free but everything is not free and if someone puts out something that is useful to me, my way of paying for it and thanking people for putting out information I find useful, is to put up with ads and even click on a few that are useful. If you can put up a site out of your own pocket and don't try to make money off of it that is your prerogative but don't force your ideals on other people. Especially if people need to make a little money to keep the site going. And don't even say how cheap hosting is because even if it is cheap not everyone can still afford it.
4  Discussions / Miscellaneous Topics / Re: Full Visual Studio for free on: 2014-11-16 13:44:54
I debug in Eclipse all the time. Never had a problem with it. You can even do remote hot code replacement to avoid making a new deployment to a server just try a slight difference in a method.
5  Discussions / Miscellaneous Topics / Full Visual Studio for free on: 2014-11-15 14:07:46
Microsoft just announced that they are releasing a "community edition" of Visual Studio. It is basically full Visual Studio Standard for free for both commercial and non-commercial use for small teams.
6  Discussions / Miscellaneous Topics / Re: Whays the story behind your name on: 2014-10-04 15:07:30
I read a comedy Science Fiction series by Robert Asprin. The first book is called 'Phule's Company' and the main character is Willard M. Phule. He is in the space legion where most people go to disappear and choose an alias and no one asks questions about your past. He started with Lieutenant Scaramouche and then got promoted and had to change his name so he chose Captain Jester. I have been using CaptainJester ever since.
7  Game Development / Shared Code / Re: XML Reader Classes on: 2014-07-28 20:54:11
Generally I agree with the idea that you should only ever roll something yourself if learning is what matters to you and not productivity, but Java has 3 built-in ways of parsing XML (DOM, SAX, StAX) which are all really easy to use so why would anyone use a library for this? Huh
Because you still have to do the marshaling yourself. With SimpleXML you create POJOs and then use a serializer to read/write your XML file. All the marshaling is done for you.
8  Game Development / Shared Code / Re: XML Reader Classes on: 2014-07-12 18:04:18
Yeah, don't always just say I am going to roll it myself. If you are trying to get a project done in a certain amount of time then you should always try to find a library. If it is a hobby project that you are trying to learn things then go ahead. Even then sometimes you can get frustrated with a hobby project when you are trying to do everything yourself.
9  Game Development / Shared Code / Re: XML Reader Classes on: 2014-07-10 01:08:18
Have you ever looked at
10  Discussions / General Discussions / Re: "No, You Can't Make Video Games" on: 2014-05-19 11:37:58
This is the biggest problem I have:
No, we really don't, unless you want to encourage the creation of white noise in the medium and devalue everyones work.


DeviantArt is the place where art goes to die in noise.

Just because there are lots of bad games out there does not devalue other peoples work. I went to Deviant Art and saw a lot of nice art. The only problem with a lot of bad games is if the site you are trying to find them on cannot help avoid the chaff and find the gems.
11  Discussions / Miscellaneous Topics / Contribute to the development of the next Unreal Tournament on: 2014-05-10 01:10:17

That's right. They are planning to completely community develop this. They want everyone's input and you can even contribute code.
12  Discussions / General Discussions / Re: The Big Linux Distro Thread on: 2014-04-02 21:27:08
-Photoshop (hmm)

I have tried CentOS and liked it. Although I manually install the JDK and Eclipse because the package manager only has OpenJDK. You also should manually install ANT since if you install it with the package manager it will also install OpenJDK.
13  Games Center / 4K Game Competition - 2014 / Re: Community voting on: 2014-03-02 17:16:40
Figured it out. I thought I could have a 64bit JDK but then install the 32bit JRE for the plugin, but the 64bit took over. Uninstalled everything and reinstalled the 32bit JDK and it is all working.
14  Games Center / 4K Game Competition - 2014 / Re: Community voting on: 2014-03-01 21:06:51
Bloody Java plugin won't keep my security settings. I am running Windows 7 64bit. Whenever I change the Java security to low to try and run an applet, I go into any web browser(IE, Firefox, Chrome). As soon as go to the Java4k site and launch an applet it resets the security to high. Anyone else run into this? I am trying to look at the 4K games but I can't.
15  Discussions / Miscellaneous Topics / Re: Which open source license? on: 2014-02-13 22:54:41
You can allow mods without releasing your source code. Just provide interfaces for people to use. Also use those interfaces for yourself so anyone who makes a mod can do anything that you can do.
16  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Why make a graphics context object? on: 2013-09-27 00:07:23
It is more that just that. The graphics context is an interface used to hide the underlying implementation. So you can start with LWJGL. Then you can add JOGL later and the user of your library can easily switch.
17  Discussions / General Discussions / Re: Do you customize your IDE (Eclipse?) on: 2013-09-17 11:41:32
Okay, but you admit that my syntax coloring preferences and naming schemes are 100% objective. I forgot to mention my indent size is two. When the indent size is ridiculously, impractically large, there is much less marginal utility to one style versus the other. Although to be honest I prefer BASIC style grouping to no-free-line style brackets. In my method you can use the nearly blank line as a "bookmark" and there is a structural symmetry that makes it easy to scan. BASIC syntax also makes it clearer which blocks belong to which initial line, but it's not my favorite.
Again personal preference. I don't like the white space after the for line. I find it harder to read not easier. I also tab 4 not 2. If you need 2 because your nesting so much that it goes off the screen you have to look at your logic to reduce the nesting.
18  Discussions / General Discussions / Re: Do you customize your IDE (Eclipse?) on: 2013-09-16 01:06:24
Syntax coloring is not nearly as useful for identifying code at a glance as white space is. I put brackets on separate lines so that they are alined. It makes control flow structures easier and methods to see. Code that takes more than one line is indented by a slightly amount than the normal indent so it is visually obvious what is and isn't a continuation of a previous line. I also break the rule about CONSTANT_VARIABLES because, really... we have character sets with both upper AND lower case letters. Camel case is superior because it's easier to read and doesn't have underscores. Underscores introduce negative space that looks like white space which makes it harder to "visually parse" code while holding down the page down button or at a glance.
That would be personal preference. I find having braces on separate lines messy and distracting. I use extensive syntax highlighting and that makes it easy to read the code.

I also set up CTRL-TAB as a shortcut for quick editor switching. I move perspectives and views to the left side with no text for easy access. I also maximize the editor window and quickview all the views.
19  Discussions / General Discussions / Re: What would you modify in Swing if you had to rewrite it? on: 2013-08-15 00:25:32
What would you modify in Swing if you had to rewrite it?
If you are thinking of starting a project like this I would be interested.

If you want cross compatability with Android, libgdx might be an option.
20  Discussions / General Discussions / Re: What would you modify in Swing if you had to rewrite it? on: 2013-08-15 00:22:31
The amount of sizes you have to set to make stuff work. Setting size doesn't work, setting defaultSize doesn't work, setting preferred size doesn't work, then you have to create a random dimension object to set another size. Seems like I'm always setting everything to get it to work.
Unless you are sub-classing a swing component you should not be trying to set the size. If you are sub-classing then you should over-ride getPreferedSize() to get the correct size you need.
Repaint is awkward. I end up with every class having a local reference to the repaint thread and it is annoying. My custom list has altered? Well I need to repaint everything then, oh, I cant.
You don't need to repaint everywhere. Repaint cascades down the hierarchy. Just repaint from the top most point you need to. If you have multiple custom components that need repainting then you might want to think about only having one.
Some of the behaviour is twisted. It says in the javadoc that it works when you do X, but in reality it only works when you have a bunch of random prerequisites which it didn't tell you about. Did you remember to call method doRandomStuff(XYZManager x) AFTER you have created the object? Well it doesn't work. Should have been in the constructor then, shouldn't it?
Would need a specific example to comment.
The amount of inherited fields and methods gets in the way sometimes. I know it inherited them from Component, but I don't care about them and I cant find the method I am actually interested in. I would prefer swingObject hasa Component.
Some children are possible only from a JFrame, but not in nested objects. So you want a filedialog window to appear when you click a button in your panel? Well, you can't.
If you are opening a dialog that needs a JFrame you can either pass null or create a dialog builder class that contains static methods but you set it up in the JFrame and pass a reference to the JFrame object.
Is swing JFrame the one where you cant convert easily to an Applet?
You should never put anything directly on a JFrame other than menus. If you want to make your application applet friendly you should build your app from a JPanel down and then you can use that JPanel in either a JFrame or JApplet.
21  Discussions / General Discussions / Re: What would you modify in Swing if you had to rewrite it? on: 2013-07-27 03:18:38
Everyone always complains about Layout managers in Swing. I have never had a problem getting it to do what I want. Is it more just the nesting required to get layouts to work that people don't like?
22  Game Development / Newbie & Debugging Questions / Re: Eclipse is Opening old build on: 2013-06-26 00:32:03
Try going to Window > Show View > Problems.

It might tell you what is going on. It usually takes some kind of error for the project not to build.
23  Discussions / Miscellaneous Topics / Re: if you are not a programmer, what would you be ? on: 2013-06-04 22:37:17
I always planned to become an author when I turned 40. Now, here I am, at 40. Hmm.

Cas Smiley

Go for it. They say it only takes 15 minutes of writing a day to write a book in a year.(Cliche)

I would be a military pilot.
24  Game Development / Networking & Multiplayer / Re: Some general Java NIO questions on: 2013-05-24 00:36:31
Normal sockets need multiple threads to handle multiple clients concurrently, which would result in a cumbersome and resource-hungry multithreading implementation.

With the new concurrent libraries and executor services threading is a piece of cake. You can now write a standard IO socket based server with threading that is dead simple compared to the old thread way or even with NIO.
25  Game Development / Game Mechanics / Re: Entity knockback on: 2013-04-21 14:54:24
I would recommend against having knockback specifically in the entity. Instead you should have an acceleration attribute. You could just use a vector for acceleration. You then apply acceleration to speed every update. Then you apply friction to acceleration right after. This way anything that affects the entity can just change acceleration.
26  Game Development / Newbie & Debugging Questions / Re: File loads in eclipse but not in a runnable .jar [unsolved] on: 2013-01-09 04:15:54

The res folder needs to be placed at the root of your package tree (Typically the root of the jar).
27  Game Development / Newbie & Debugging Questions / Re: Canvas and Images Resizing Proportionately? on: 2012-12-29 12:44:24
Use Java2D full screen or fake full screen and scale your image a fixed amount. This way you control the size of the screen yourself.
28  Games Center / 4K Game Competition - 2013 / Re: Trace 4K on: 2012-12-18 01:24:20
Actually it's not too bad.

Good job.
29  Game Development / Newbie & Debugging Questions / Re: EofException when instantiating ObjectInputStream? on: 2012-12-16 02:17:14
In FileInputStream it returns -1 at the end and doesn't throw an exception. Normal behaviour should not throw an exception. I would expect readObject to return null if it has reached end of stream.
30  Game Development / Newbie & Debugging Questions / Re: EofException when instantiating ObjectInputStream? on: 2012-12-14 23:51:06
I don't know why it is not documented but readObject will throw an EOFException once you try to read past the last object. It is an indicator that you are done reading.
Pages: [1] 2 3 ... 40
theagentd (11 views)
2015-03-27 23:08:20

wxwsk8er (52 views)
2015-03-20 15:39:46

Fairy Tailz (46 views)
2015-03-15 21:52:20

Olo (28 views)
2015-03-13 17:51:59

Olo (30 views)
2015-03-13 17:50:51

Olo (38 views)
2015-03-13 17:50:16

Olo (44 views)
2015-03-13 17:47:07

ClaasJG (57 views)
2015-03-10 11:36:42

ClaasJG (41 views)
2015-03-10 11:33:01

Pippogeek (47 views)
2015-03-05 14:36:23
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!