Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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 ... 12
1  Discussions / General Discussions / Re: Java .class files safe? on: 2006-08-10 13:18:20
That's not theft, that's copyright infringement. Not only is there a possible distinction morally, there's a clear distinction legally.

Theft = the person you steal from loses the item and can't sell it to someone else.
Copyright infringement = the person you copy from loses nothing. ("removing potential profit" isn't a crime, btw. If it was, it'd be illegal to tell your friends a movie you saw was bad)

It's correct.

Strange how many people (sometimes even policemen) has problem to grasp this simple concept. It has probably something with majority of people are encouraged in only for profit type of thinking.
2  Game Development / Artificial Intelligence / Re: Good book on AI? on: 2006-08-10 13:09:49
Why book when you can start from experience. I'd recommend to start with the character modeling. If it's for RPG.

I don't follow....I'm trying to understand AI concepts for developing an API I can use to rig up my characters in games so that instead of player controlling or networking controlling you can have AI controlling as well.
So you think after you'd learn all AI concepts, it would be easy to create API, and be done with it. The real problem is API shouldn't be the final goal, character behaviour and correct integration into rest of the game is.
Some parts of AI shouldn't be put into the library because they are too much dependent on current version of the rest of the program. The best idea would be create list of concepts, and decide with one you need.
3  Game Development / Artificial Intelligence / Re: The History of AI on: 2006-08-05 12:00:24
It's not an essay question... I just want to know other people's opinions! My favorite contribution was the tracking AI used in ROBOTRON: 2081.

if(robot.x>player.x) robot.x--;
if(robot.x<player.x) robot.x++;
if(robot.y>player.y) robot.y--;
if(robot.y<player.y) robot.y++;

It's really simple, summed up in four lines of code but IT WORKS and I think the guy who came up with it was a genius.

With excepion that one if is missing. And if they shouldn't occupate the same place it should be > (a + 1)
4  Game Development / Artificial Intelligence / Re: The History of AI on: 2006-08-05 11:55:50
In short: The AI has to pass the "Turing Test" - how it does that, doesn't matter. And with that we get back to history - that test is OLD - actually it's from the time, when Computers where in their children shoes.
Turing test isn't mathematical test, because it depends on experimentator, mainly on his cultural background. Some people didn't passed it.

5  Game Development / Artificial Intelligence / Re: Good book on AI? on: 2006-08-05 11:37:57
Jeff, great, I'll look into that one as well.  Just ordered the other book, so I might hold off a bit before getting the other until I've had a chance to go through this one a bit.  The one you recommend looks great for application of principles though.

Thank you.
Why book when you can start from experience. I'd recommend to start with the character modeling. If it's for RPG.
6  Discussions / General Discussions / Re: Which OS License do you prefer? on: 2006-07-22 08:18:56
Of course you can still sue the author. (Otherwise all cracks would be quite legal)
7  Discussions / Miscellaneous Topics / Re: grr... insect in my LCD on: 2006-07-22 08:00:42
Once fly flew into my PSU. It bounced few times against fan than was thrown out.

It's not cooked up yet? Some LCDs are rather warm, so I'd expect it would turn into a charcoal quickly. Consult your LCD manufacturer, and ask for help. I'd expect a removal would void the waranty of the LCD.

8  Discussions / General Discussions / Re: Which OS License do you prefer? on: 2006-07-21 16:01:30
I prefer MIT, or at most BSD for others code.
I use my own license for my own code.

BSD says don't sue me if you'd damage his computer by your code, and make mention of original author.
MIT just says don't sue me for my code, and your errors.
Anything less restrictive is in effect public domain.

GPL Is big no for closed source freeware. LGPL is less problem, however maintaining code in sync, or repairing others work is much better with BSD license.
9  Discussions / Miscellaneous Topics / Re: JNI? on: 2006-07-11 05:21:34
javah.exe creates all method names for you.
It's stdcall.
don't forget to set JNI type.

Look at Sun JNI tutorial.

He wants to use ASM of course.
10  Discussions / General Discussions / Re: Microsoft patents crossing the line? on: 2006-06-27 21:54:13
Just you wait when they'd start to openly patent mathematical equations.
11  Discussions / General Discussions / Re: Microsoft patents crossing the line? on: 2006-06-26 20:27:21
Did Microsoft just patent hardware character skinning and procedural synthesis ?  Shocked

They are more like 3D transformations of an object, and communication between GFX card and CPU. Of course abstract talked about some other text than the body.
12  Discussions / Miscellaneous Topics / Re: Java PSX emulator on: 2006-06-04 20:32:57
As I understand it they basically lose money on the console itself but get all the profits from licensing the software... if you *buy* software without a console, then they are farther ahead... Smiley

I guess emulators are really just used to bypass copy protection...
This is used for bypasing the copy protection.

