Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (483)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (550)
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
1  Discussions / Miscellaneous Topics / Re: Hello on: 2012-08-03 16:16:19
Welcome Smiley
2  Discussions / Miscellaneous Topics / Re: Who would you consider a programmer? on: 2012-08-01 21:19:19
You could always check if you qualify using the brogrammer quiz, could be near enough Smiley

http://areyouabrogrammer.com/
3  Discussions / Business and Project Management Discussions / Re: Finally, an Experience poll! [UPDATED] Now with Statistics! on: 2012-05-29 10:48:25
Not massively active here but I will chip in as well.

Time with JavaGames MadeDeveloped IdeasNot so developed ideasLearningEducationAgeIn collaborationNeed collaborationLocation
60Vast amountVast amountEnterprise architechture and design. Games development.College30Yes, but not in games developmentYesBorn in Stockholm, Sweden, living in Warrington, United Kingdom
4  Game Development / Networking & Multiplayer / Re: Choosing a database software on: 2012-04-21 12:13:43
When picking your data store I'd say it's not about what language you're writing your code in, but rather what kind of data you're intending to store and what the requirements around reading and writing are.

I would also suggest you stay away from OR frameworks or at least seriously evaluate the pros and cons of using one. They tend to put you in a right mess if you use them the wrong way.
5  Discussions / General Discussions / Re: Ok, memory management problem on: 2009-07-06 09:53:55
I'm using Lucene for a project at work and I managed to have an index at the third of the size of the original data. I also did some index speed tests.

Test facts
Number of files: 95.000
Total amount of data: 1.13 GB


Test 1 (single thread indexer)
In this first test I just wanted to index all the data.

Time consumed: 12 minutes 12 seconds


Test 2 (multithreaded indexer)
In this second test I used multiple threads to index all the data to see if I could speed things up.
 
Time consumed: 6 minutes 17 seconds


Test 3 (searching)
My final test was a search test. In this test I have changed one of the 95.000 files to contain my name and I run a search on it.

Time consumed: 93 milliseconds


Those are my very simple test results for Lucene. In the end I went for single thread indexing because I usually don't have that many things to index. I index things as they are added. My test files were basically text files with about 12Kb data each, the typical thing I wanted to index.

// Json
6  Game Development / Newbie & Debugging Questions / Re: Class path wrong!? on: 2009-07-01 19:31:44
I usually have a JAVA_HOME set as well.

// Json
7  Games Center / WIP games, tools & toy projects / Re: TUER: Truly Unusual Experience of Revolution, FPS using JOGL on: 2009-06-25 12:30:03
Oh and on another note, so that I'm not completely off topic, I did try out Tuer last night, I see you've added some menus etc. Looking good, the mouse movement is somewhat slow for my liking though, dunno if I could change that in some options screen or something.

I'm keen on seeing a version of this where you can actually move up and down as well Cheesy

// Json
8  Games Center / WIP games, tools & toy projects / Re: TUER: Truly Unusual Experience of Revolution, FPS using JOGL on: 2009-06-25 12:27:56
I've been playing some Lego Star Wars on the Wii lately and the highlighted menu item is alternating between different colours so it sort of looks like its blinking in a way while the other items are just a plain colour.

// Json
9  Game Development / Newbie & Debugging Questions / Re: Stop old Thread when a new one will be initialized on: 2009-06-22 07:26:55
Brilliant Cheesy

// Json
10  Game Development / Newbie & Debugging Questions / Re: Stop old Thread when a new one will be initialized on: 2009-06-19 12:40:16
Maybe you should try and take another approach and not use a separate thread. You could just initialise a frame and keep it referenced and whenever you get a joystick action you set the labels and whatnot on the frame and then you make it visible. Once the 1 second time limit is up you hide the window and start all over. If there is a new action while the window is already open, just reset the timer and change the information in the window.

// Json
11  Game Development / Newbie & Debugging Questions / Re: Stop old Thread when a new one will be initialized on: 2009-06-18 09:28:29
Maybe you can alter your code somewhat like this.

At the end of your action class.

