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 (535)
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  
  ApoIcejumpReloaded  (Read 4969 times)
0 Members and 1 Guest are viewing this topic.
Offline Apo
« Posted 2007-12-11 13:25:24 »

Hi,

in the year 2007 I was tutor at my university. So it was my job to make some nice exercises for the students. So I wrote ApoIcejump and they had to write an ai. Now I thought a bigger better nice looking version would be fine. So I write a "reloaded" version with some new ideas. In the next days I will implement e.g. some goodies. It would be nice if you could test the game and give me some feedback what is missing ...
thanks =)

Download and Applet: Click here

Screenshot:
Offline Juriy

Junior Member





« Reply #1 - Posted 2007-12-11 13:36:32 »

Nice challenge! It would be really nice to have javadocs in English.

I've once experimented with writing AI for game universe using Groovy as a scripting solution for that. You could embed such a solution in your Ice Jumper :-)

http://voituk.kiev.ua - java tutorials, tips and tricks (Russian)
Offline Apo
« Reply #2 - Posted 2010-09-06 22:52:10 »

see topic =)

a new version is online. =)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Teemperor

Senior Newbie


Projects: 1



« Reply #3 - Posted 2010-09-06 23:12:52 »

Jay, a german Game  Grin

I like the Game but the KI sometimes suck. The "Hard"-Guy always try to jump on me even if i am far away. So i am on a Bird and he always try to reach me until the block under him disappeared and he died Oo. And the Hard-KI-Guy sometimes didn't notice that he is at the left/right end of the level when he try to escape me (i'm jumped on him).

And why do you use äöü at some words and sometimes you write ae, oe, ue?  persecutioncomplex

Oh, and the three-headed monkey makes me lough and i dead   Angry

EDIT: Oh, and at the "The winner is..."-Screen both blocks says the same thing:



EDIT2: Do you add costumable KI's in the future?
Offline Apo
« Reply #4 - Posted 2010-09-07 00:33:09 »

Thanks for testing!!!!

Yes the winner says something ... so the looser has to read it. Wink

Thx for the bug with the ä, ö, ü. I think now there are only ae, oe and ue.

In the future I will make a short instruction (with some youtube videos) how to make an ai and how to load it and I will make a better "homepage" for that game.

And yes the current ai's aren't good. I've written them in less than an hour  persecutioncomplex
In the next version I will implement better ai's. =) (I hope)

And now a question. Has sometime a good instruction for network coding? I want to try a network game but I can't find good tutorials how to start. Thanks for your help.
Offline Teemperor

Senior Newbie


Projects: 1



« Reply #5 - Posted 2010-09-07 11:14:25 »

Arg, my bad  Roll Eyes I thought the left blue block is the player and the right is the enemy but the player is the white block Shocked

That's great! How do you implement the KI? Scripts (Lua etc) or Java-classes?

When i read my post i think "my english is horrible...  Shocked"
Offline Apo
« Reply #6 - Posted 2010-09-07 15:59:17 »

At the moment I write the ai's in Java.

Now I've added some great goodies. Try it out. About feedback I would be very happy. =)

Next goal: I will try to implement an easy network mode. =)
Offline Apo
« Reply #7 - Posted 2010-09-10 13:50:49 »

Hi,

a new version is on. Now with great goodies (fire, ice, quick, high, more iceblocks ...). Wink
And I implement another feature. Now you can "bump" the player to make the game more dynamic. If you want to try that mode please press "b" during the game. Is that mode better? Or do you like the old mode?
Thanks for feedback =)
Offline Apo
« Reply #8 - Posted 2010-10-01 17:51:38 »

So new version is online.

- Now the hard ai deserves its name. =)
- You can implement pictures for your ai or draw everything yourself (eg. the hard ai which reacts whether the other ai is above or far away)

Next steps:
- add a tutorial how to write your ai
- add music
- add network mode =)
Offline Apo
« Reply #9 - Posted 2010-12-16 17:09:23 »

New:
- new counter
- SNOW Wink

and now the students at my university have to make a bot for the game. I'm happy. =)
If you want to join the competition send me your own ai until 10.01.2011.

API and an implementation in eclipse is available on the site. The website is avaible in english and german.
I hope you like it. =)