Major usage for PSX emulator is to improve polygon based PSX game. And some people have larger monitor than TV, so it's the only possibility for them. Actually people with larger monitor than TV should be alowed to use legally all games made for consoles without DVI support, and without improved port for PC.
Other usage of emulator is ability of playing game even after PSX blowed away. PC DVD-RAM is significantly more durable, and cheaper to repair than a PSX drive. It also saves money for INCREDIBLY expensive memory cards, and add ons. (Of course if console manufacturers though about ripping away money by selling add ons...) So it has a lot of legal uses.

While buing software without owning console might have its uses, user would encounter problem called bios. Until Sony will explicitly state that user of a legally licenced PSX game is also eligible to use PSX bios to play it (doesn't matter how he obtained it), users would be in illegal state anyway, so they would just buy games they like, and rest of them warez away anyway.

13  Discussions / General Discussions / Re: Downloadable "Embedded" JRE Licensing Issues on: 2006-05-25 17:54:49

2) I don't want people to be able to uninstall the JRE without uninstalling the application too.
You should ask Microsoft and Linux developers for that.
14  Discussions / Miscellaneous Topics / Re: Java Core? on: 2006-05-18 19:02:35
Well new Intel's CPUs are called core. Because of marketing the next wave would be called core 2. Sure there is no relationship.
15  Game Development / Performance Tuning / Re: GC Lag Question on: 2006-05-10 23:56:15
You can test time just before buffer flip, and redraw as neccessary.
16  Discussions / Miscellaneous Topics / Re: caution, danger lurks ahead on: 2006-05-10 21:39:34
moderators, delete some of his old posts  Wink Tongue
I don't think it will help. The board conts posts, not live posts.
17  Discussions / Miscellaneous Topics / Re: Di-hydrogen Monoxide Warning! on: 2006-05-04 17:50:30
Jeff, when were you hogtied and tickle tortured last time? ~_^
18  Discussions / General Discussions / Re: Math.abs() discussion on: 2006-04-29 23:34:02
This is basically like an Axis-Aligned Bounding Box check but without the box.  Anyway, Manhattan distance uses the absolute value difference between points.  I'm doing allot to keep from doing more expensive tests and BOOM! profiler shows the test as second highest method call!

I should mention I am using floats, so the little bit hacks don't help here, but I am trying several tests...

Well at least in the NetBeans profiler...
x = ( x > 0 ) ? x : -x;

is faster than

x = Math.abs(x);

Could be a lie though because the profiling might prevent the VM optimizations for Math.abs()...

[Last mod of the night]

of course...
if ( x < 0 ) { x = -x; }

is faster than

x = ( x > 0 ) ? x : -x;

Because half the time (in general) there will be no asignment done (i.e. x > 0) so i ended with that.

And what about

if(a < 0) {
      a *= -1;}

Of course there are bit hacks that would change sign of float point number on SSE2 registers. The bad thing is they would need support from JVM.

and XMM0, const1 // change sign of 4 floats, or 2 doubles to positive.
xor XMM0, const2

