Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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  
  Slalom 4K  (Read 9461 times)
0 Members and 1 Guest are viewing this topic.
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Posted 2005-01-18 09:00:14 »

My 3rd 4K game. Instructions on the webpage.

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

This one is only 3K yet, so ideas for improvement and tuning is very velcome.

My best time so far is 70,712 sec, but you can probably beat it.

Offline ap_kelly

Junior Devvie




Java rocks!


« Reply #1 - Posted 2005-01-18 09:25:45 »

48.813 was my best score.

I think it would be more natural if the player moved down the screen rather than up it.

You could also add in some rocks, or other obstacles that would cause the skier to fall over.

Andy

Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2005-01-18 09:34:03 »

It plays! Smiley I'm not sure about the control system, feels very uncomfortable to me.. maybe it would be better going down the screen like mentioned above.

The skier could do with being two lines maybe? with a blob in the middle (or two) for the little chap.

First go: 76.888.. I'm not very good Sad

It'd be nice if the text was a bit bigger and maybe have something more conventional for start (like Space or Enter?)

Also, if you've got lots of room (a whole K!) how about some instructions on what to do?

Very cool tho.. I like this better than the Late4k one... feels like I have more control and theres more skill.

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #3 - Posted 2005-01-18 09:55:27 »

Hmmm... yep, would be more natural to ski down the screen, but the controls wopuld be more confusing. When you press right, should the skier turn right or should he turn to the right of the screen (make a left turn)? I think it will be harder to control the skier, but I could be wrong... Anyone else got an oppinion?

Was 48.8 the time for both runs? I only stated at the webpage that you are doing 2 runs. Having coded two 4K games already, I am very thrifty with messages in game that can be delivered outside the game. Smiley Since I have 1K left, I could maybe use some of that for more info on screen.  I improved my run to 69,58 (slalom version)

As it is right now, I have two verions, slalom and giant slalom (PgDn/PgUp). I could maybe add one more like free skiing, where trees and rocks appear as well. I guess that could be a snowboarding mode.

Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #4 - Posted 2005-01-18 10:30:32 »

Kevglas: I guess I got feedback before I even got to post my Q. Seems like I have to change to skiing down the screen. Liked the rest of your points as well. Should have a look at them tonite, time permitting. Tongue

76.888 is probably very good for a first go. Cool

Late4K... I like the feeling of screaming away at 110% of what you can handle, but I probably brought it up to 180%... Gonna try to make it a bit more possible and less chance.
For non initiated:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=Announcements;action=display;num=1105724937

After feedback I have ended up making all my games a bit easier. Guess I need to work on that.

PS. ap_kelly: Look forward to see your supersprint. Would be really impressive if you can cram it in to 4K.

Offline Virum

Junior Devvie




Like a leaf in an icy world, memories will fade


« Reply #5 - Posted 2005-01-18 15:24:49 »

Quote
Hmmm... yep, would be more natural to ski down the screen, but the controls wopuld be more confusing. When you press right, should the skier turn right or should he turn to the right of the screen (make a left turn)? I think it will be harder to control the skier, but I could be wrong... Anyone else got an oppinion?


Remember SkiFree?  In that game the skier skied down hill, the right arrow made the skier turn to the players right, the left to the player's left.  It was very natural.

My opinion on your game, it seems that turning is too long, gates are too close together, and the player moves too slow.

It's time to prove to your friends that your worth a damn. Sometimes that means dying; sometimes that means killing a whole lotta people.

Blog
Offline mlk

Junior Devvie




Muppet!


« Reply #6 - Posted 2005-01-18 22:53:18 »

You do need to go down not up, and maybe a img of a snowboarder? Grin
Also the gates are too close to gether, so you don't build up speed.

Objects would also be cool.

Fun none the less.

Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #7 - Posted 2005-01-19 14:59:17 »

OK, after general demand I have added so that you can configure if you want to ski down (default) or up the screen.

Quote


Remember SkiFree?  In that game the skier skied down hill, the right arrow made the skier turn to the players right, the left to the player's left.  It was very natural.

My opinion on your game, it seems that turning is too long, gates are too close together, and the player moves too slow.


Had never seen SkiFree, but found it on the web. When you press right, the player (skier) turns to his left, or right on the screen. As I see it the opposite of what you are saying???
I kept my game so that pressing right makes the skier turn right. Lemmi now what u think.

Pressing down key makes skier turn quite fast (also to slow down). Gotta be a bit difficult though doesn't it.

Changed so that you now can choose between 3 types and in Super-G the gates are quite far appart. Hope you'll like it.

I also speeded up the player a bit. Think that was a good idea.

Most ppl ddin't seem to read the webpage, so I added some info text to the opening screen. Maybe that is easier, but unfortunately eats up a lot of mem...

Have not added snowboarding yet, but will try if I get time and there is enough mem left to play with.

Offline Malohkan

Senior Devvie




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


« Reply #8 - Posted 2005-01-19 17:30:39 »

by "Player" he meant the human player, not the skiier.

When I play the 1, 2 and 3 keys do nothing.  I also never see a time displayed anywhere.

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

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #9 - Posted 2005-01-19 19:14:51 »

Quote
by "Player" he meant the human player, not the skiier.

When I play the 1, 2 and 3 keys do nothing.  I also never see a time displayed anywhere.


OK, does that mean that right - left keys have "Wrong" setting, while skiing down? In my game you are not restricted to have the skis pointing downhill all the time. You can do a 360 turn if you want to, so that means that if you turn around and skis are facing uphill. If I change the right - left keys to the suggestion above, then pressing left, the player will turn right both on the screen (players perspective?) and from the skiers perspective. Dang that was difficult to explain... You probably won't have skis pointing uphill so often so it might not be important. Anyway, does this feel right or wrong? Guess that is what's important.

