Java-Gaming.org
Java4K - to go         Javadoc:
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources or peek at the official java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Shot 4K  (Read 6934 times)
0 Members and 1 Guest are viewing this topic.
Offline jojoh

JGO Ninja
***

Posts: 541
Medals: 6


games4j.com


« on: 2005-02-18 04:54:45 »

What do you get it you mix of pool and soccer? Well, except for a lot of injuries and broken queues you might get Shot 4K. Use the queue to shoot the ball past or via the freakishly hovering cylinders.

I plan to move the point of view a bit higher so that one would look down a bit more onto the playingfield. Ideas?

http://valhallawebdesign.com/Joakim/Java/4K/Shot

Offline Malohkan

JGO Neuromancer
****

Posts: 1108
Medals: 1


while (true) System.out.println("WOO!!!!");


« Reply #1 on: 2005-02-18 18:12:50 »

the game's a little slow.  Speed it up for starters Smiley

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline jojoh

JGO Ninja
***

Posts: 541
Medals: 6


games4j.com


« Reply #2 on: 2005-02-19 05:05:17 »

:-/ Most ppl say that my games are a bit too difficult... But if I speed up the "defenders" or the ball coming across, the game will be very difficult. I could give it a try, but might want to hear from more ppl before doing that. You do realize that the longer you hold down the mouse button the harder you shoot, right?

What is your best score?

I still haven't had a perfect 20. Think 15 is the best I have done in this version, and I have coded the darn thing  Wink

Games published by our own members! Go get 'em!
Offline Malohkan

JGO Neuromancer
****

Posts: 1108
Medals: 1


while (true) System.out.println("WOO!!!!");


« Reply #3 on: 2005-02-19 11:15:11 »

Heh... the holding the mouse down thing was exactly what I needed Wink  No other complaints now, the game's great!  Grin

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline MasterOfDisaster

Full Member
**

Posts: 245


O_o


« Reply #4 on: 2005-02-19 11:18:26 »

cool game idea! very smooth. i like it.

Offline MickeyB

JGO Ninja
***

Posts: 547


my game will work, my game will work!


« Reply #5 on: 2005-02-19 13:20:35 »

Loved it, kids loved it!

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Offline jojoh

JGO Ninja
***

Posts: 541
Medals: 6


games4j.com


« Reply #6 on: 2005-02-21 03:09:48 »

This seems to be the game with least complaints, and most appreciated here at work  Smiley I have however made some improvements (I hope). I changed the point of view and added a grid on the ground to make it easier to aim, increasing speed instead of random, keyboard support, and some smaller tweaks. Oh yeah, made the goalposts superfat, to make it easier to sidepost-in.

Hope you think changes are improvements. Does it need difficulty levels? I hope most ppl score some goal and very few score 100%...

Offline MasterOfDisaster

Full Member
**

Posts: 245


O_o


« Reply #7 on: 2005-02-21 04:11:26 »

it's really a cool game. have played it for a while now. but my best result was 12 hits.  Sad

i'm interested in the way you handle the mouse input ("trap" the pointer inside the window etc.). would you mind posting some mouse handling code snippets?

Offline jojoh

JGO Ninja
***

Posts: 541
Medals: 6


games4j.com


« Reply #8 on: 2005-02-21 04:37:50 »

In short, this is it:
1  
2  
3  
4  
5  
6  
      Robot robot = new Robot();

      protected void processMouseMotionEvent(final MouseEvent evt) {
            playerx += evt.getX() - 400;
            robot.mouseMove((int) yourJFrame.getLocation().getX() + 400, (int) yourJFrame.getLocation().getY() + 120);
      }

I don't care about y position yet, so I just place the cursor close to the top (120), so that a quick move up with the mouse will let you escape from the game window. The mouse move is screen relative, hence the yourJFrame.getLocation()

I will probably post the whole code, when I am done with the game, towards the end of the 4k compo.

Offline MasterOfDisaster

Full Member
**

Posts: 245


O_o


« Reply #9 on: 2005-02-21 08:29:27 »

thx.

the game is so addictive i played it the whole day. best result so far: 14 hits.

what do you think about adding a reset key or something? when i've had a bad start i had to close the window and start the game again.

Games published by our own members! Go get 'em!
Offline MasterOfDisaster

Full Member
**

Posts: 245


O_o


« Reply #10 on: 2005-02-21 08:49:28 »

just had 16 hits! Cool

Offline luisoft

Sr. Member
**

Posts: 284


Java games rock!


« Reply #11 on: 2005-02-21 10:20:06 »

really original ideia? nice game! I've got 20! Grin
Offline MasterOfDisaster

Full Member
**

Posts: 245


O_o


« Reply #12 on: 2005-02-21 10:30:05 »

Quote
I've got 20! Grin

Shocked>Sad Sad :-/ Wink

Offline jojoh

JGO Ninja
***

Posts: 541
Medals: 6


games4j.com


« Reply #13 on: 2005-02-21 10:43:45 »

Thanks for the complements. Cheesy

Quote

what do you think about adding a reset key or something? when i've had a bad start i had to close the window and start the game again.
Enter will start/restart at any time, used to be that you just got next ball a bit quicker, but is now restart anytime.

Quote
really original ideia? nice game! I've got 20! Grin
Good work! Does this mean I have to create a harder level? Or should I maybe just increase to 25 or 30 shots? I have now also managed to get a perfect 20, but only once.  Smiley

Offline Hauk

Jr. Member
**

Posts: 68


Guitar, Norse Mythology, java and women=life


« Reply #14 on: 2005-12-06 18:52:42 »

addictive!

I want to become a hermit and live in the harsh wastelands of Norway. I want to have a cloak made of bearskin and hunt the demons of the night.

I was born for a reason and am not about to lie down and die like the rest of you. Anybody with me?
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.089 seconds with 23 queries.