Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (582)
games submitted by our members
Games in WIP (503)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  ApoSheep  (Read 2333 times)
0 Members and 1 Guest are viewing this topic.
Offline Apo
« Posted 2007-02-06 18:17:03 »

Hi,

to beat my examstress at the university, I make a little puzzlegame with some nice graphics Wink

The sheep "Wolly" has lost his flock of sheep. You have to manage him to the meetingpoint with some tools which change his directniss or gives him a shield for the next 5 steps or shoot some "clouds of gas" to beat the dogs. "Wolly" hates water ... so every tile with water he can't enter. The tools with the red color can only be used one time, the blue and the black ones you can use everytime you step over. Wink

Sounds easy and is very easy in the first levels... Wink
You can control the whole game with the mouse. Left click to place the tile down or right click to bring it back to the hud.
An editor is also included. The only new thing is that you can use the mouse wheel to change the tile a little bit.

The sourcecode is included in the jar.

Applet:
Click here

Download:
Click to download the zip which include the jar and many levels and an editor ...

Screenshot:
Offline me

Senior Member


Projects: 4


Java games rock!


« Reply #1 - Posted 2007-02-06 19:21:54 »

Hello Apo,

Thank you for this nice game
It reminded me of iq marathon where there is a cow you need
to guide.

The mechanism that you use is something that I'm evaluating at the moment for an on-line multiplayer game.
Maybe you are also working on something like that? I would be interested to compare notes on it .....

Can I suggest to make an applet and/or java webstart version?


You probably have a reason for the playboard to be that big, but I would find it better to see if you eliminate the
areas that aren't needed.

Maybe a zoom mechanism?

Editor: I could not get my own file to work, only when I used the format Original_<nr>
Maybe I'm doing something wrong?!


Then there are some other things I would like:

- Run mode addition; so that I don't have to wait so long Smiley
-  Indicate where the sheep is. It is hard to find.
   If you start always at the same spot it is ok, but currently I have to search for it.




Looking forward to new levels Smiley

Thanks for the experience.

Best regards from


M.E.
--------
Offline Apo
« Reply #2 - Posted 2007-02-07 14:08:51 »

thx for playing the game.

I add a new fullscreen and window button. So persons with a high resolution will now have fun with the game too. Wink
And you can find the sheep easier when you play in the fullscreenmode. Wink

The playground is so big because I want to make such big levels ... Wink
The zoom idea is good but I think with the fullscreenmode it's ok like it is. Wink

You can build the tools during the game. Therefore I think the sheep is fast enough Cheesy (now without any bugs Wink )

The editor ... Yes, you have to name the maps like the original maps
for example: test_1.sheep or myLevel1.sheep
The program takes the number from the levelname and if you complete the level it will search after the next level ...
e.g.: after test_3.sheep he will search test_4.sheep and if the program can't find test_4.sheep it will search test_1.sheep
So please begin with YourLevelName1.sheep and then YourLevelName2.sheep and so on

the webstart is an idea but i never used the webstart before. So i have to find out how it works ...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline me

Senior Member


Projects: 4


Java games rock!


« Reply #3 - Posted 2007-02-07 16:07:47 »

Hello Apo,

If you have a bit of webspace and maybe even php you can host it yourself.
http://www.cokeandcode.com/info/webstart-howto.htmlHere is a walk-through.
or
http://lopica.sourceforge.net/faq.html

The biggest thing you have to deal with is probably saving the editor files.
Loading of the files shouldn't be too much of a thing.


In case you don't have access to some webspace I am happy to accomodate you.


Best regards from

M.E.
--------
Offline Apo
« Reply #4 - Posted 2007-02-08 10:05:34 »

thx for the links

the webstart you can start here
it's my first try with a webstart.
I have no idea how to load or save external files with the webstart, so the webstart version has NO editor and NO load button, but 2 new buttons. A next and a previous Button to switch between the original levels.
€dit: I have a problem with the fullscreenmode in the webstart. I havn't changed anything to the offline version, but here it doesnt't work ... and I don't know why. I use the following code ... can someone help me?
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
if ( this.graphicsDevice.isFullScreenSupported() )
{
   this.graphicsDevice.setFullScreenWindow( this );
     
   if ( this.graphicsDevice.isDisplayChangeSupported() )
   {
      try
      {
         this.graphicsDevice.setDisplayMode(new DisplayMode(640,480,16,DisplayMode.REFRESH_RATE_UNKNOWN));
         return true;
      }
      catch(Exception e)
      {
         System.out.println("Display mode error");
         return false;
      }
   }
}



From level 22 you have to build some tools during the sheep is running ...  Wink Thats fun.

And the sheep is now marked at the start. And you can click on the enemies to look how far the dog is watching. Wink
Pages: [1]
  ignore  |  Print  
 
 

 
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!