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 (600)
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 ... 21
1  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-26 16:24:17
If you really want to understand better. Try some assembly:

All programming languages makes somethings easy and other things hard. There is no silver bullet. I use Assembly for example on microcontrollers fairly often even today. I find it easier than even C for that sort of thing.
2  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-24 15:53:29
Princec, I think I did the same. Back in the days when a user interface was a basic compiler. Sometimes.

In reality you ask the OS to store like say 500 numbers, the OS returns the *first* address and says you can use this address and the next 499 for your storage. But the idea of abstraction with programming languages is that you don't need to worry about these details.
3  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-11-24 15:43:22
Well i want to chime and speak for the third type of person, or in this case, drinker. The one who perhaps drinks a little much and has a great time doing it.

I am pushing 40, work in science and am surrounded by regular drinkers to heavy drinkers. I have not noticed any lack of brain function, and quite frankly seem to be getting older and wiser. The people i work with are all very smart. Well most of them are.

BUT by god you can't make me grow up! I am having the time of my life, and have been for 30 years. It just keeps getting better. Sure i can't blame alcohol for that, but fairly regular nights out are a part of it.

Why do i drink. I get euphoric with alcohol. And super euphoric with even more. Lucky that because it means i get very polite to police officers, which is a very good thing after drinking Mojitos all day in Puerto Rico..

However i have never just sat down and sculled spirits like that on purpose (how that happen on accident is a long story). It just something you shouldn't do. Sure have a lot of back to back shots. But don't bottoms up a bottle. How much you have eaten etc with have a very large effect on the outcome as well, so just because it worked out once does not mean it will again. 

My wife however doesn't like it and won't come out and party often at all. That is fine, she also plays video games that make no sense, while she doesn't like eve online. Different people like and enjoy different things. There is no write or wrong about it.

The only thing that i get upset about is the driving. Doing the alcohol thing to yourself is one thing. Putting others in danger is not!
4  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 3; how's it getting along? on: 2014-11-24 14:50:22
So for a project that is starting now, is using lwjgl 3 a good idea? Or is using 2.x and porting later the recommended route.
5  Game Development / Game Mechanics / Re: Getting into multi-threading. on: 2014-08-18 14:32:44
The trick with multithreading is to have a fairly simple communication model with the data used in the treads. That is there is not a lot to synchronize because each thread is using almost 100% "thread local" data or immutable data. Commutation is done with a producer consumer queues. It works pretty well.

For a game.. well i can't really see it making much difference for an indie game. We are not talking AAA titles here and we are probably not overly taxing the GPU either. So a simple game loop may be all you need and it some make life very simple.

I run a game engine thread and a graphics thread and the are not synchronized. "Snap shots" of the state are sent to the graphics thread. Its quite a bit more complicated than normal game loop. 
6  Discussions / Miscellaneous Topics / Re: Life is like a strategy game sort off on: 2014-08-06 16:01:31
Define success.
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-06 15:00:08
I finally dusted off some game code and realized that i have been working on it on and off for almost 10 years!

I should probably finish it sometime. Oh and i decided to refactor it Cheesy
8  Game Development / Networking & Multiplayer / Re: Moving from a String based approach? on: 2014-07-30 11:49:03
Whatever you do, DON'T use CORBA. You would be better off stabbing yourself in the face with a blunt axe.

Yes i have used it extensively in the telecoms i once worked at. God i hope they moved on by now.

Seriously what is wrong with plain text. It is much much easier to debug since network inspection tools work out of the box. Performance is almost never needed and even if it is in the future i would always have a plain text fallback/debug mode.
9  Discussions / General Discussions / Re: So... state of the art 3D "engines" in Java on: 2014-07-30 08:36:49
Everyone i know uses Unity. So i dont' think anyone really thinks about it anymore. The few people not using unity seem to be using the steam one, whatever its called.

I always wondered what was wrong with scene graphs. I know they are still used a bit for CAD software.

I have found for my own stuff, opengl is so easy to just have a pretty basic ordered rendering list. Its really simple. The hard part would be adding GUI elements, and i use TWL for that. Of course i don't need to push the boundaries of what can be done. So no unlimited worlds or metatextures or anything like that. 
10  Discussions / General Discussions / Re: Component Systems: Artemis style systems vs. traditional fat entities on: 2014-07-28 13:38:20
Well i always think these debates are pretty Meh. But i still read them.

