Kings' Valley - revived

ページ 1/3
| 2 | 3

By Eugeny_Brychkov

Paragon (1232)

Eugeny_Brychkov さんの画像

31-10-2008, 09:24

Hello friends,
www.ccas.ru/brychkov/inventor-corner.html, look for applet to the right. If it does not run, you need Java SE to be installed.
Enjoy. Feedback is much appraciated!
Eugeny

ログイン/登録して投稿

By Huey

Prophet (2694)

Huey さんの画像

31-10-2008, 11:37

www.ccas.ru/brychkov/inventor-corner/Joy-Stick.jpg

_O_ That is SOOO cool.

By Eugeny_Brychkov

Paragon (1232)

Eugeny_Brychkov さんの画像

31-10-2008, 11:45

Hand made
Wooden
Working
Wink

By MäSäXi

Paragon (1884)

MäSäXi さんの画像

31-10-2008, 12:02

Nice site. I have always wanted to know something more about computer world in 1980s russia. Smile

About your java game, mummie´s intelligence is not too good yet, when I went to collect treasure from second highest platform on the left hand side of the screen, blue mummy stood still almost exactly at same X-coordinate as player on platform underneath player, and that mummy didn´t know what to do there, if I moved a bit, mummy moved a bit horizontally, but didn´t try to use ladders at all, unlike MSX original. In MSX game, mummy would have surely ran after me using ladders and killed me in few seconds, but in your java game, blue mummy just stood still imitating my horizontal movements.... apart from that, it´s playable game! Thought movement of player felt bit odd compared to MSX game, but I can´t be 100% as it´s many years since I played King´s valley on MSX.

By ro

Scribe (4902)

ro さんの画像

31-10-2008, 12:06

I'm not gonna comment on that funny joystick, no sir I'm not....... does it include batteries? DAMN I did it anyway..... Tongue
Nice projects brychkov!

By Eugeny_Brychkov

Paragon (1232)

Eugeny_Brychkov さんの画像

31-10-2008, 13:30

To Masaxi - you're right, mummy logic is not like in original game. Mummy know what to do there - it waits for you Smile Try getting to at least level 8 and then present your evaluation of the logic. And right - player movements is odd. There're no sprites in Java, and high-level software emulation would take significant CPU power when playing, thus the process of playing would become odd.
To Roman - it includes "autofire" engine... there's no need to hit Space key like crazy, it hits this key for you. No batterties required - a lot of power available from joystick port Tongue So it is not just funny - it is practical and exclusive!

By erikd

Master (255)

erikd さんの画像

04-11-2008, 20:20

Heh, pretty cool. AI and movement is slightly different from the original but well done.

There're no sprites in Java, and high-level software emulation would take significant CPU power when playing, thus the process of playing would become odd.
huh?
Of course there are sprites in Java, except that they're called 'images' Tongue
Also, it's easily possible to emulate 4 MSX2 machines at once on a 5 year old PC with all bells and whistles at full speed in java, but emulation was probably not the intention of the original author.

By Eugeny_Brychkov

Paragon (1232)

Eugeny_Brychkov さんの画像

04-11-2008, 22:34

Hi Eric,
thank you for feedback! You are absolutely right, this is not emulation - I coded it from the scratch, and application is optimized for Java. I used Graphics2D, and I think you overestimate Java's performance capabilities.
What is about porting Java software to MSX LOL! ?
Eugeny

By erikd

Master (255)

erikd さんの画像

04-11-2008, 23:25

Hi Eugeny,

I wasn't aware that you were the author of the applet, hehe Smile
Your game brought back some good memories, thanks for that Big smile
I did notice a little problem: The music continues to play after closing the page with the applet.
How did you do the sound BTW? Is it sampled from the original or recreated like the rest of the game?

But I don't think I'm overestimating java's performance. The example I gave is actually a real world example: My own developed MSX2 emulator in java (www.gagaplay.com/jemu2) can do more than 200 frames per second on my 5 year old PC and there's still room for optimization.
There's even a PlayStation emulator in java that can run multiple times at once at full speed, with all software rendering!

I think you might actually underestimate java's performance, although I do agree that it there are some of performance 'gotchas' when using Java2D. But java can in fact reach performance comparable to C++

By Eugeny_Brychkov

Paragon (1232)

Eugeny_Brychkov さんの画像

05-11-2008, 00:20

Eric,
well, I need to admit I was not correct. I was talking about 2D, as you said. And Java works very well when you set 'real-time' or just increase process priority in task manager. At normal priority graphics does significant hiccups, and it is impossible to play well.
I tried your emulator with road fighter (was also my favorite 20 years ago) - great, but it hiccups at my PC (100% of CPU, P3 1GHz, WinXP, 512MB), and some keys do not work.
I figured out why music plays after closing... will need to do some modifications to the code. Thanks!
But... let's talk about game, not about java Cool
Eugeny

By erikd

Master (255)

erikd さんの画像

05-11-2008, 10:36

I got the following problem when trying your game at my work PC and on my laptop at home:
---- Started...
Generating level images: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Region update buffer overflow, suspending execution

it hiccups at my PC (100% of CPU, P3 1GHz, WinXP, 512MB), and some keys do not work.
I'm not sure what's going on on your PC, but this is not normal. Also, I think changing task priority should normally not make a performance difference unless there are other tasks competing for CPU time. What java version do you use? You did try the MSX version of Road Fighter, not the arcade, right?

ページ 1/3
| 2 | 3