19  Discussions / General Discussions / New CPUs from Intel on: 2006-04-18 20:01:27
I seen a benchmark of the new Intel CPU. It was interesting, it was 10 faster than my old celeron with Presscott core. (It's a dual purpose with a heater) The most interesting thing is the Intel decreased power requirements, and increased efficiency per cycle at slightly (1/5 above AMD level). They decreased frequency back into reasonable non market toy amount, so they seems to don't heat too much. Only question is with overclock ability. Would they be as awsome overclockers as Celerons D?
The first CPUs seems to be clocked at (dual core) 1.8 GHz, 2.05, 2.4, 2.6 with coresponding prices aprox 180 205 ... 512.  If they would enter with these prices they would be overpriced considering cost of the AMD X2, and higher yields from Intel 65 nm process.
Intel seems to enter for 6 months a speet spot. Of course if they would be able to use it, or if they would waste it by too high prices is questionable.

 The question would be when would AMD start with 65 nm, and more importantly with 45 nm technology? Would it be fast enough to don't lose too much of market? The slight increase in capability of CPU is at most 4 - 6 month work, if they didn't overslept. Addition of a 128 SSE2 one cycle multiplication would be also quite interesting. It seem the important  task for AMD would be starting up and make reliable the 45 nm technology quickly, and most importantly with high yield factors.

The more efficient architecture of new types of Intels CPUs (currently available only in notebook like CPU versions) is just a thing that should appear naturally, not as a forced event because of the heat / and power problems of the Net Burst architecture. So it's no surprise they were able to crank it out, it's rather surprissing it took them so long. It seem the market economy is bad catalyzer of a new inventions. (Yes they were forced into this becouse of the AMD, however they were forced into it 1.5 year later, than they should be.)

Quad core is supposed to be after Intel would come with 45 nm technology. It's obvious, while dual core new CPUs are under 90 W envelope, quad core CPUs wouldn't be.

Of course the more tests couldn't be done because the CPUs are not on market yet. It would be interesting if they have barrel shifter in each ALU, and how efficiently would be implementable the really weird optimalization hacks. ~_^

20  Discussions / General Discussions / Re: Java 6 improvements for gaming on: 2006-04-17 14:04:12
Splash screen.
21  Discussions / Miscellaneous Topics / Overclocking on: 2006-04-01 21:55:15
I get Ninja plus, so I tried some overclocking. I had the CPU underclocked to 1.9 GHz for heat and electricity bill reasons, so I tried to find how much it could be overclocked and if that cooler would do another helicopter, like Intel's one.
I moved FSB to normal 2.5GHz, and it went fine, I increased FSB untile 175 and it worked too. Then I decided on a final test, I moved it to 200 so I would be able to test my memory on proper speed (it was designed for 400 MHz, however I'm forced to run it slower because of the fixed multiplier. BAD Intel.) It worked too. It's true that Intel wrote something about 3.6 GHz as maximum, but it worked at 3.8 GHz without any problem. In fact it didn't crossed 60 C degree, and it was cooler than with original stock cooler under normal frequency. (I dropped it back because it looked like CPU slighly limits itself.)

Voltage went from 1.375 to 1.288, but CPU worked. (Actually the 1.375 is the lowest voltage supported by my motherboard. The CPU was designed for 1.3 V)

Part of this success is Arctic silver thermal paste with 99.1 silver compound.

It seems that even Presscott singlecore Celerons D are reasonable overclockers.

So what's is your experience?
22  Discussions / Miscellaneous Topics / Re: Oblivious on: 2006-03-24 21:09:08
I listened that 1GB of memory, and 6600 series of the video cards are bare minimum. They botched it again.
23  Discussions / Miscellaneous Topics / Re: Oblivious on: 2006-03-24 19:08:55
So whats are yours system specifications, and how much it crawls?
24  Game Development / Performance Tuning / Re: A poor man's struct on: 2006-03-20 20:00:05
Fecking structs, I wish I'd never called them that. The whole point is nothing to do with C or structs in C or "value types". It is all about providing object-oriented access to data held in ByteBuffers in an efficient manner which is easy to implement in the current VMs, without breaking any semantics in the language or the specs.

I use term dipper for simillar structures. That things you talked about might be called memory mapped, or siliding window dipper.
25  Discussions / General Discussions / Re: java popularity in desktop computers in numbers or % on: 2006-03-05 17:22:58
Someone whould have big problems with hardware and software, others would come and everything works properly.

Be nice to computers and don't forget to care about them. When did you removed dust from inside of case? Have you checked computer parts recently? What about silver, or gold silicon paste on CPU?

Only problem that I had with debian was refusal of aquirement of graphic device. I didn't installed Java libraries in administrator mode, so it might be the problem. (And of course a second problem with no authomatic CPU cooling on idle.)

26  Discussions / Miscellaneous Topics / Re: my computer is dead :'( on: 2006-03-02 19:25:13
Have you tried your brother's power source?
27  Game Development / Game Mechanics / Re: Physic resources on: 2006-03-01 23:57:25
is another nice site
28  Game Development / Game Mechanics / Re: JOODE: COLLISIONS on: 2006-03-01 23:28:17
Do you have these matrices orthonormalized? No gimbal locks? No round off errors?
29  Discussions / General Discussions / Re: Math.abs() discussion on: 2006-02-23 02:18:58

PS>OT how do u test the accuracy of a trig function like java apparently without cause extra trig functions that are known to be accurate?

I would guess that answer on you question would be Taylor series/aproximations.

I remember how I used words "Taylor series" and "that number with exclamation mark" in one sentence.
30  Discussions / General Discussions / Re: Math.abs() discussion on: 2006-02-23 02:17:29
I'm willing to bet my left lung that Math.abs() has never in the history of mankind even been close to being a bottleneck in any kind of program.

Optimisations such as these are dangerous, pointless and a huge waste of time.
"res += vals/(i+1);"

Addition and (integer) division.
It's SLOWER than Math.abs().

Video encoder / decoder.


Of course the div and the idiv will be slower than abs. These are, with the sqrt, the slowest instructions on CPU. 80 cycles each (in full precision).

If you'd like to see the reason, you could look into my 256 bit library (It alows 256 bit integer register based computation on 32/64+ bit CPUs.) FFT based division algorithms are better at aprox 1024 bits, and hardware based FFT like implementations could be unnecessary complex for only 64 bit registers.

Of course assembly programmers could use aproximate algorithm at cost of aprox 3 multiplies. In addition situation for small divisors isn't that bad, because recent CPUs have division table, so small divisors are resolved more easily.
Pages: [1] 2 3 ... 12
EgonOlsen (37 views)
2018-06-10 19:43:48

EgonOlsen (20 views)
2018-06-10 19:43:44

EgonOlsen (39 views)
2018-06-10 19:43:20

DesertCoockie (186 views)
2018-05-13 18:23:11

nelsongames (122 views)
2018-04-24 18:15:36

nelsongames (121 views)
2018-04-24 18:14:32

ivj94 (861 views)
2018-03-24 14:47:39

ivj94 (122 views)
2018-03-24 14:46:31

ivj94 (758 views)
2018-03-24 14:43:53

Solater (139 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!