I mostly had issues with what problem Entity stuff solved, as in i couldn't see the point all that much. I assumed because i didn't understand them. Turn out i did. Also turns out when the right problem came along then it did become clear what they are good for. I should also note i didn't use it for performance, since i got a few clusters i can use with over 5k cores. But it made the code small and fairly compact.

For smaller indie games however its less clear how it helps. Its up there with writing an engine. Write a game, not an engine. No one else is going to use it anyway.
11  Discussions / General Discussions / Re: Component Systems: Artemis style systems vs. traditional fat entities on: 2014-07-22 11:36:22
Well i am going to chime in and have my say...

I am using a Entity like system. Technically it is a Entity-attribute-value system. I think these things can work well for the right kind of problem.

The only 2 game cases i can think of are RPGs and MMOs. In both there are just huge amounts of different things yet the relative number of behaviours over all those things is small.

I am not using it for a game, but for work and have the same pattern. Lots and lots of different things where things can even change to be other things, yet only a fairly small set of behaviours over all possible things. I also need to be able to many cores.

So far its working out well. Java kind of suxs a little for cache coherency, but not much since the data size of entity's can change at runtime and would probably need attributes referenced anyway.
12  Game Development / Performance Tuning / Re: Can someone explain what is going on with this square rooting? on: 2014-07-18 12:04:13
You really really really shouldn't try to fix performance when you don't have performance issues. About the only time sqrt is going to matter in performance is if you do software lighting and transformations. Which these days you shouldn't be doing. At least not much.

Also you are doing microbenchmarks which are almost always wrong.
13  Game Development / Newbie & Debugging Questions / Re: Slow FPS Problems on: 2014-07-18 12:01:20
rar file? Is this a 90s warz site?

Cut it down to the smallest example you can. We are not going to read your whole project.
14  Game Development / Networking & Multiplayer / Re: How the structure of a multiplayer game should look like? on: 2014-05-16 07:12:25
No amount of networking magic will eliminate latency. For a signal traveling at the speed of light to get to where i am to NZ and back (say playing against my brother) takes 133ms. Actual pings are about 320-350ms.

The trick is have game play that is not sensitive to that sort of latency (see for example Eve online) or make sure people are much more local to each other. But even with the same ISP it is hard to do better than about 40-50ms because of network setup most ISPs use.

For most games that is not a problem and our primitive monkey brains adapt pretty well. But that sort of latency would make games like Marvel Super Heroes almost unplayable. At 60FPS  you have 16.6ms between frames. Basically i can't see such a game working outside a lan.

Of course you could change the networking to be higher level. ie packets say what combo you just did. Not individual movements or key presses. You could change the game play to be a little slower placed.

I would tend to use a peer to peer lock step networking model for a game like this. But with only loose lockstep. ie let slower clients fall behind the faster ones.
15  Discussions / General Discussions / Re: How do you keep profanity out of highscore boards? on: 2014-05-15 08:18:40
Also you can't stop it. You can only police it. Oh and what languages are you supporting Cheesy. Profanity in other languages is pretty common as well.

Its like piracy. If you get popular enough for it happen. You did something right. Until that point. Don't worry about it.
16  Game Development / Newbie & Debugging Questions / Re: Encouraged model file format on: 2014-05-15 08:16:00
My format is literally the way i keep the data in memory. So i have a 2 load paths, load cached binary version, load slow full version that then also saves the memory image as a cached binary version.
17  Game Development / Game Mechanics / Re: [Math] Kinetic energy of impact between two moving objects on: 2014-05-14 15:37:30
A perfect antimatter drive puts all the mass energy of the antimatter/matter into kinetic energy. So a 99% c with a gamma of 7 means that a 1 kg projectile needs 7kg of matter/antimatter to accelerate to that speed.

That is 6x10^17J or a 1GW power plant running for 20 years.
18  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-05-12 12:14:40
Yay.. statistical modeling is my day job. I simulate the universe. Oh wait i only simulate evolution in finite populations. :/
19  Game Development / Game Mechanics / Re: [Math] Kinetic energy of impact between two moving objects on: 2014-05-12 12:03:42
The trick with using a "easy" frame of reference is that it makes non closed systems easy to deal with. That is the problem with using a different frame of reference. A wall can bring  momentum in and out of a system. If the wall is at zero speed. You no longer need care.

Typically for collisions the correct frame is the center of mass frame as the easiest. Since an unmovable wall has effectively infinite mass. Its rest frame is the correct one.

