Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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]
1  Games Center / Showcase / Re: Flames of Anaria: 2D RPG on: 2009-05-17 09:50:01
Hi,

Very nice.   I played until level 2.  Then went to level 15 and put on gm armor. Tongue

--would be nice to have instructions in game.  took me awhile to figure out f d space and enter.   I was stuck in a dialog for a while.
--Was I supposed to turn in the rabbit meat?  I had some but mom didn't take it.  I was not sure how many I was supposed to get. or was this just a lead in to finding the sister.
--some of the grass corners are square.
--movement was a little weird in the since that if you hit an arrow key once you moved pretty far even with a tap, like the movement minimum was to much, giving a feel of not being responsive.
--the beach area seemed like I should be able to move left and right but the paths were blocked.

I guess my only suggestion would be to tighten the maps and give more flow to the story.  In other words, the player should always be questing for something and always know what they are questing for.  The town is pretty big, but what does the size actually add to the game play?
 
rpgs are pretty hard in all respects, design, art, code.  There are some amazing ones done in rpg maker.   Check out.

http://www.quintessence-tbv.com/

master of the wind is supposed to be great too.

My favorite of all time is zelda for the snes with secret of many being up there as well.    There is a really good flow/progress to those games.   

Great stuff. I think your engine is really nice.    Seems like an ide like netbeans or eclipse might make things a little easy on you. Tongue


Thank you for your input! All of these things I definitely want to touch up on, but they're not my main focus right now. I'm trying to see if I can work on the rendering a bit, and maybe get the game running more smoothly. But I will answer your statements =].

Hehe, this is why it's a work in progress. The rabbit meat thing is supposed to be taken from you, I just haven't updated that quest line yet to do that. I've been mainly concerned with functionality. The map is made through a tile loader, which is why some of it turns out square. I can make everything rounded, but that will add a ton of new code (and a ton of new image editing!). It will be done eventually, but this is more tedious busy work than it is anything else.

The movement is done like that by design. The game is on a node-based map. If you tap the arrow key, you move on to the next tile or square. In this sense, every object in the game is on a grid. I do want to modify it to be pixel based movement eventually, but that will also require me to revamp the AI system.

The beach area is designed to move to new areas, but this is not enabled yet. There will be more maps in that area later (a pirate ship dungeon!).

The town is big for a reason, but just as with the beach area, it is not finished yet and there will be more to it later on. Same goes for the random NPCs walking around town.
2  Games Center / Showcase / Re: Flames of Anaria: 2D RPG on: 2009-05-17 09:43:31
The ZIP also contains source code.

Yes, my game has been made open source under the GPL so others can benefit. If you use my code please keep the source headers in place to give me credit ^^.
3  Games Center / Showcase / Re: Flames of Anaria: 2D RPG on: 2009-05-14 07:41:18
I updated the post with a filefront download link. My personal server shouldn't get in the way of it now ^^.
4  Games Center / Showcase / Re: Flames of Anaria: 2D RPG on: 2009-05-13 05:19:28
Yeah, my roommate has been on limewire hardcore tonight, it's rather annoying.

I'll upload the file to filefront so it won't be so painful for a download.

As far as java web start, I haven't figured out exactly how to package it like that just yet.  It is however in executable jar form.

Also, I've tried to convert it to an applet but have had no real success. I can make basic applets but as far as my game goes I can't get my extra threads working correctly through them. I don't think the game would run too well in an applet anyhow (at least, not how it is currently coded).
5  Games Center / Showcase / Flames of Anaria: 2D RPG on: 2009-05-12 23:14:52
Hello all!

For my Senior Project at Millsaps College, I created this 2D RPG in Java. It would be great if I could get some reviews on it. It's not finished (only 1 dungeon completed, I want to have 5) and I want to get some strong feedback on what I can do to optimize it. I currently only get about 40 FPS and that's on high end pc. I know it has tons of room for improvement, but I have no idea what to change at this point. I've fiddled with JOGL, but that dropped my FPS to about 10-20 on average, so I went back to Java2D.