1  
2  
3  
4  
5  
6  
7  
8  
if(display_window) {
    if(this.displayInfo != null && this.displayInfo.isAlive()) {
        this.displayInfo.getFrame().dispose();
    }

    this.displayInfo = new DisplayInfo("title", window_text, 250, 50, 1000);
    this.displayInfo.start();
}


Also make sure you add a new member to that class called displayInfo which is of type DisplayInfo.

You will also need to modify your DisplayInfo class and add a reference to the created JFrame.

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  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
import javax.swing.*;
import java.awt.*;
public class DisplayInfo extends Thread {
    //title and text
   String title;
    String text;

    //size in pixels
   int width = 400;
    int height = 100;

    //time to display in ms
   int time = 3000;

    // The frame
   JFrame frame;

    //class infos
   static int instances = 0;
    static DisplayInfo instance;

    public DisplayInfo(String title, String text, int width, int height, int time) {
        if(instances>0) {
            instance.stopInstance();
        }
        ++instances;
        instance = this;
        this.title = title;
        this.text = text;
        this.width = width;
        this.height = height;
        this.time = time;
    }

    public void run() {
        //Create and set up the window.
       this.frame = new JFrame(title);
        this.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.frame.setUndecorated(true); //removes the borders

        //add text to the frame
       JLabel label = new JLabel(instances+" - "+text, JLabel.CENTER);
        label.setForeground(new Color(0xBB, 0xBB, 0xBB));
        this.frame.getContentPane().add(label);

        //set size
       this.frame.setSize(width, height);

        //get screen size
       Toolkit toolkit = Toolkit.getDefaultToolkit();
        Dimension screenSize = toolkit.getScreenSize();

        //Calculate the frame location
       int x = (screenSize.width - frame.getWidth()) / 2;
        int y = ((screenSize.height - frame.getHeight()) / 3) * 2;

        //color
       this.frame.getContentPane().setBackground(new Color(0x33, 0x33, 0x33));

        //Display the window.
       this.frame.setLocation(x ,y);
        this.frame.setVisible(true);

        //wait
       try {
            Thread.currentThread().sleep(time);
        } catch(InterruptedException ie) { }

        //close
       this.frame.dispose();
    }

    public void stopInstance() {
        --instances;
        this.stop();
    }

    public JFrame getFrame() {
        return this.frame;
    }
}


Now that will give you a solution for closing the actual frame and the thread should die automatically after your set time anyway. However you might want to consider implementing Runnable instead of extending thread and also adding a boolean with a while loop in the run method because thread.stop() has been deprecated.

// Json
12  Games Center / Archived Projects / Re: Ilmojein Pilotit 1917 - ( Pilots of Air 1917 ). on: 2009-06-11 08:35:52
Thats pretty cool, I like the idea, looking forward to a playtest later on Cheesy

// Json
13  Games Center / Featured Games / Re: Minecraft on: 2009-06-10 09:34:19
I released multiplayer the other day, and registrations shot through the roof. Over 24 hours, I got about 1200 registrations, and there currently are about 200 players playing it online. Holy moly!

Grats Markus, well done!

// Json
14  Game Development / Game Play & Game Design / Re: New member: can I ask for some guidance? on: 2009-06-10 09:32:40
When I started game programming back in the days I was into C++ myself and I went through most of the OpenGL tutorials on http://nehe.gamedev.net/

There are also some nice articles there and alot of the tutorials have been ported to LWJGL and JOGL as well.

Personally I've not ever owned a programming book ever until my employer just bought me the SCJP training book. I'm planning on getting some OpenGL books soon to see what I've missed out on Cheesy

Good luck on your quest of inner knowledge and please post your work in progress in the appropriate forum as well when you feel ready, everyone here are keen on giving guidance and feedback to each other.

// Json
15  Discussions / General Discussions / Re: jdk 6u14 - whats new ? on: 2009-06-10 09:13:34
Yeah the blacklist seems interesting, there doesn't appear to be a blacklists file with this release though or am I wrong?

The "new" garbage collector is also available in this release for anyone to try it out.

