Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
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: Is our Universe Simulatable? on: 2014-04-21 00:40:52
The universe as we experience it in ur heads is just an emulation that has an indirect relation the the "real" reality. For example, color is not a property of light, it is a label attached to light in our brain.
2  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-04-21 00:14:55
From my study of chemistry, I recall that supercomputers struggle to exactly represent one oxygen molecule. I think if you had a computer larger than the universe, you could simulate the universe :-)
3  Discussions / General Discussions / Re: Coding like its for other people on: 2014-04-20 17:39:45
Some things just take no extra effort anyway, like the reverse domain convention, or good style within classes. So why not follow the conventions? Dirty code hides a lot of bugs.
4  Game Development / Newbie & Debugging Questions / Re: Which class do I use to build a game board for console output? on: 2014-04-19 00:12:26
Ok, but OOP != BS.
5  Game Development / Shared Code / Re: My entity properties... a bad idea? on: 2014-04-16 09:01:17
Danny02, my original idea was to clone the whole entity, but now I think that would lead to a large amount of garbage collection...

Also, I think your sample is only going to work for single-property entities. Also, I think it will lead to lots of versions of the same instance floating about, which would not be desirable.

The main reasons I am thinking of multithreading are that (1) I am more accurately writing a sim than a game, so I want to go as big as I can go, and (2) the game has a fast forward button that multiplies the computational load.

@Roquen, I expect that AIs will not execute every frame for every entity. No real creature analyzes its situation 30 times a second... :-) So only a subset of the entities would be doing heavy lifting per frame.
6  Game Development / Shared Code / Re: My entity properties... a bad idea? on: 2014-04-16 08:10:17
It will be slower in a single thread case, but I think it will enable the multi thread case to work...

Obviously if all the properties are immutable there would be no problem. The question is HOW to expose mutable properties.
7  Game Development / Shared Code / My entity properties... a bad idea? on: 2014-04-15 23:09:13
My entities for my fog game are just a collection of property classes. There will be thousands of entities so I want to multithread processing of the entities. To avoid race conditions, I plan to defer property updates like so (the earliest property update wins, although this might itself be a property of the property):

/**
 * A gettable/settable property of an entity.
 * Set ops are parked and applied in the future so entity processing can be safely multithreaded.
 * Created by agslinda on 4/15/14.
 */
public class Property<V> implements FutureUpdateable {

    public V prop, futureProp;
    //time is an abstract notion of when in a game loop something happens, it's not related to system time
    long time = 0;

    public V get() {
        return prop;
    }

    public void set(V p, long time) {
        if (futureProp == null || time < this.time) {
            futureProp = p;
            this.time = time;
        }
    }

    @Override
    public void update() {
        prop = futureProp;
        futureProp = null;
        time = 0;
    }
}


So the Name property looks like this:

/**
 * A name of a whatsit.
 * Created by agslinda on 4/15/14.
 */
public class Name extends Property<String> {
}


There will be other kinds of properties for primitive long, boolean and double values.
8  Game Development / Newbie & Debugging Questions / Re: Identifying Subclasses on: 2014-04-15 12:34:58
spell instanceof FireSpell

But it would be better to structure your code to avoid the need to use instanceof, it tends to be ugly code, and you will have long tails of if...else...else... for all your subclasses. Rather have a method like AbstractSpell.cast() that each spell implements, then you can ask a spell to act (or display or whatever) without needing to know which subclass you have.
9  Discussions / Business and Project Discussions / Re: [PAID] Searching for a programming instructor. on: 2014-04-15 12:31:31
Hmmm... Programming is creative, there are many right solutions to any given problem, and all the right solutions have different bugs and limitations. Five people will tell you five different things - some will be quite similar (with telling differences) but some of the things they say will be poles apart. So I'm not sure how much it would benefit you if someone "told" you "exactly" how to do it.
10  Games Center / WIP games, tools & toy projects / Re: Gold Miner! on: 2014-04-14 23:36:14
Eh? Sword, I think you derailed the wrong train...

Back ontopic: keep up the progress! Graphics work can always be deferred.
11  Discussions / General Discussions / Re: JGO Kickstarter on: 2014-04-14 23:23:27
It's a point in time where you deem time to be zero.


It's 923,034,528s since Riven epoch.

I prefer the geology definition :-)
12  Discussions / General Discussions / Re: JGO Kickstarter on: 2014-04-14 12:37:57
What is an 'epoch?'

a division of geologic time less than a period and greater than an age
13  Discussions / General Discussions / Re: What hosting do you use for your websites? on: 2014-04-14 12:24:07
Google App Engine is my choice! Doesn't support MySQL though.
14  Discussions / General Discussions / Re: Anyone tried AIDE? on: 2014-03-05 12:15:46
I got Headline Benchmark Androidified with AIDE, and my first Android results are on my site:

http://www.headline-benchmark.com/results/70b9b57a-7e82-41b8-b0c8-780ced87dfe0

I still need to iron out a few wrinkles, and add in the GPU tests, so it will be a while before the Android app is available.