When you press the 1, 2 and 3 keys something happen, you just dont see it right away. Smiley After you press Enter you will be in a slalom/giant slalom/super-G race, depending on what number key you pressed first. I am planning to highlight the selected option, but haven't have time to do so yet.

If you have <=1024x768 you won't see it because it is too far down. I am going to move the time so that it is always next to the player, and I should probably also change so that the hight of the whole window is small enough to fit in 1024x768.

I will try to get the changes fixed in a day or two, and try to tune the feel a bit, maybe make the skier even faster?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Malohkan

Senior Devvie




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


« Reply #10 - Posted 2005-01-20 03:10:35 »

cool!  The controls for the skiier are fine in my opinion.  I used to play Ski Free all the time and loved it, but when I started this game, I immediately just used the controls correctly.  They were completely intuitive.

I think the difference is that in Ski Free you click left to "move" left.  The turn effect was kind of just visual effect because if you let go of left, he stopped turning that way.  In this game, since arrows ACTUALLY turn, it's more intuitive to turn correctly where left does counter-clockwise and right does clockwise.

Long story short:  I like your controls very much how they are Smiley

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

Junior Devvie




Like a leaf in an icy world, memories will fade


« Reply #11 - Posted 2005-01-20 04:00:36 »

I agree.  I only used SkiFree as an example of how the controls should fit the HUMAN players left-right orientation instead of the game's avatar.

Nice work. Smiley

It's time to prove to your friends that your worth a damn. Sometimes that means dying; sometimes that means killing a whole lotta people.

Blog
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #12 - Posted 2005-01-20 09:56:34 »

Cool!  Cool Glad you liked the ctrls. Hope that will do it then.

I added an indicator showing what discipline is selected, and made skier a bit faster, skidding a bit more, turning a bit faster and just more more more. Smiley Nah, not so much more, but this should hopefully give it a bit better feel.

Offline dranonymous

Junior Devvie




Hoping to become a Java Titan someday!


« Reply #13 - Posted 2005-01-25 15:27:42 »

I had alot of fun, but it was goofing off, not trying to win.   Tongue  It was big hoot to go really fast straight down and then turn sideways.  You go screaming off the edge of the screen and get 'lost' for a bit.  If you play around and turn fast enough, you can go back up the mountain a little.  Smiley

I'd agree with others, throw in some rocks or something.  Maybe show a ski track from where you were as well.

Regards,
Dr. A>
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #14 - Posted 2005-01-27 13:11:42 »

Thanks for all the feedback. I think I might have to make snowboard a separate game.

I have been trying to add some sound to the game, but not really been able to get anything to sound well, or be small... Does anyone have any examples of how to make that happen? I think that generating sound from code should do the trick, but really making it sound like skis against snow, and how to change the volume of it? I have been looking a bit at Defender 4000 sound routine. Think it would be good enough to just have a loop and adjust vol according to how much player is sliding * speed. Any help greatly appreciated.

If I still have some space I will go ahead and add some of the things that have been requested here.

Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #15 - Posted 2005-01-28 01:35:27 »

Quote
I have been trying to add some sound to the game, but not really been able to get anything to sound well, or be small... Does anyone have any examples of how to make that happen? I think that generating sound from code should do the trick, but really making it sound like skis against snow, and how to change the volume of it? I have been looking a bit at Defender 4000 sound routine. Think it would be good enough to just have a loop and adjust vol according to how much player is sliding * speed. Any help greatly appreciated.


A fan of my sound scheme! Well, step right up and I'll tell you what I know! :-) It's been awhile since I dug into this stuff, but here's what I remember:

Non-signed PCM data is encoded in such a way that the waveform will continue to increase until a zero is found. At that point the wave will reverse and begin to descend. Again, it will keep descending until a zero is reached, at which point it will reverse again.

Constant zeros produce silence.

My thought on producing a "skiing" sound would be to produce  white noise of a given maximum amplitude.  You should be able to accomplish this by producing random numbers between 1 and MAX, where MAX is less than 255. By increasing MAX as you speed up, you can make the noise louder, thus giving the impression of speed. Make sure you insert zeros at regular intervals to ensure the wave stays at a high enough frequency.

That's my theory anyway. You'll probably want to rip the Defender 4000 sound code out and play with a few sound algorithms. Keep messing with it until you find something that sounds right. Also, don't be afraid to ask Google about PCM data, and generating sound effects. Here's a few links to get you started:

http://show.docjava.com:8086/book/cgij/doc/sound/Oscillator.java.html

http://www.softsynth.com/jsyn/


Java Game Console Project
Last Journal Entry: 12/17/04
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #16 - Posted 2005-02-21 15:53:53 »

Changed the skier to look slightly less hiddeous, and added smaller fix to keep dranonymous in the slope Smiley and abort with enter. Mouse left button = faster, rigth = slower. Key ctrl still the same. Still haven't managed to create any sound that is worth adding to the game... :-/

Also moved the game to:
http://valhallawebdesign.com/Joakim/Java/4K/Slalom

Offline Malohkan

Senior Devvie




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


« Reply #17 - Posted 2005-02-21 19:33:45 »

I like this version best!  The skiier looks great Smiley

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (37 views)
2014-12-15 09:26:44

Mr.CodeIt (31 views)
2014-12-14 19:50:38

BurntPizza (62 views)
2014-12-09 22:41:13

BurntPizza (99 views)
2014-12-08 04:46:31

JscottyBieshaar (60 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (38 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!