Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (682)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (750)
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 ... 49
1  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-07-24 10:51:40
@philfrei can answer better but its a first cut and currently lets me mix in effects like foxes and owls and leaf rustling. It's an important component of the game because I won't have music, only ambient sounds.
2  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-07-23 20:48:14
Spent the evening playing with @philfrei's vagardsound.jar. It creates a very atmospheric night forest soundscape. Smiley
3  Game Development / Newbie & Debugging Questions / Re: LibGDX + Ashley, Entity is stationary (Mostly) on: 2016-07-18 11:00:08
Summary: this Ashley thing is complicated and you don't know what it is doing.

Question: What compelling reason do you have to use Ashley?

A ton of code from somebody else usually does not solve problems you have not actually encountered yet.
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-07-14 21:28:14
Acorns are quite a widespread food, especially in times of famine, and is a regular part of korean food today. I remember trying to eat them as a kid. My older brother said they were yummy.
5  Games Center / WIP games, tools & toy projects / Re: OpenTafl: old terminal graphics meet Old Norse board games on: 2016-07-14 19:26:53
OK, now you've got me worried. That all sounds very formidable.
6  Games Center / WIP games, tools & toy projects / Re: OpenTafl: old terminal graphics meet Old Norse board games on: 2016-07-14 17:57:32
Steady progress! How is your AI coming on?
7  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-07-14 10:50:06
I do have sound now - ambient birdsong and forest rustling, with random crow cawing.

I'm also in the process of backing out all the hardcoding in world generation, so I drive it all from the creature definitions. So for example as part of the oak definition I specify the density of Oaks as being 2 oaks / hectare (20,000 oaks for a default map), with additional rules for clumping and whether they are more or less likely to occur near settlements and so on.

EDIT: Just got the plant part implemented, so world generation is very much simplified wrt vegetation and doing the same for animals is only a short step away! Immediately the world is richer, with more varieties of trees and a wider variety of items in the tree drops.

EDIT: I also have animals loading from file now, so I have a wide range of species in the game: bears, wolves, foxes, boars, deer, and rabbits.
8  Games Center / Featured Games / Re: Heroes of Loot 2 - Steam + Android + iOS (libgdx) on: 2016-07-14 10:20:55
Do you feel confident and try to boost your sale, I mean, working on a bigger title, invest in better graphics, marketing and so on ? What are your plans ?

Isn't he doing that already? That is adding Steam and PC to increase the Total Addressable Market?

Quote
In that short year of being on PC and Steam the monthly PC income is now at 50% of my monthly mobile income (as-in the monthly income without having a newly released game).  So it's growing rapidly, mostly due to the higher sales price obviously that I can set on PC.
9  Games Center / Featured Games / Re: Heroes of Loot 2 - Steam + Android + iOS (libgdx) on: 2016-07-13 20:51:02
5 month dev time  Shocked Shocked Shocked Shocked Shocked
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-07-13 10:58:10
Defined more tree types in vangard, including ancient pine and ancient oak... Chopping down ancient trees is bad karma.

I have added more plant products as well.

Pine trees make pine cones but I can't think of any practical uses for pine cones. I suppose you could gather lots of pine cones and sell them as firewood bundles.

I read that acorns are poisonous but can be converted into edible food by leaching the toxins out. The downside is they don't taste very nice but the vikings did eat them occasionally. I guess they are free food for the viking underclass.

Vikings loved hazelnuts so I had better add those tonight.
11  Games Center / WIP games, tools & toy projects / Re: TreeML markup language on: 2016-07-12 10:56:18
I can knock out a TreeML schema in 5 minutes, which is QUITE a lot faster than XSD or RelaxNG or DTD Smiley
12  Game Development / Newbie & Debugging Questions / Re: getters and setters vs public vars on: 2016-07-10 21:09:38
An immutable class doesn't manage its own fields. It's fields don't change. Also I think you are confusing final on a method (cannot override) with final on a field (value fixed at instantiation).
13  Game Development / Newbie & Debugging Questions / Re: getters and setters vs public vars on: 2016-07-09 20:29:39
Assuming the code is only being used in it's own project, and you get tired of your public variables, then all you have to do is change the public variable to private and fix the broken references. It's no big deal.