Yes debugging is a pain in AIDE. Took some time to figure out the app was crashing out because the memory test required a "large heap" setting in the android manifest.
15  Discussions / General Discussions / Re: Anyone tried AIDE? on: 2014-02-21 15:24:22
I finally got an android device, an Asus Memo Pad HD, and I am running AIDE on it. It's not exactly IntelliJ, and using the on-screen keyboard can be painful, but AIDE is a sweet little thing. I'm porting Headline Benchmark over to Android through AIDE, and it's going smoothly :-)
16  Discussions / Miscellaneous Topics / Re: Random brain fart: the rationale behind versioning on: 2014-02-09 20:20:01
The Alpha version is the one with all the cool features everyone wants. This is the True Version of the software.

The Beta version is the same, but with half the cool new features descoped.

The GA version is the same, but all cool features have now been descoped.
17  Games Center / WIP games, tools & toy projects / Re: Dat Shoter Alpha on: 2014-02-07 00:07:31
The game is looking impressive.

Good choice with libgdx. You'd be mad to write your own engine :-)
18  Game Development / Newbie & Debugging Questions / Re: How do you capture video of your games? on: 2014-02-06 23:54:43
I use jMonkeyEngine, and that has a class for capturing video.
19  Games Center / WIP games, tools & toy projects / Re: SF Citybuilder- Buildings/Concept Art on: 2014-02-03 23:45:47
The art in this game is incredible. The gameplay videos remind me a lot of Age Of Civilization, which is a very good thing.

I will pay money for this game.
20  Discussions / General Discussions / Re: New feature: coding experience on: 2014-02-02 23:04:43
I put 5 years, but I'm a technical writer so it doesn't count :-)
21  Games Center / WIP games, tools & toy projects / Re: Headline Benchmark on: 2014-02-01 23:35:31
I added SHCs code and built a MAC binary. The website is not updated (it is untested code) but here is a link to download the binary:

https://bitbucket.org/aclarke/headline-distribution/downloads#download-304630

Good luck, and let me know what happens!

PS: The next update will include a Credits screen, much needed for the many people who have helped me :-)

EDIT...

Hey SHC, that was quick! But why do you have a None graphics processor? The string "None" is being returned by my OpenGL calls...
22  Games Center / WIP games, tools & toy projects / Re: Headline Benchmark on: 2014-02-01 22:38:37
Hi sorry, I've been busy remodelling my house.

I will get the mac binary up ASAP!
23  Discussions / General Discussions / Re: Opinions of games engines on: 2014-01-09 20:10:04
Any good programmer spends more time figuring out what code to write than writing code.

I spend all my time working out what I HAVE written :-)
24  Discussions / General Discussions / Re: Opinions of games engines on: 2014-01-09 12:14:31
Unless you are trying to achieve something practical and measurable, how do you know your tinkering has had any positive effect? For all you know you have just gone in circles. I find I can only think effectively about programming when I have a specific problem to solve.
25  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-01-03 00:35:15
Just use this license :-)

http://www.wtfpl.net
26  Discussions / General Discussions / Re: what do you code on? on: 2014-01-01 22:49:01
Laptop (win 32): Pentium(R) Dual-Core CPU T4200 @ 2.00GHz, 3G RAM and a ATI Mobility Radeon HD 3450

Desktop (win 64 and linux 32): Genuine Intel(R) CPU 2160 @ 1.80GHz, 3.20G RAM and a GeForce GT 430

You can compare your rig to mine on my website (link to top system so far, compared to my laptop):

http://www.headline-benchmark.com/results/45e8da85-12a3-44d3-b6f0-11b9eccb4525
27  Games Center / WIP games, tools & toy projects / Re: Headline Benchmark on: 2013-12-28 22:59:24
Headline Benchmark reached 100 dowloads today. It's an internet sensation! Champagne all around!

Windows 64 bit: 55 downloads
Windows 32 bit: 21 downloads
Linux 64 bit: 13 dowloads
Linux 32 bit: 6 downloads
CLI: 5 downloads
28  Games Center / Showcase / Re: Buster, a Java Breakout Clone on: 2013-12-25 20:37:45
I see this is an update of a 2009 game. Welcome back!
29  Game Development / Networking & Multiplayer / Re: Login through a website on: 2013-12-20 20:07:52
I use Servlets and GoogleAppEngine on my website. It's free and a lot less hassle than setting up a LAMP server.

Where's the fun in that? Or the learning?
This is a perfect opportunity to learn some server side languages such as Ruby, Python, Perl, Django, etc.
Take it!

I didn't know it was a learning exercise. Anyway, Java is the uber server-side language. Also, I have no idea where you get the idea that building a Java-based website would not be fun, or that using the Google infrastructure would not involve learning relevant and with-it technologies like nosql.
30  Game Development / Networking & Multiplayer / Re: Login through a website on: 2013-12-20 00:20:59
I use Servlets and GoogleAppEngine on my website. It's free and a lot less hassle than setting up a LAMP server.
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.

xsi3rr4x (62 views)
2014-04-15 18:08:23

BurntPizza (60 views)
2014-04-15 03:46:01

UprightPath (73 views)
2014-04-14 17:39:50

UprightPath (56 views)
2014-04-14 17:35:47

Porlus (73 views)
2014-04-14 15:48:38

tom_mai78101 (99 views)
2014-04-10 04:04:31

BurntPizza (159 views)
2014-04-08 23:06:04

tom_mai78101 (254 views)
2014-04-05 13:34:39

trollwarrior1 (208 views)
2014-04-04 12:06:45

CJLetsGame (215 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!