// Json
16  Discussions / General Discussions / Re: FGF players' portal: the paradise of Java open source games on: 2009-05-28 12:30:18
There is no real straight forward answer there I'm afraid, but have a look at http://www.w3schools.com/css/css_reference.asp

That might give you a clue to what's supported by each browser.

// Json
17  Discussions / General Discussions / Re: LWJGL or Slick or Java2D on: 2009-05-26 10:01:13
Or maybe ask sun if they can white list the LWJGL cert Cheesy

// Json
18  Games Center / Featured Games / Re: Rescue Squad 2! on: 2009-05-26 08:54:59
Brilliant Cheesy

// Json
19  Discussions / General Discussions / Re: When coding in Java, it is damned nice to (fill in the blank) on: 2009-05-26 08:54:06
I think it depends on the complexity of what you are about to embark upon. The more complex the more planning. I guess you have to find a balance that will work for the project at hand.

Other than that when coding in Java, it is damned nice to have fun Cheesy

// Json
20  Games Center / Featured Games / Re: Rescue Squad 2! on: 2009-05-26 07:22:38
I shall give it another go tonight and check out the tutorials Cheesy

I'm still somewhat confused to why you need the night vision and flares because you can see just fine without them. Maybe it needs to be even darker when you are out there Cheesy

I was also thinking about weather effects, that would be rather cool in higher levels. Makes the flying somewhat more difficult.

// Json
21  Games Center / Featured Games / Re: Rescue Squad 2! on: 2009-05-25 19:44:42
Brilliant game, I really enjoy it. Just need some more levels etc in there.

Really well made.

// Json
22  Game Development / Game Play & Game Design / Re: Formula for leaderboard on: 2009-05-22 07:08:20
I'd say, could you elaborate a little bit on that question, I'm not sure what you are on about. I've never done a fighting game my self to be honest. What do you mean by leaderboard?

// Json
23  Games Center / Archived Projects / Re: Unnamed Superhero RPG on: 2009-05-17 12:36:52
Wow thats pretty good indeed. He looks kinda angry though hehe Cheesy

Keep it up, can't wait to see more progress.

// Json
24  Discussions / General Discussions / Re: Blue Fiend JOGL? on: 2009-05-15 18:54:33
I agree as well, go with what makes you happy Cheesy

// Json
25  Discussions / Miscellaneous Topics / Re: The HADOPI law has been rejected :D on: 2009-05-13 19:28:13
There is already a Swedish law that allows the government to scan all traffic crossing its borders.

// Json
26  Discussions / General Discussions / Re: Welcome 2 new Global Moderators to JGO on: 2009-05-13 16:23:18
I'm also sort of lurking for any interesting collaborations Cheesy

// Json
27  Discussions / General Discussions / Re: Welcome 2 new Global Moderators to JGO on: 2009-05-12 13:12:47
Grats, looking forward to being moderated by you guys......erm......

Anyways, best of luck to you Cheesy

// Json
28  Discussions / Miscellaneous Topics / Re: Twitter on: 2009-05-11 07:57:34
I think I'm on twitter as "jsonnajt".

// Json
29  Game Development / Newbie & Debugging Questions / Maven Web Start Plugin on: 2009-05-11 07:56:30
Hello all,

I've been playing around with a plugin I found for Maven2 which generates the web start stuff for me including the jnlp file. It will even sign everything for you when you build your project.

Have a look at: http://mojo.codehaus.org/webstart/webstart-maven-plugin/

If you decide to try this out and you have any questions, post them here and I will try to be of assistance. Bare in mind I've just stared using it and my support will be limited Cheesy

// Json
30  Game Development / Networking & Multiplayer / Re: Character encodings in complex enterprise environment on: 2009-05-09 11:04:46
How are you forcing the tomcat URI encoding? Using the server.xml file?

// Json
Pages: [1] 2 3
 

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

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (19 views)
2014-08-22 19:31:30

atombrot (30 views)
2014-08-19 09:29:53

Tekkerue (25 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (15 views)
2014-08-16 06:20:21

Tekkerue (24 views)
2014-08-16 06:12:11

Rayexar (63 views)
2014-08-11 02:49:23

BurntPizza (39 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (38 views)
2014-08-06 19:49:38
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!