Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
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 ... 14
1  Discussions / Miscellaneous Topics / Re: Java won't let me time travel on: 2014-10-21 13:04:47
... or lasers and target prediction.

Sadly, lasers have crappy range (due to the inverse square law, the energy concentration would be worthless past certain distance)

I'm personally partial to mass drivers in fiction, and those are even worse in reality Sad
2  Discussions / Miscellaneous Topics / Re: Java won't let me time travel on: 2014-10-13 11:30:07
Time dilation makes sci-fi space battles interesting, since if you're far away enough (say, trying to shoot a ship on Earth's orbit from Saturn) you're actually aiming at where that ship was in the past, even if it is just a few minutes.

It's like playing a shooter with massive lag.

And it's also why, in a realistic environment, you'd resort to self-guiding missiles.
3  Discussions / Miscellaneous Topics / Re: Java won't let me time travel on: 2014-10-13 09:27:48
Sudden realization that E.T. was a metaphor for a naive user installing unknown software whose only purpose is to PHONE HOME.  Shocked
4  Discussions / General Discussions / Re: Worried on: 2014-10-09 16:05:44
I'd guess learning another language would be a problem if you like to keep up with the bleeding edge of the java language, but, otherwise, it shouldn't be an issue.
5  Discussions / Miscellaneous Topics / Re: Java won't let me time travel on: 2014-10-08 11:13:28
Of course, if you're really going back:

6  Discussions / Miscellaneous Topics / Re: Java won't let me time travel on: 2014-10-08 11:11:04
You forgot to update your code compliance to the proper time-zone:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
delay equ -1000

top:   mov ax, delay
loopa: mov bx, delay
loopb: dec bx
       jnc loopb
       dec ax
       jnc loopa

       mov ah,2
       mov dl,'A'
       int 21
       jmp top
7  Discussions / General Discussions / Re: Mobile Java game development, without using a full-size laptop on: 2014-10-08 10:34:16
I'd personally avoid netbooks and tablets for development.

I once considered it, but just plugging Eclipse and trying to compile/run some demos (Box2d if anyone wonders) made them almost die.

As for size... It is true that consumer laptops do emphasize bigger screen sizes, and finding a good compact laptop is a chore, specially if you want to avoid paying overpriced products like "professional/gamer" laptops or Apple* products.

Best bet is probably to look around retailers in your area (or the net), and keep on the lookout for older models about to be taken off the shelves that might experience a price drop.

I got my rather compact Hp TM2 that way, nabbing it for almost half price when it was about to be retired, and the thing still works fine (it's even substituting my main computer while I get it fixed).


*I'm sorry, I do not intend to attack Apple users. If you like their products, more power to you, but my approach when buying hardware is to look closely at the specs, and you can buy laptops with better hardware configurations for way less than the Apple product of choice.

This is not supposition, I've been to the Apple store several times looking for laptops, talked to their reps, and they themselves admitted this when I pointed it out (when they realized that I didn't much care for the "design").

Again, some people value Apple's design, and good for them. I just say, know what you want and need, and don't let the shiny bits distract you.
8  Discussions / Miscellaneous Topics / Re: Whays the story behind your name on: 2014-10-02 15:01:54
"Oscuro" is spanish for "dark one". It was what people called me to my back in college because I was... well, creepy.

When they eventually told me what the nickname was... I liked it and adopted it, and switched the "C" with a "K" because I thought it looked cool.

So yeah, I still get called by that name in real life.
9  Discussions / General Discussions / Re: Why are people jerks? on: 2014-09-10 14:54:21
I personally feel the issue is deeper than just "gaming" or the internet, but more about social tropes on how to deal with dissenting opinions.

The internet, and the relative "youth" of "gamers" (both as individuals and as a social group) exacerbates these attitudes, but loudly badmouthing others to the point of issuing threats and heinous remarks can be found in pretty much any environment.

