Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (492)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 8 9 [10]
 91 
 on: 2014-09-01 17:27:50 
Started by JulienBe - Last post by Gibbo3771
It's good.

Honestly particles > ALL THE THINGS

 92 
 on: 2014-09-01 17:15:58 
Started by Warden - Last post by BurntPizza
You just want the label to show up after a delay?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
...

frame.setVisible(true);

new Thread(new Runnable() {
    try {
        Thread.sleep(delay);
    } catch (Exception e) {}
    frame.add(label);
}).start();

 93 
 on: 2014-09-01 16:53:06 
Started by Warden - Last post by CopyableCougar4
You could also have a system like this.

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  
public class Loader {
   public static HashMap<String, JLabel> components = new HashMap<String, JLabel>();
   public static JFrame frame;

   public static void setJFrame(JFrame _frame){
      frame = _frame;
   }
   public static void addJLabel(String title, JLabel label){
      components.put(title, label);
   }
   
   public static int tick = 0;
   public static void load(){
      if(tick == 0){
         // Load the JFrame
     } else {
         // Load a JLabel
     }
      tick++;
   }
        // Use this to update a label
  public static JLabel getLabel(String title){
      return components.get(label);
   }
}


Again, just a suggestion.

CopyableCougar4

 94 
 on: 2014-09-01 16:46:09 
Started by nsigma - Last post by nsigma
I downloaded the latest test build and it worked well.

Great, thanks, good to know.

Would be good if it came pre-loaded with a cool demo project that would play some music and make a video with GLSL just to show off the features.

Agreed(ish).  Some more up-to-date and more exciting examples are definitely needed.  I'm less sure about packaging them in the install unless I can make some without many resources - the installer for the new version will be big enough already.

I presume you tried the New Custom and Smoky 3D examples on the Resources page?

Impressive for how you were able to borrow some code from netbeans. Was it difficult to integrate? I've also experimented with the swing code editor JSyntaxPane but found it to be unreliable and always wanted to know how hard it would be to borrow the editor from netbeans or eclipse.

Praxis LIVE is based on the NetBeans platform (in fact, it's in the showcase) so integrating the editor wasn't too difficult, though connecting everything up so that it treats the in-memory class body as an actual Java file was fun!  persecutioncomplex  If you're not building on top of the NetBeans RCP, I'm not sure I'd even attempt to use the editor - there used to be a separate library available but not for some time.  Not sure how usable the Eclipse editor is outside its platform either.

In the depths of time I used JSyntaxPane too, but for the last few years the editor in Praxis LIVE was RSyntaxTextArea. I'd recommend it if you're looking for a lightweight code editor component, and it has some additional code completion support (though not as good as a full IDE editor, hence my switch).

PS: The older version 131206 didn't work when I started it. Just an opening splash screen and then it died ... Windows 7, intel i7.

But I bet not Java 7!  Wink  Unfortunately 131206 is not compatible with Java 8.  Not my fault - there's a bug in NetBeans platform 7.2 - that version of the IDE doesn't work with Java 8 either.  I'll be glad when I can consider Praxis LIVE v2 stable enough to remove the 131206 download.

Also I tried downloading the example zip file (examples 120620.zip) but couldn't figure out how to load it.

After unzipping externally it should recognise all the subfolders (01 Hello World, etc.) as projects which can be opened.  Huh  Also, in case you got this far, remember to restart the hub (red circular arrow) between trying to run each example.

The project zip / unzip menu items are from the underlying platform, and may be more trouble than they're worth at the moment.  I'll do some testing with them prior to the next release, and if they're not proving that useful will hide them.

Thanks for your input, Neil

 95 
 on: 2014-09-01 16:34:57 
Started by Nickropheliac - Last post by awilki01
I think many people want to bite off more than they can chew oftentimes.  I personally feel you have to learn the basics first.  Take an Intro to Java course.  I personally used www.caveofprogramming.com and took his free Intro to Java class.  It was very well done, in my opinion.  I then took his Java Swing class and focused on the game making part - albeit basic, but still good nonetheless.  I then followed along a bit with some Java game tutorials on Youtube which helped me create a basic engine for a Pong game, but I felt like I really needed more foundation.  So, I grabbed a 2D Java game programming book off of Amazon, and I'm half way through that now.  I'm learning tons in the process, but I do still find myself getting frustrated when things are not explained well.   

I'm working with a buddy who is learning all this with me.  We have both stated our first project together will be something extremely basic.  It is important you start small and finish projects.  Each subsequent project can add on to the experience and knowledge gained from the previous one.  I am a newbie myself, but as an engineer in another field, I know from experience this is the best way to tackle something as immense as game development.  Just be patient with the learning.  Practice, practice, practice.....

I hope I was at least somewhat helpful.

Adam

 96 
 on: 2014-09-01 16:11:25 
Started by Nickropheliac - Last post by awilki01
I'm barely employable and I've been doing this sort of thing for 34 years Cheesy (Java for about 15 of those!) Trouble is the older I get the less I seem to know.

Cas Smiley

That's just wisdom.  When I was young, I thought I knew everything.  Now, that I'm older, I know I don't know everything - nor will I ever.  And, I'm good with that Smiley

 97 
 on: 2014-09-01 16:07:51 
Started by awilki01 - Last post by awilki01
In the book I'm currently reading, it uses a viewport transformation to transform all coordinates from the game world coordinate system to the screen coordinate system.

Is this a common practice you all follow?  For fixed screen resolutions, does it still makes sense to do this?

 98 
 on: 2014-09-01 16:03:45 
Started by awilki01 - Last post by awilki01
I'm currently in the process of reading a book that developed it's own 2D Matrix and Vector math classes.  Is there a standard 2D set I should be using for future projects?

Thanks in advance...

 99 
 on: 2014-09-01 15:58:42 
Started by JulienBe - Last post by JulienBe
Hi all !

I'm back once again to present you my latest game, an Arkanoid-like game, called Blocus

It's available on the store at : https://play.google.com/store/apps/details?id=be.julien.blocus

Here is what it looks like :

<a href="http://www.youtube.com/v/SgfQyQRPrNg?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/SgfQyQRPrNg?version=3&amp;hl=en_US&amp;start=</a>


What is worth noting in this game and that you can't get from the screenshots / vid :

- An endless game with a constantly increasing difficulty
- The paddle is divided in three part (left, that send the ball to the left, middle and right). When a ball hits the paddle, it becomes warmer. If you can get it warm enough, the paddle will shoot very powerful projectiles.
- You can upgrade your paddle (It improves the projectiles)
- When you clear a column, the ball becomes more powerful and quicker
- The particles will collided with the paddle or the walls

I hope you'll enjoy it Smiley

 100 
 on: 2014-09-01 15:54:42 
Started by Nickropheliac - Last post by Drenius
Don't let the stuff up there scare you off though! Years might seem long, but they are really not if you set yourself goals and keep working on reaching them.

Pages: 1 ... 8 9 [10]
 

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

The first screenshot will be displayed as a thumbnail.

Nickropheliac (15 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

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

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

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

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

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

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

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

BurntPizza (49 views)
2014-08-09 21:09:32
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!