ApoIcejumpReloaded website

If you are interested in the source code, it's in the jar file.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #10 - Posted 2010-12-16 23:30:11 »


Smiley

can you tell me the exact speed gain/boost when you have the items ? I just guesses it would be like that :

1  
2  
3  
4  
5  
6  
      if (ich.isFaster())
         maxSpeedX=ApoIcejumpAIConstants.PLAYER_MAX_VEC_X*1.5f;
      else if (ich.isSlow())
         maxSpeedX=ApoIcejumpAIConstants.PLAYER_MAX_VEC_X*0.5f;
      else
         maxSpeedX=ApoIcejumpAIConstants.PLAYER_MAX_VEC_X;


I'll tweak it a little more and submit my AI soon .

Offline Apo
« Reply #11 - Posted 2010-12-17 09:48:01 »

Great! =)

// normal
speed = 1 * ApoIcejumpConstants.PLAYER_MAX_VEC_X;
// slower
speed = 0.7f * ApoIcejumpConstants.PLAYER_MAX_VEC_X;
//faster
speed = 1.3f * ApoIcejumpConstants.PLAYER_MAX_VEC_X;

But you can give your bot always the ApoIcejumpConstants.PLAYER_MAX_VEC_X speed. The program calculate the speed after your settings. So if you set the x-speed to ApoIcejumpConstants.PLAYER_MAX_VEC_X then the program looks in his think method whether you are slower or faster and increase/reduce the speed.
Offline Apo
« Reply #12 - Posted 2012-01-05 02:33:57 »

Hi,

now I started to port my games to android. And ApoIcejump is my first "try". So I would be very very happy if you could test it.

It is done with Slick AE (thanks Kev) and on my galaxy s its runs smooth. Does it run smooth on your device? Do you have any trouble? Thanks a lot for your feedback!

You can find the apk and some screenshots here: http://apo-games.de/android/
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #13 - Posted 2012-01-05 02:57:08 »

Hey Apo,

It loads really messed up on my Samsung Galaxy Tab 10.

The Credits button responds to my touch as well as the arrows to select player.


 

Offline ReBirth
« Reply #14 - Posted 2012-01-05 12:55:13 »

This is an old thread but never seen by me until now. Nice game!

Offline Apo
« Reply #15 - Posted 2012-01-05 14:47:20 »

Thanks for the feedback!

...

It loads really messed up on my Samsung Galaxy Tab 10.

The Credits button responds to my touch as well as the arrows to select player.

...

Thanks for the bug. It was a problem with setClip ... I removed it and now you can see more.
I also added a data storage to save the options and your last players.
I hope now it works.

Link to the APK: http://apo-games.de/android/
€dit: or the link to the android market: Android market
Offline ReBirth
« Reply #16 - Posted 2012-01-06 23:36:15 »

What's the effect of car "iconed powerup"?

Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #17 - Posted 2012-01-07 03:03:23 »

Hey apo, now it looks better but still I have some pixels from the top being cropped, i.e. I cant see the time or player names when playing.

Offline Apo
« Reply #18 - Posted 2012-01-07 11:36:27 »

Hi,

thanks for testing it again!

Hey apo, now it looks better but still I have some pixels from the top being cropped, i.e. I cant see the time or player names when playing.

Yeah I heard from the problem with Android 3. The problem is the status bar. At the moment I don't know how to make the bar invisible. So a little part at the top is missing. I will try to fix it.

What's the effect of car "iconed powerup"?

Powerups:

3 - 3 new iceblocks in the water
6 - 6 new iceblocks in the water
spring - jump higher for the next 5 jumps
fire - when you are on fire the iceblock will explode immediately when you jump on it and birds will fall in the water when you touch them
icicle - your player is for a short time slower and birds will fall "iceshocked" in the water when you touch them
car - your player is for a short time faster

// normal
speed = 1 * ApoIcejumpConstants.PLAYER_MAX_VEC_X;
// "icicle powerup"
speed = 0.7f * ApoIcejumpConstants.PLAYER_MAX_VEC_X;
// "car powerup"
speed = 1.3f * ApoIcejumpConstants.PLAYER_MAX_VEC_X;
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!