Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
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 ... 8
1  Games Center / WIP games, tools & toy projects / Re: Scavenger (A pac-man clone) on: 2013-10-17 05:05:23
Thanks.
I agree that there could be more sound effects. I'm not sure by what you mean the controls seems slightly lagged. It may be the way I  implemented the movement. The character moves from tile to tile, so you are force to moved a full tile. This was a deviation from pac-man controls. My goal was to use the pac-man game idea as a bases for improving my skills and programming framework.
   The art is from 3D renderings. I did the characters multiple colors to identify where each limb was, with the plan to draw the characters and scan them. Going forward, I found it would be easier to polish the 3D models and use the renderings directly.
   Thanks for the feedback.  Smiley
2  Games Center / WIP games, tools & toy projects / Scavenger (A pac-man clone) on: 2013-10-10 04:03:30
This is my first Game I've posted here. This is an experiment to help me develop my game framework.

Instead of just making a straight clone, I've gave it a different style. You play a scavenger, scrounging around for hidden treasure in a junk yard. You have to avoid the guard dogs, but you can re-charge an electric staff to shock the dogs.

There are differences from Pac-man, as in, I didn't make the wrap around passage. Once you clear out the junk, then you have to get out. At first there is just one guard dog, then more get added, up to three. One of them actually gets faster as you go further up levels.
This is done in Java 2D.
Here's the link. Let me know what you think.
http://www.abberkeep.us/projects/Scavenger/index.htm
3  Discussions / Miscellaneous Topics / Re: What's your favorite game. on: 2012-11-12 17:21:47
- Unreal Tournament
- Total Annihilation

I like other games, but those are the games I can play again and again.
4  Java Game APIs & Engines / Java 2D / Re: Problem with game loop on: 2012-10-10 16:53:05
My understanding is that the Java 2D is slower in Linux, with latest Java version (7) being fastest. What version of Java are you using?
5  Game Development / Game Play & Game Design / Re: Designing a gardening simulation on: 2012-10-09 00:12:49
You might want to consider allowing the player to create hybrid plants. "What happens when I merge this plant with that plant." I think that would be a fun game. If you have the plant creation be more dynamic you can easily add in hybrids. Look up "Plant studio" http://www.kurtz-fernhout.com/PlantStudio/
6  Discussions / General Discussions / Re: Tremble, mortals! I have enslaved your administrator on: 2012-10-01 19:54:37
Congrats!
7  Discussions / Suggestions / Latest Features on right on: 2012-09-27 18:59:48
Riven,
  I noticed that the Feature Project image on the right has hover text, but the sections below that (Latest Featrues and Work in Progress) don't have hover text for the images. Could we have that?
Thanks,  Smiley
8  Game Development / Newbie & Debugging Questions / Re: Shop Menu on: 2012-09-27 18:29:01
I did something similar to Ultroman's. Since you use sprites in your game, why not treat the text as sprite as well. That way you can leverage what you did with sprites, such as the drawing method and mouse events.
  Start with a class for your text. Set the Font and text, and then use FontMetric to get the pixel size, and paint it the way you paint sprites, via paint(Graphics g).
  When I draw out my game map, I have it paint the text last, that way it's always on top.
9  Game Development / Newbie & Debugging Questions / Re: Am I doing this collision check right? on: 2012-09-19 20:21:12
For the most part, yes.
You need to be careful about creating new objects. If you are creating a new Rectangle in you update loop for every Entity, this will slow down the game. One way to solve this is to have that class (with the collide method) have to Rectangle object already created, and update the coordinates of the rectangle.
  I'm not sure what you are doing with the line: (entities.get(i).type.equals(tipo) || tipo == null), but you may want to check that first.

Regards, Smiley
10  Game Development / Newbie & Debugging Questions / Re: Collision Detection with some Rectangles on: 2012-09-18 19:33:02
Like this: Rectangle[] rectangles = new Rectangles[1];
I would recommend creating an ArrayList instead. Like this: ArrayList<Rectangle> rectangles = new ArrayList<Rectangle>(), that way you don't have to know the number of Rectangles at the beginning. You just keep adding Rectangles you need for collision detection to the list. Then you can iterator through the list.
1  
2  
3  
4  
5  
Iterator<Rectengle> iter = rectangles.iterator();
while (iter.hasNext()) {
Rectangle rectangle = iter.next();
// Do your stuff here
}

Regards,  Smiley
11  Discussions / General Discussions / Re: Plan out or Dive In? on: 2012-09-17 19:32:23
I plan out my game, then start coding one feature at a time. That way I get an idea of where I'm going with the code, and I know when I got it working. Smiley
12  Java Game APIs & Engines / Java 2D / Re: 20 FPS Rendering/Gameloop on: 2012-09-13 21:33:15
I took your code and ran it. I got 60 - 70 frames per second. How are you calculating your frames per second?
13  Discussions / General Discussions / Re: RFC: featured, showcase, wip on: 2012-09-12 17:56:53
You can sort by newest post, but clicking the header link at the top. "Last Post".
14  Game Development / Newbie & Debugging Questions / Re: java grid collsions detection on: 2012-09-02 16:49:46
Are you wanting to make the Grid lines?
This piece of code will draw grid lines for you.
1  
2  
3  
4  
5  
6  
7  
8  
9  
g2d.setColor(Color.BLACK);
// make the lines dotted lines.
g2d.setStroke(new BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 1.0f, new float[]{3.0f, 3.0f}, 0.0f));
for (int x = 0; x< totalWidth; x+= gridWidth) {
  g2d.drawLine(x, 0,x, totalHeight);
}
for (int y = 0; y< totalHeight; y+= gridHeight) {
   g2d.drawLine(0,y,totalWidth,y);
}
15  Game Development / Newbie & Debugging Questions / Re: java grid collsions detection on: 2012-08-31 18:12:34
When you say grid collision, is each entity contained only inside a grid cells?
If you store all your entities in an array [ ][ ], then you can check neighboring cells, with a range of entity's x-1 to entity's x+1 and entity's y-1 to entity's y+1. Or just check the cell the entity is moving into.
For storing you can use Entity[ x ][ y ] (or Entity[ x ][ y ][ z ] ).