If your code is shared across several projects or by several people, then you have an insoluble mess with public non-final mutable variables.
14  Game Development / Newbie & Debugging Questions / Re: JavaFX sound: no exceptions, but no sound? on: 2016-07-09 16:09:00
Screw it. I'm using TinySound now.
15  Game Development / Newbie & Debugging Questions / Re: JavaFX sound: no exceptions, but no sound? on: 2016-07-08 23:36:48
Yep... didn't help.
16  Game Development / Newbie & Debugging Questions / Re: JavaFX sound: no exceptions, but no sound? on: 2016-07-08 21:22:21
I'm paying the price for being superhacky I think. I confess my experiement is mishmash of Java2D and JavaFX...

This experiment is interesting. I made SoundThing an Application to isolate the behavior. I've commented out the call to the Java2D application's main method. The interesting thing is it plays a sound. Despite putting it all on a separate thread, the sound only plays after the sleep() statement. I guess JavaFX stuff is locked on the main thread.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
public class SoundThing  extends Application {

    public void play(String id) {
        new Runnable() {
            @Override
            public void run() {
                Media sound;
                try {
                    sound = new Media(SoundThing.class.getResource("/resource/sound/duck.mp3").toURI().toString());
                } catch (URISyntaxException e) {
                    throw new RuntimeException();
                }
                System.out.println("playing sound");
                MediaPlayer mediaPlayer = new MediaPlayer(sound);
                mediaPlayer.play();
            }
        }.run();
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        play("");
        Thread.sleep(7000);
        //Game.main(new String[]{});
    }
}
17  Game Development / Newbie & Debugging Questions / JavaFX sound: no exceptions, but no sound? on: 2016-07-08 20:45:02
I've never played with JavaFX sound before but I'm not getting any results... What's wrong with this code:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
public class SoundThing {

    public void play() {
        Media sound;
        try {
            sound = new Media(SoundThing.class.getResource("/resource/sound/duck.mp3").toURI().toString());
        } catch (URISyntaxException e) {
            throw new RuntimeException();
        }
        System.out.println("playing sound");
        MediaPlayer mediaPlayer = new MediaPlayer(sound);
        mediaPlayer.play();
    }

}


I don't get any exceptions, just no sound.
18  Discussions / General Discussions / Re: Interesting proposals: Java 9 and beyond on: 2016-07-07 20:45:42
I remember the big drive in the early 2000s in my former employer to hop on the EE train... which went nowhere. Plenty of frameworks out there, nobody needs EE, it's just LegacEE.

As for regular Java, it has a freight train of momentum that enables it to survive any particular corporate backer. I might be naive, but what exactly does Oracle contribute that could not be replaced by a community process that would not doubt be liberally supported by a large number of enterprises?

@noctarius, going by your profile pic you are a spokesperson for XCOM?
19  Discussions / General Discussions / Re: What does your dream language look like? on: 2016-07-07 20:35:40
It looks like I can go completely declarative, but that doesn't feel language-ey enough.
20  Discussions / General Discussions / Re: What does your dream language look like? on: 2016-07-07 10:44:18
I want to write a little programming language of my own at some point, just for the fun of it. But I can't think of any features I really need that Java doesn't give me already, and there's no way a hobby language is going to have anything to offer in comparison to the maturity and depth of libraries Java offers. So my dream language has to be some kind of specialized DSL that does one specific thing insanely well, but is no competition for Java for general programming. But I'm still waiting for the spark of inspiration....