Just look at the crap that goes on with political pundits on the U.S.A. (Yes, I've been watching a lot of Colbert recently).

I guess gaming culture is being used as a shield in this instance, as an excuse to get all worked up, so those offended can claim that someone is attacking "their values"...

When the only thing going on, and the thing people can't accept, is that other people are in disagreement, and voice their opinions.


I think this is the first time I've spoken my mind about this issue.  Clueless Possibly because, regardless of how it might seem to those "in the fray", the rest of the world doesn't give a crap about the whole "gamergate" thing, which makes it even sadder that so many are throwing so much hate around.
10  Discussions / General Discussions / Re: Microsoft to buy Mojang for $2 billion? on: 2014-09-10 14:42:22
Does Notch have veto power over what Mojang does as a company?

He might stick to his guns, but maybe the rest of the team aren't so picky about funding.
11  Game Development / Networking & Multiplayer / Re: 10 Player(instanced) 3D Game, would TCP Suffice? on: 2014-07-17 03:26:48
10 players? Battlefield 1942 could support 64 players, and I recall games with something between 16 to 32 players not being that rare.

I'm not sure why the average playercount has gone down as sharply as it has in later years, but my guess is that the main bottleneck is in the amount of data.
12  Game Development / Networking & Multiplayer / Re: How the structure of a multiplayer game should look like? on: 2014-05-23 09:45:14
They both think they won. How does your system deal with this?

Another BF1942 example (yes, I love that game), I was dueling a friend of mine on the Desert Combat mod, both piloting modern jets. At a point I had him in my sights, fired a missile, and even though he attempted to evade, the missile hit his plane right in the middle.... And nothing happened.

He then shot me down, of course.

What happened there was that, even though in my client the missile hit, in the server it missed by a few milliseconds (or manybe even nano).

So my client showed the missile explosion, but since it didn't get confirmation that the other plane had exploded, it didn't show it (This may be due to it being possibly more efficient to have individual clients compute the visual effects of projectiles, rather than wait for server updates).

Funny thing? This happened over a LAN. So yes, even in very small latency scenarios you will get this.

Funnier thing? My friend's client was acting as the server, so he had a very noticeable advantage over everyone else. From that day forward, even on LAN games, we'd set up a dedicated server to host games.


As has been mentioned, the way to solve latency issues falls more on game mechanics than actual network implementation. Think how the gameplay can be modified to diminish the impact of high latency (even with good overall latency you can get lag spikes that screw things up).

For combat games I guess a technique would be to move away from one-hit-kill type scenarios, and rely on say long combos, or high health, so players have a chance to react to an incoming attack despite lag.
13  Discussions / Miscellaneous Topics / Re: To the Minecraft Modders on: 2014-05-23 09:36:07
I've dabbled in Minecraft modding too, trying to make a flying carpet vehicle... But back when I did it there still was a divide between single and multiplayer, and my flying boat test didn't work online  Sad

Now that I've exposed my silly Minecraft credentials... I'm tempted to say "wait for the Plugin API" because it will probably be a properly maintained API for modmaking that will drastically reduce the frustration of development... But seeing how much its been delayed, I won't recommend it.

Guess it's a matter of looking at particular mod loader APIs (like bukkit) and the many examples/tutorials around.

I'm personally fond of using the MCP (minecraft coder pack) to decompile the entire thing and study it (but because I actually enjoy looking at code), but they haven't updated the pack in a while.

Seems like a lot of mods are on hold lately, word is the 1.7 update made it very hard to update mod compatibility  Clueless
14  Java Game APIs & Engines / Android / Re: What's the average size of a 3D game? on: 2014-05-20 10:04:47
Nobody uses 1 giant texture for terrain

True, if you consider John Carmack to be nobody: Megatexture
15  Discussions / General Discussions / Re: "No, You Can't Make Video Games" on: 2014-05-19 13:57:06
I wholeheartedly agree with the main point of the article: Just wanting something isn't enough.

I personally subscribe to a modified version of the "you can be anything you want" motto:

You can be anything, if you work hard enough.

The key here is swapping the "wanting" with the "putting effort".
In my opinion talent helps, but hard work is what gets result, so a person without natural talent can outdo a very talented individual if the talentless person is the one making an effort to improve.

The hard realization for essentially every one of us, is finding out what amount of effort is more than what we are willing to put into something, specially as you grow older and see there are other things you might be doing (or need to do).

In my opinion, the reason why the language used is often about "wishing hard enough" is because people don't really internalize what effort means (blame society, upbringing or whatever), hence all the pep-talks like the one the article is criticizing, with their disney-esque language, setting up people to fail by giving them disproportionate expectations.


Honestly, I think this is not only about games (and the article says as much), and I think it needs to be said more often, if only to curb inflated expectations leading to the sense of entitlement we keep seeing popping up these days.


As for the white noise comment. I don't fully agree. It is true that "noise" devalues hard work, but I believe in the long run it is best to have that noise, as it means more people experiment with the tools of the medium and thus there's a greater chance of actual talented people popping up.

To make a parallel, think of music education in schools. Most music students will be crap at it, but by giving more kids a chance to try their skills at music, more actually good musicians will get a chance to discover their true calling.

The trouble with the white noise is not about it being there, but about how we parse it to look for the good stuff, but we'll get there, if only out of necessity seeing how cheap products aren't exactly going away (app stores, steam...).


Anyway, just my opinion, as a nobody.


Edit: Woah, forgot about something. Life isn't fair, and sometimes people simply cannot do certain things. For example, an astronaut requires being in top physical conditions, and many common defects (like wearing glasses) can render someone unfit for the task.
So take my comments on effort with that caveat: Sometimes life deals you a shitty hand and you must work with what you have.
16  Game Development / Performance Tuning / Re: Questions about Java4k Code on: 2014-05-19 13:34:38
Thanks!
17  Discussions / General Discussions / Re: How do you keep profanity out of highscore boards? on: 2014-05-16 11:04:39
Now you have a social game.

ASS-Wiper?
18  Game Development / Performance Tuning / Questions about Java4k Code on: 2014-05-16 10:58:12
Hi there,

Recently I've been looking up some more Java4k sources for fun, and have noticed a common pattern that I don't fully understand.

Namely, people seem to declare all their variables and constants within the run() method, rather than at the class level. Meaning this:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
public class Classy
{
  public void run()
  {
      final int CONSTANT = 0;
      int VARIABLE = 1;

      // etc...
  }
}


Instead of this:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
public class Classy
{
  private final int CONSTANT = 0;
  private int VARIABLE = 1;

  public void run()
  {
      // etc...
  }
}


I was wondering if there is an actual performance/memory reason for this, or if simply people develop their Java4k games within a single method and just paste it into a standard class skeleton.
19  Game Development / Networking & Multiplayer / Re: How the structure of a multiplayer game should look like? on: 2014-05-15 14:24:09
I'm talking out of my ass, but don't some games use a form of "prediction" on the client side? For example, if a remote player is walking, and it hits a wall, the client will draw the player stopping at the wall (guess more complex approaches could use bot ai to attempt and predict remote player reaction).

What you do see quite often (it can be hilarious in, for example, BF1942) is the client predicting remote player position, but making no updates to their status/attributes (health for example), so you will clearly see, for example, a plane crash into the ground and bounce back up intact, only for the server update to reveal the remote player actually avoided crashing.... Or not.

From that point of view, rather than sending the actual player input, the server should send the player's avatar "intentions" (it is walking, it took damage, etc...).

Again, just speculating.
20  Discussions / General Discussions / Re: How do you keep profanity out of highscore boards? on: 2014-05-15 12:02:19
There's a reason why games with an online component have that "online interactions not rated" sticker.

As princec said, doing a dictionary check of forbidden words is the way to do it, but apart from the computational and maintenance cost, if you go overboard with the censorship it can be harmful to the experience.

Take, for example, silly situations in many online programs (not only games) where completely safe words are censored (for example, some time back you couldn't type the word "class" in WoW because it included the word "ass", so asking someone what character class they were playing was a dirty conversation), while bypassing the filter is trivial for those who want to do so (separating letters, for example).

In the end, it might not be worth the hassle.

21  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-05-15 11:53:18
Some SMBC musings on the topic:


And I'm not pasting the next one because it's huge, but... Funny too, dear subroutines.

 Grin
22  Discussions / Miscellaneous Topics / Re: Dark Souls II - Ridiculous Controls on: 2014-05-09 15:41:21
I'm with Gibbo in this one. It's the developer's responsibility to make sure the program's usability isn't crap.

I do like Dark Souls 1 (haven't tried the second one yet), even despite the port issues, but that doesn't excuse the issues themselves.
23  Discussions / Miscellaneous Topics / Re: What do you develop your games on? on: 2014-05-09 14:03:38
Special as in "please forgive my son for drooling on your shoes, he's special"?  Cool
24  Discussions / General Discussions / Re: Size of games written in Java. on: 2014-05-09 14:02:46
Why the banning? Any reasoning beyond "rar games are dumb!"?
25  Games Center / Featured Games / Re: [Slick2d] Retro Castle Survival - Top Down Survival Mayhem! on: 2014-05-09 09:48:42
The sprites remind me of the original Lemmings game. I'm loving it! Smiley
26  Discussions / General Discussions / Re: Size of games written in Java. on: 2014-05-09 09:43:59
Since no one else pointed it out, the important bit about using Minecraft as an example, is that it began as a one-man project, and it has grown to the point that an actual company had to be built to accommodate its development needs.

So yes, as has been said, size depends on how big you want to go, the technology used is not that critical.
27  Discussions / Miscellaneous Topics / Re: What do you develop your games on? on: 2014-05-09 09:37:14
It's a very common mistake anyway, don't worry Grin


Besides, the mental picture of a huge building (like the Washington D.C. Capitol) being all offended is kind of fun.
28  Discussions / General Discussions / Re: Size of games written in Java. on: 2014-05-07 14:25:24
I know it's a bit cliché but... Minecraft.
29  Discussions / Miscellaneous Topics / Re: What do you develop your games on? on: 2014-05-07 09:56:18
Capitol offence? how do you offend a capitolClueless
30  Game Development / Performance Tuning / Re: Is there a logical reason to stuff 2D array data into one? on: 2014-05-06 11:21:50
*looks up*  Cranky

I personally like 1D arrays because the may situations I have where it is easier to reference objects by their (pre-computed) index value directly.

Silly example off the top of my head:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
Object[] all_objects_there_are_in_2d_world = new Object[]{ ... };
int[]  selected_objects = new int[]{ ... }; //Indices of specific objects

void doSomethingForAll()
{
   for(int index : selected_objects)
   {
        all_objects_there_are_in_2d_world [index].DoSomething();
   }
}


But it is certainly situation specific.

*looks back down*  Emo
Pages: [1] 2 3 ... 14
 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (51 views)
2014-12-03 16:27:13

CopyableCougar4 (48 views)
2014-11-29 21:32:03

toopeicgaming1999 (115 views)
2014-11-26 15:22:04

toopeicgaming1999 (103 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
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

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
java-gaming.org 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‑gaming.org
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!