Aazimon
16  Java Game APIs & Engines / Java 2D / Re: Creating a basic key buffer on: 2012-07-02 18:39:48
Porlus,
  I'm not fully understanding what you are trying to do. Are you want to set up a system that stores which keys are pressed and which ones are not, then the remaining program will access that system to determine if a particular key is pressed or not?
   If so, you will want to have your program "hook into" the key system, so that it can poll a key's state. For example, a sprite class would have a reference to the key system (or just the keys it's interested in), then it will query the reference for the key's current state. Similar to the ActionListeners in Swing.
Let me know if that's what you're looking for.
Aazimon Smiley
17  Discussions / General Discussions / Re: Hello JGO!! on: 2012-06-29 18:19:26
Welcome to JGO jDragon!
As for the APIs: I say, learn the way that is comfortable for you. Don't get bogged down in all the API when you are still trying to figure out Java.
Smiley
18  Discussions / General Discussions / Re: Hello Java-Gaming :) on: 2012-06-29 18:02:33
Welcome. Glad you found us. Smiley
19  Discussions / Miscellaneous Topics / Re: Preferred OS? on: 2012-06-29 17:42:18
Since when did counting pixels become science?
HAHAHAHAHA!  Grin
Next there will be classes on it.
20  Games Center / Showcase / Re: [Android] ApoBubble on: 2012-06-29 16:38:27
I like the graphics. Nice style. I don't have an android to play it on. Sad
21  Games Center / Showcase / Re: Android - Magneto Retreat on: 2012-06-29 16:36:19
It looks pretty fun. I don't have an android to play it on Sad
Do you just have effect the needles movement to smash them, or accelerate them?
Also, you have grammar errors in your description (on the app page).
22  Game Development / Newbie & Debugging Questions / Re: Best Method For Rendering? on: 2012-06-28 22:19:11
With a static method, you need to be more aware of "when" you call it. The Graphics object could be null or disposed of.
Passing in the graphic object instead will give you more control over it.
23  Discussions / Suggestions / Re: Order in Feature games and showcase on: 2012-06-01 23:22:26
Ok. Now that I know what it's ordering by that make more sense. I don't have a problem if you want to keep it with date of the original post.
Smiley
24  Discussions / Suggestions / Order in Feature games and showcase on: 2012-06-01 18:08:15
Is it just me, or is the order in the Featured games and showcase, not by most recent post first. Every time I go in there, I have reorder the post just to find the most recent ones. Is there a setting I'm missing?
Aazimon Smiley
25  Games Center / Showcase / Re: Apocalypse Run on: 2012-06-01 18:04:59
I was trying to play your game, but the character moved so fast, I couldn't navigate very well. He seems to move several tiles with one press of the arrow key.
So far it seems pretty cool. I like the style of it.
Aazimon Smiley
26  Game Development / Newbie & Debugging Questions / Re: Analyzing sound data on: 2012-05-30 21:48:17
You may want to add a maximum amplitude, to cut out sounds that are too loud. Another thing would be to look at the sound's wave pattern. (You should be able to view that through any decent sound editor), and then try to match it with the sound coming in from the mic. You will need to have a variance, in which close enough is good enough.
This is just a theory. I hope it helps.  Smiley
27  Game Development / Newbie & Debugging Questions / Re: My Game's Framerate (Am I paranoid?) on: 2012-05-30 21:44:41
It's highly likely that your game loop will perform differently on different machines. Check out this article on game loops.
http://www.java-gaming.org/topics/game-loops/24220/view.html
28  Game Development / Newbie & Debugging Questions / Re: 2d Simplistic Bullets on: 2012-05-22 23:30:28
You will need a separate class to store the bullets current position. Each update cycle, you will then update the bullet's position, and use it's current position to determine where to display (draw) the bullet.
29  Discussions / General Discussions / Re: Getting myself to program.. on: 2012-05-17 00:35:32
     Sounds like over-exposure. You could get a sunburn. Maybe you can get workman's comp for that.  Grin
30  Discussions / General Discussions / Re: Getting myself to program.. on: 2012-05-16 23:57:38
Are you having trouble just want to program, or having trouble coming up with ideas to program?
     I would think if you have a list of thinks you want to program, then it's just a matter of making a habit of programming a little each day. Don't focus on amount of coding.
     If you are having trouble coming up with ideas to program, then start with writing out ideas and develop some basics on paper. It's harder to write a program when you don't know what's its going to do.
     It sounds like you have an idea. Write it up and flush it out before you start coding. Develop a plan. Don't code in the abyss, it sucks the motivation out you.
Pages: [1] 2 3 ... 8
 

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 (19 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (187 views)
2014-04-01 02:16:10
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

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