Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
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  Game Development / Newbie & Debugging Questions / Re: Array within an array on: 2014-02-28 13:26:37
Well you would do it like stride said, but just change the inner loop
eg
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
for(int c = 0; Object_Control.Vegetationarray.size(); c++)
  for( i = 0; Object_Control.Vegetationarray.size(); i++)

    //get the two vegations you want to compare.
   Vegation vegation = Object_Control.Vegetationarray.get(i);
    Vegation vegationToCompare = Object_Control.Vegetationarray.get(c);
   
    //compare them, removing if they interect put ensuring they not the same vegation also.
   if(!vegation .equals(vegationToCompare) && vegationToCompare .getImageBounds().intersects(vegationToCompare.getImageBounds()))
    remove.add(i)


This !c.equals(i) ensures that you are not going to remove any vegetation if they are the same.
  
2  Game Development / Newbie & Debugging Questions / Re: Array within an array on: 2014-02-28 13:16:34
In addition to what stride said, with the double enhanced for loop, if i'm not mistaken. You are comparing every vegetation with itself + all others? Wont that mean every vegatation intersects with itself, meaning your deleting all vegetation in the game  Shocked. Try doing a normal double for loops up to arrays size, but in the inner for loop have an if statement to ensure your not comparing the same vegation.
eg if(!c.equals(i) && c.getImageBounds.inter    etc...  Then need to remove it.

3  Games Center / Showcase / Re: K.E.V - Finnished on: 2014-02-25 21:18:35
Thanks Grin. I might do a horror game next, they seem very satisfying to make. Better get back to a learning streak though first  Cool. Maybe look into those extra features Shocked.
4  Games Center / Showcase / Re: K.E.V - Finnished on: 2014-02-24 00:04:20
Well after consulting a calender it seems I'm about a year off, I started it in June last year, did most of it in about 3-4 month holiday. Then rest when not busy at uni, I should really pay attention to time more  Grin. You have to note this is my first game anyway, so I had to learn about all aspects of game programming as I went along. It's not too hard developing games quickly when you know what your doing  Cool. Thanks for playing it anyway.
5  Games Center / Showcase / Re: K.E.V - Finnished on: 2014-02-23 14:24:59
Thanks for feedback  Grin. I never thought about not having enough stuff at end boss. As for the shop, you can hit backspace to exit. probably should have said that somewhere  persecutioncomplex.
6  Games Center / Showcase / K.E.V - Finnished on: 2014-02-23 03:06:14
Just finished working on my first one year game project K.E.V. Its funny how you loose track of time. I set my deadline to be 6 months ago  Grin

features:
-basic shooting/jumping
-variety of enemy's and mini bosses.
-Lots of interaction with other vegetables.
-Collecting carrots to spend on weapons/other goodies at shop.
-Basic platforming action.
-Decent sound effects/music.

Features I wish I'd added:(may do in future):
-High scores
-saving game files
-An applet version (* now done *)
-More music for different areas.
-Difficulty options.
-More challenging platforming puzzles.

screenshots:




download link:
http://gamejolt.com/games/platformer/kev/20082/
*update 26/02/14: now an applet version, very buggy. Just don't refresh the page or you will lose background music  Huh. Works ok in chrome on windows.

It should be roughly 30 minutes worth of game play, depending on if you interact with everything or not.

Lemme know what you guys think, was fun to make.

jonny.
7  Game Development / Newbie & Debugging Questions / Re: [Java2D] How would I go for making buttons? on: 2013-09-10 01:50:56
Easiest way: First create a rectangle for the button area and then use the rectangles contains method.
Eg: if(rect.contains(msg)hover = true;

JButtons are messy in games Tongue.


8  Games Center / WIP games, tools & toy projects / Re: K.E.V game on: 2013-09-10 00:53:37
Thanks for playing it.

The game is very story central and has allot more characters to talk to as you go along (a mix of optional ones and story must haves). It gets much deeper later on(eg kev has a wife, humans?). The story progresses much more when you get to cabbage village. I'm currently working on the ending section now Grin and recently added a parallax background.


9  Games Center / WIP games, tools & toy projects / Re: K.E.V game on: 2013-09-08 21:21:25
Hey OreliesMarkes thanks for this you focus on the details more than me lol. Just spent some time fixing 1, 2, 3 and 5. The doors are fine to me  Tongue. That's enough polishing for me today...
10  Games Center / WIP games, tools & toy projects / Re: K.E.V game on: 2013-09-08 17:31:41
Thanks for the advice Grin. Hopefully the title will go down well with all the kevs out there!(I imagine it would be rather trippy to play as a carrot who has your name Tongue). I'll probably end up releasing it for free since its my first game and I'm terrible at marketing  Undecided. I just get the feeling its borderline sell-able.

I am also master at drawing cabbages now:

 
11  Games Center / WIP games, tools & toy projects / Re: Ninja Game on: 2013-09-07 18:00:54
Not bad man, I like the lava particle death  Tongue. There is also a bug with the ladder if you go on it and move towards the right wall at the same time your player sprite changes to white space  Shocked.
12  Games Center / WIP games, tools & toy projects / K.E.V game on: 2013-09-07 17:32:54
Hey everyone. Just thought I would share some details of my first ever game that I am close to finishing.(K.E.V stands for kill every vegatable).

Here are some screenshots:






I've also got a playable demo here:
http://www.indiedb.com/members/jonnyzgaming/downloads/kev-demo

I'd appreciate any feedback/suggestions for this. I've been working on it all summer so ye.

Features so far:
-Can collect carrots to spend in shop on weapons etc.
-basic jumping/ shooting.
-lots of npcs to talk to(a full village of them later on).
-A variety of enemies to kill.
-Some narrative story.
-Lots of hidden areas.

Features I'm considering:
-achievements.
-save game system.
-Adding some particles animation.

Also a question for you guys, should I release this for free or try to sell it cheap? I'm torn between the two  Undecided. Thanks.

Jonny.




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 (18 views)
2014-07-30 21:08:39

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

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

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

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

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

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

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

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

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

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

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

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
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!