Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (426)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
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  
  Ball 4k  (Read 8013 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Posted 2005-01-16 08:45:57 »

Just incase anyone wasn't already bored of my 4k efforts.. here's another one Smiley

http://www.cokeandcode.com/games/4k/ball4k/ball4k-temp.jnlp

Jar at: http://www.cokeandcode.com/games/4k/ball4k/ball4k.jar

Run with:
java -cp ball4k.jar R

Inspired by Mojangs Sonic4k and very much in the same vein as Tilt4k. Guide your ball around, don't fall off. Light up the markers by rolling over them. Once you've rolled over them all the exit will appear and you should probably use it. Time limited of course Smiley

Controls so far:

Cursors - control ball
Space - Jumps
Enter - Starts a level
Page Up/Page Down - Rotate view
End - Reset view

This is still very much a work in progress. I've not done anything to optimise graphics or jar size. Only one test level so far but I'd like to check things are working ok on most systems before getting going..

Suggestions/Feedback appreciated as normal..

You might have guess I'm really really enjoying this 4k lark  Grin

Kev

PS. Also, I think only one entry into J4K3 is allowed.. so suggestions on which to enter would be useful. (Tilt4k, Ball4k, Trooper or Snake).

Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #1 - Posted 2005-01-16 10:24:31 »

Sounds interesting, but I can't get to the Host. Is the URL just created? Maybe you can put up a temporary jar at original cokeandcode.com for now?

Only on entry allowed? That would be a shame. It would at least be nice to have all the 4K games available at one spot.

Nope, note bored of 4K games. Keep em comming!  Cheesy

Offline kevglass

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2005-01-16 10:33:43 »

Consider it done.. updated the links above.

I'm surprised that the games.cokeandcode.com domain hasn't propogated out as far as you yet.. its was a few days ago and quite a few others have managed to access it.. I'll check with my admin (Endolf Smiley)

I've actually been putting a site together of my 4k games as I've been going along building them.. thats what the new domain was for.. but its not really developed enough for public viewing as yet.

Kev

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

Senior Member




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


« Reply #3 - Posted 2005-01-16 15:21:09 »

I like it!  I think the ball accelerates too quickly though.

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

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2005-01-16 16:47:34 »

Uploaded a new version...

* 5 designed levels of fun
* Instructions
* Blocks that disappear
* Blocks that flash on/off
* Teleporters

I'll look at slowing the ball down if you reakon it'd be better.

Kev

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #5 - Posted 2005-01-16 19:38:26 »

>Also, I think only one entry into J4K3 is allowed

Nah Smiley

IIRC no one submitted more than one game so far, but that's not because it's part of the rules. A clause like that wasn't there ever. And since it's a fun compo where you can only win fame and some duke dollars from mlk... no one will complain Wink

And the game is great Shocked

For the suggestion box:
-add speed capping (because it makes things easier)
-add friction (same thing)
-let pgup/pgdn rotate in 90° steps... like targetangle+= or -= 90... angle=targetangle<angle?angle+1:targetangle>angle?angle-1:angle;

Something like that. I'm unable to put that into english right now Tongue

弾幕 ☆ @mahonnaiseblog
Offline weston

Junior Member





« Reply #6 - Posted 2005-01-16 22:12:03 »

woah thats awesome, feels a bit like marble madness. Teleporters and disappearing blocks are a great touch. The game started to get real choppy around level 4, its possible that there was something else running on my system that slowed it down but I think not. This is my favorite with tilt4k in close second (not that it matters since you can submit more than one...).

for(int i = 1; i > 0; i++)
{
System.out.println(i+" cups of java downed");
}
Offline woogley
« Reply #7 - Posted 2005-01-17 01:52:52 »

great job kev! that is alot of fun. it would be even better if you could show a tilt like before.. but I dont think that could fit under 4k!

I didnt really see any bugs but I noticed the space key seems to stick.. I have to hold it a second or two before the ball jumps (and yes but space key works correctly in other programs Wink)

keep up the great work  Cheesy
Offline kevglass

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #8 - Posted 2005-01-17 06:21:48 »

Space Key - there is a restriction how often you can jump. Not sure if this is what you're seeing or not. Hold the space bar down and see if you jump at regular intervals.

Speed Cap - Ok, I can try.
Friction - Ok, I can try.

Level 4 shouldn't be any more intensive that Level 1 infact its smaller Smiley Probably some other interactions.. maybe nasty GC kicked in or something?

Tilt the whole board wouldn't be possible with the liberties I've taken with the pseudo 3D. No depth sorting so things might go haywire.

Glad you like it. If I can have multiple entries into J4K3 then I'm set Smiley

Kev

Offline Serethos

Junior Member




Java games rock!


« Reply #9 - Posted 2005-01-17 11:09:50 »

veeeeery nice. i like it. and this is a more important compliment cause i really dont like this kind of games. i have no patience for maneuvering a ball around edges...  Grin
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline woogley
« Reply #10 - Posted 2005-01-17 23:09:50 »

Quote

Tilt the whole board wouldn't be possible with the liberties I've taken with the pseudo 3D. No depth sorting so things might go haywire.


hmm, what if you had say.. a blue background, and have a few clouds randomly scarrtered about as a background. Then you could give the illusion of a tilt by moving the background rather than moving the board. just a thought. Tongue
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #11 - Posted 2005-01-18 13:38:53 »

Very nice and polished game, especially for being 4K! Good retro feel as well.

I agree with oNyx, that a snap to 90 degrees would be nice. Maybe just a check when PgUp/PgDn is released. If view angle is close to an even 45 degree, then "snap to it". That way you can have a nice smooth rotate, but still not too difficult. Using it when angle was 95 had me falling off very soon, so I ended up never using rotat view. :-/

Small amount of friktion would probably give nice feel to it, and make it a lot easier (would be nice). Speedcap not as important IMHO.

Game doesn't give the impression that it had any mem limitation. Very impressive!

Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #12 - Posted 2005-01-18 13:47:11 »

By the way, http://games.cokeandcode.com/ has now reached my DNS. Very nice look!

Offline kevglass

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #13 - Posted 2005-01-18 13:58:31 »

Ssshhh.. not ready yet. Still waiting for more games Smiley

Kev

Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #14 - Posted 2005-01-18 15:40:44 »

Hehe, sorry  Embarrassed Figured since you had it here before it would be OK. Want me to take it away for now? Don't think you have to hide it, looks plenty good enough. Maybe you are the one who should host the 4K stuff at one place?

Offline kevglass

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #15 - Posted 2005-01-18 15:58:21 »

No thanks Smiley Woogleys got a great site for 4k entries. This site is for any little game I like Smiley

New features added and uploaded. 4087 bytes.

Kev

Offline luisoft

JGO Coder


Projects: 6


Java games rock!


« Reply #16 - Posted 2005-01-19 02:02:15 »

really cool game for only 4k! Does this game and the other 4k games
has source code avaiable?
Offline kevglass

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #17 - Posted 2005-01-19 05:42:05 »

I'm quite embarrased in many ways about the style of source. Of course its all to fit in the 4k but still.

I'll be posting my source on my website with a disclaimer once I get round to it. You'd have to check with other authors to find out about their source as I believe its purely discressionary whether its release or not (although I think it'd be nice).

Kev

Offline luisoft

JGO Coder


Projects: 6


Java games rock!


« Reply #18 - Posted 2005-02-02 15:56:09 »

hi Key, I was looking at the source code and I could not figure out about the following lines:

1  
2  
3  
4  
5  
int delta = (int) (System.currentTimeMillis() - lastLoopTime);
                  for (int i=0;i<delta/10;i++) {
                        logic(10);
                  }
                  logic(delta % 10);


Why are u calling logic two times in the loop?

Tks
Offline kevglass

JGO Kernel


Medals: 85
Projects: 22


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #19 - Posted 2005-02-02 16:34:03 »

Actually I'm calling it (tickTime / 10) + 1 times. Its so that the logic is never progressed more than 10 milliseconds meaning that the collision detection should never jump through things.

If for instance my tickTime (delta) was 35 milliseconds, the idea (it might be bugged) was that it calls logic 3 times with a 10 milisecond increment then once with a 5 millisecond.

Does that make sense?

Kev

Offline magemog

Senior Newbie




Jaded Samurai


« Reply #20 - Posted 2005-02-02 22:52:25 »

The ball seems to get stuck when trying to hop you're moving at a certain speed or something. Like, I can hop without a hitch when staying in one place, but sometimes it get stuck when trying to move at hop at the same time.  

Hmm... sounds vaguely familiar... yeah
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.

xsi3rr4x (74 views)
2014-04-15 18:08:23

BurntPizza (68 views)
2014-04-15 03:46:01

UprightPath (80 views)
2014-04-14 17:39:50

UprightPath (65 views)
2014-04-14 17:35:47

Porlus (81 views)
2014-04-14 15:48:38

tom_mai78101 (105 views)
2014-04-10 04:04:31

BurntPizza (165 views)
2014-04-08 23:06:04

tom_mai78101 (261 views)
2014-04-05 13:34:39

trollwarrior1 (210 views)
2014-04-04 12:06:45

CJLetsGame (220 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!