I do think there is a case for a DSL for my AIs in Vangard but I can't crystallize the ideas yet.
21  Games Center / WIP games, tools & toy projects / Re: TreeML markup language on: 2016-07-06 20:32:18
I'd rather not revisit the tabs v spaces v curlies war. Smiley It's an example of how people have a tendency to go to war over trivial things. To me it's a bit like arguing XML is broken because it uses angle brackets instead of square brackets, which are obviously better because you don't have to press shift for square brackets. What was the W3C thinking?
22  Games Center / WIP games, tools & toy projects / Re: TreeML markup language on: 2016-07-05 20:19:56
I'm sailing close to post-locking this thread, but anyway. I just realized today with the dependency definition format, I can simplify the schema language because I never need to define enums in schemas. For example, instead of defining an enum in a schema for wealth categories (impoverished, poor, prosperous...), I can define a dependency on file where I define the allowed values. This has advantages because I can now give numerical attributes to the enum values, add description texts etc.
23  Games Center / WIP games, tools & toy projects / Re: OpenTafl: old terminal graphics meet Old Norse board games on: 2016-07-04 18:26:23
Is this pronounced "taff - ull"?

I pronounce it more like taa-ful.
24  Games Center / WIP games, tools & toy projects / Re: TreeML markup language on: 2016-07-03 22:26:57
The dependency checker is up and running and working a treat! I specify a path within a "from" schema and a path within a "to" schema and the links for all documents matching those schemas are validated during document load. It's a huge productivity boost as i can just define the dependencies one by one and then walk through the errors and add the missing items, creatures etc.

This is really starting to take shape Smiley

Checking dependency: adultForCreature
Checking dependency: partsOfCreature
Checking dependency: productsOfCreature
Checking dependency: skillsOfCreature
Checking dependency: attacksOfCreature
Checking dependency: skillsRequiredByItem
Checking dependency: itemsConsumedByRecipe
Checking dependency: toolsForRecipe
Checking dependency: productsForRecipe
Checking dependency: skillsForRecipe
25  Games Center / WIP games, tools & toy projects / Re: Vangard on: 2016-06-29 10:55:47
Sound implementation has been pushed by out by groundwork I am doing to ensure the consistency of world data - I have thousands of interlinked lines of world data and I wanted to be able to guarantee it was correct. That's just getting finished, if I have time tonight I try to commit at least one sound.
26  Games Center / WIP games, tools & toy projects / Re: TritonForge || 2D RPG Sandbox (New DL Soon, project revived) on: 2016-06-27 19:58:38
Nice videos but I think they can be shorter....
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-26 01:21:13
I completed code to ensure referential integrity in my Vangard data files.

1  
2  
3  
4  
5  
6  
...
Line 646 : L0003: Node name not in source: chickenMeat
Line 680 : L0003: Node name not in source: manFlesh
Line 681 : L0003: Node name not in source: humanBlood
Line 682 : L0003: Node name not in source: humanSkin
Found 31 errors.
28  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-26 00:15:21
PHP is evil because it was fashioned by Sauron in the black depths of Sammath Naur. It caries his evil with him and corrupts all it touches.

Java on the other hand was made by Celebrimbor the peerless Elf in Eregion, and no shadow lies on it, except perhaps for those damned closures.
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-25 23:32:44
You could say that, but remember that Java is Good and PHP is Evil.

Smiley
30  Games Center / WIP games, tools & toy projects / Re: TritonForge || 2D RPG Sandbox (New DL Soon, project revived) on: 2016-06-25 14:33:03
I watched the video, it's not my kind of game but it looks very smooth and elegant.
Pages: [1] 2 3 ... 49
 
orrenravid (146 views)
2016-07-16 03:57:23

theagentd (215 views)
2016-07-11 14:28:54

Hydroque (298 views)
2016-07-06 05:56:57

Hydroque (446 views)
2016-07-03 08:52:54

GrandCastle (333 views)
2016-07-01 09:13:47

GrandCastle (325 views)
2016-07-01 09:09:45

CopyableCougar4 (381 views)
2016-06-25 16:56:52

Hydroque (366 views)
2016-06-22 02:17:53

SwampChicken (333 views)
2016-06-20 13:22:57

SwampChicken (287 views)
2016-06-20 13:22:49
Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17
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!