One major thing of note is that I've made this entire project without using any IDE's or existing Game Engines. I'm beginning to think that I should implement an existing engine so that the game renders better, but if I can avoid doing that it would be fantastic!

Any and all criticism is greatly appreciated, don't go light on me! I know some features of the game are less than intuitive. This is my first real game project.

The game can be downloaded here: http://files.filefront.com/FlamesOfAnariazip/;13753706;/fileinfo.html

Instructions on how to play the game are included in the download.

Note: I have been informed that there is a crash in the game dealing with save/load. I have found that it is being caused by having active quests and will be fixed in the next download =]. If you have no active quests you should be able to load fine.

Screenshot as per request:


6  Java Game APIs & Engines / Java Sound & OpenAL / Re: Looping MP3 File on: 2008-10-10 00:00:06
It figures, after having been stuck on this problem for months I finally decide to post about it, then I come up with a solution.

Here is the code for anyone else who's curious, and if anyone knows a better way to do this then by all means please let me know!

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  
82  
83  
84  
85  
86  
import java.io.BufferedInputStream;
import java.io.FileInputStream;

import javazoom.jl.player.Player;

public class MP3Player extends Thread
{
   private String filename;
   private Player player;
   private Thread mp3Thread;
   private boolean playing;
   private boolean locked;
   
   // constructor that takes the name of an MP3 file
  public MP3Player()
   {
      this.filename = "";
      mp3Thread = null;
      playing = true;
      locked = true;
   }
   
   public void run()
   {
      while (playing)
         play();
   }

   public void play()
   {
      if (!locked)
      {
         if (filename != null && filename != "")
         {
            try
            {
               FileInputStream fis     = new FileInputStream(filename);
               BufferedInputStream bis = new BufferedInputStream(fis);
               player = new Player(bis);
               
               mp3Thread = new Thread()
               {
                  public void run()
                  { try { player.play(); } catch (Exception e) { System.out.println(e); } }
               };
           
               mp3Thread.start();
               mp3Thread.join();
            } catch (Exception e) { System.out.println(e); }
         }
      }
   }

   public void changeMusic(String newGuy)
   {
      locked = true;
      filename = "";
      try
      {
         if (player != null)
            player.close();
         mp3Thread = null;
         
         filename = ".\\music/" + newGuy + ".mp3";
         
         locked = false;
      }
      catch (Exception e) {}
   }
   
   public void close()
   {
      locked = true;
      playing = false;
     
      try
      {
         if (player != null)
            player.close();
         
         if (mp3Thread != null)
            mp3Thread = null;
      } catch (Exception e) {}
   }
   
}
7  Java Game APIs & Engines / Java Sound & OpenAL / Looping MP3 File on: 2008-10-09 05:41:49
Hello! First I want to admit that I have absolutely no idea what I'm doing when it comes to playing sounds and music. I have been using an ogg sound library to loop ogg files in my program, but the licenses for the music I am using require that they remain unmodified, meaning I must use MP3 format.

So that's my dilemma. I have implemented a barebones MP3 class (which uses JLayer) I found through Google, which can be found here: http://www.cs.princeton.edu/introcs/faq/mp3/mp3.html.

This works fine, however I cannot for the life of me seem to get it to loop. I don't think I know enough about the inner workings of sound files and sound interfaces to be able to figure it out on my own.

Any help would be appreciated!


Just as an aside. This is for a 2-d game that I am creating for a senior project at the college I go to, and when finished I will make it open-source. I have been working on it for a year now and I seem to be able to manage everything else in the game just fine, it's just the music that's stopping me. The game plays great without music, but who wants to play a game like that?
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

CogWheelz (11 views)
2014-07-30 21:08:39

Riven (21 views)
2014-07-29 18:09:19

Riven (14 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (29 views)
2014-07-23 21:07:15

Riven (30 views)
2014-07-23 20:56:16
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!