In games almost all "collisions" are not really closed systems. Seriously hack physics typically ends up as better more fun game play anyway.
20  Discussions / General Discussions / Re: Oracle wins copyright for the Java APIs on: 2014-05-10 13:33:42
I don't really see a big difference with this and well what other vendors have claimed over the years. In particular even some of the  GPL people (in particular  RS) asserts that linking to a library  (via a api) constitutes a derived work.
21  Game Development / Game Mechanics / Re: [Math] Kinetic energy of impact between two moving objects on: 2014-05-10 13:15:27
Physics results are will be the same no matter what frame of reference you use. So "cheat" and use the one that is the easiest. You can all sorts of math to prove that physics is the same in difference reference frames and that's all fun. but if you don't' really care, just use the simplest frame of reference.
22  Discussions / General Discussions / Re: Value Types Proposal for Java on: 2014-05-07 13:43:43
I must admit that i don't really see me using anything outside mapped objects in bytebuffers. I also would expect more C like behaviour with something called a struct. ie no Constructors ever. But then if there are references in the struct?
23  Game Development / Newbie & Debugging Questions / Re: Are HashMaps bad for Entity-Component-System Architectures? on: 2014-05-06 18:26:41
HashMaps can be very fast. In many cases as fast as and array. The random access can hurt somethings. But mostly don't worry about. If you don't have some profiling results showing that your maps are your problem, don't don't optimize it. And if it did become a problem there are a number of alternatives from java.util. that can just be dropped in.

If you want key value lookup. Just use a hash table.
24  Game Development / Game Mechanics / Re: Moving at a constant speed along a B├ęzier Curve on: 2014-05-05 14:51:37
I have done this accurately enough and fairly fast with just short 3rd order Gaussian quadrature integration, and doing a stepwise pre integration when the curve is created for a "global scale". Its plenty accurate enough for games. I use Hermite splines.

There is no short cut, there are proofs of this out there that there is no simple formula. 
25  Discussions / General Discussions / Re: [Web Games] What is the best second language? on: 2014-05-02 13:13:26
To summarise. Yea javascript or something that uses javascript under the hood won't be the wrong choice.
26  Discussions / General Discussions / Re: [Web Games] What is the best second language? on: 2014-05-02 13:11:37
True, very true. However i feel the academic divide is more fundamental and that for a lot of languages (not just DSL), it is the academic divide that matters.

The best way to see the academic divide is look at what most of the people using the language do with it. If its write that languages compiler, you have found the problem.

And by divide i mean people who care more about some abstract something or other, that than just getting code out that works. There may be ugly bits. But it works!
27  Discussions / General Discussions / Re: Where to learn about integrated circuits and such on: 2014-05-02 12:06:41
arduino board? I have 5 of them and they are easy and fun and cheap. You don't even need to get a soldering iron. But starting there and say adding some sensors etc are a really good place to start IMO. For more advanced stuff try putting a micro AVR (the 8 pin ones) on a bread board and get it going. With clocks and stuff you may want to try some discrete logic first from the 74 series. Last time i was in the US, Radio Shack still sold them. Analog? Well then a op amp circuit say to make your earphones louder or a "burger" speaker. 

Also if you have a little more cash there is always FPGAs which i had fun with in UNI. This does require a *lot* more work. But still manageable. 

In all cases there is a lot of reading and learning needed. Arduinos have lots on the internet. I learnt lots of this from books, some quite expensive. I guess there should be a lot online.
28  Discussions / General Discussions / Re: [Web Games] What is the best second language? on: 2014-05-02 11:58:59
I get lots done on time. That why I have yet to get fired and have a reason to work on games for a living Cheesy

Lisp is in fact pretty cool out of the academic languages. But yea there is a big divide that typically has more to do with tool chains and just tools than the languages.
29  Discussions / General Discussions / Re: [Web Games] What is the best second language? on: 2014-05-01 20:54:38
Be a real man. Learn Lisp.
30  Game Development / Game Mechanics / Re: Difficult game logi with Entity systems? on: 2014-04-29 11:24:17
We are trying something different from actors. Yes the "can i do this" message is probably the way we are leaning. But it ends up being a distributed transaction protocol more or less.
Pages: [1] 2 3 ... 21

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 (29 views)
2014-12-15 09:26:44

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

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

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

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

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

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

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

toopeicgaming1999 (102 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 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!