Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (602)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (649)
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  
  Trains 4k  (Read 4482 times)
0 Members and 1 Guest are viewing this topic.
Offline ulfjack

Junior Devvie

« Posted 2011-02-25 23:04:10 »

I'm back with another game, yiihaaa. I admit it's a clone of an existing iPhone/iPod game. Find it here:

I'm doing my development on my MacBook, and I hope it works well on other machines. Let me know if it doesn't work for you. The other games basically don't work here. Undecided

This is still work in progress (I know I don't have a lot of time left), so feedback is welcome.
Offline ra4king

JGO Kernel

Medals: 389
Projects: 3
Exp: 5 years

I'm the King!

« Reply #1 - Posted 2011-02-26 01:49:09 »

Any instructions on how to play? Grin

Offline philfrei
« Reply #2 - Posted 2011-02-26 01:56:05 »

Nice! It was a bit of a discovery process for me to figure out how to play and what the goal might be, having never seen this game before. I was running IE8 on Windows XP-Home. How "expensive" for some instructions?

One suggestion: make a small central section of each square a "neutral area". When I try to drag the tracks across a square, they inevitably jump visually to one side or another before settling on the side I want, which is annoying when my intention is to go across.

What do folks with no right click on their mouse do to erase the tracks in a square?

I finally got all the puzzles. I would say the leap in difficulty from 19 to 20 is too steep. And the puzzles after that were much, much easier than 20. It took me over an hour to get it, and I think I got lucky, as I don't know exactly how I did it. (Dang, should have taken a screen shot before I left!) Very fun, though.

So, maybe there is a way to fine tune the difficulty progression, so the last is definitely the hardest. Maybe you are planning on adding more levels?

"We all secretly believe we are right about everything and, by extension, we are all wrong." W. Storr, The Unpersuadables
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel

Medals: 389
Projects: 3
Exp: 5 years

I'm the King!

« Reply #3 - Posted 2011-02-26 02:26:17 »

Ohh right click to clear? Tongue Should have figured it out.

How does the whole overlapping system work? I tried figuring it out but I gave up after 20 levels Smiley

Offline me

Senior Devvie

Projects: 4

Java games rock!

« Reply #4 - Posted 2011-02-26 07:30:21 »

Nice Game!

An instruction on dragging the mouse and right-click to clear
would indeed be helpful.
Maybe stop the play action when clicking the mouse on the
canvas? An undo is maybe too hard to get in?!

Ran fine on Windows 7 , Chrome, Java 1.6.0_24
and SUSE Linux Enterprise 10,FireFox,Java 1.6.0_19

Best regards from


Offline ra4king

JGO Kernel

Medals: 389
Projects: 3
Exp: 5 years

I'm the King!

« Reply #5 - Posted 2011-02-26 08:35:59 »

I gotta hand it to you, it is quite fun when you progress.
But the way you overlap two tubes matters and I still don't understand when it chooses one way over another.

Offline ulfjack

Junior Devvie

« Reply #6 - Posted 2011-02-26 09:04:43 »

There are two parts to the overlapping. First, when you draw over an existing track, it will remove the inactive one (grayed out a bit). Second, whenever a train leaves a square, the tracks switch (the active one becomes inactive and vice versa), even if the train didn't take the active track, i.e. when it enteres the inactive track from the other side. Note that it can happen that two trains leave a square at the same time, in which case it will look like the tracks didn't switch, because they switch twice.

Congrats to everyone who figured out all the levels. I've got some levels that are even more difficult. ;-)

Yeah, level 20 is hard. I'll probably move it further back to the 'really hard' section for the final version.

The middle of each square is now neutral, which hopefully avoids some of the jumping.

When it's playing, a click anywhere will now stop it.

I've still got a bit over 500 bytes; I could fit undo or instructions in there, but i've also got some other ideas that I'd like to do... and I want to add more levels of course.
Offline Aeroren

Senior Newbie

Medals: 1

« Reply #7 - Posted 2011-02-26 11:54:34 »

I don't know the original, but i really like this Smiley

I do think that the orange should be a bit more reddish, right now it's hard to see the difference between orange and yellow.

EDIT: btw, I really like the way you introduce new concepts in the game. (simple level to try it out, and then harder levels to master)
Offline ulfjack

Junior Devvie

« Reply #8 - Posted 2011-02-26 16:17:46 »


The orange is now a bit more reddish. I was hoping to avoid that, because it's so costly, but I agree that it was difficult to distinguish. :-/ I also fixed a bug related to the start/stop button. After my last change, it would restart the simulation rather than stop it.
Offline Alan_W

JGO Knight

Medals: 8
Projects: 3

Java tames rock!

« Reply #9 - Posted 2011-02-26 18:05:26 »

Nice game, I got the hang of it after some random clicking.  The 'points' are a bit braintaxing to get the switching order right  Grin

Time flies like a bird. Fruit flies like a banana.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline philfrei
« Reply #10 - Posted 2011-02-27 03:10:45 »

Nice fixes! The middle neutral area works for me, now.

"We all secretly believe we are right about everything and, by extension, we are all wrong." W. Storr, The Unpersuadables
Offline ulfjack

Junior Devvie

« Reply #11 - Posted 2011-02-28 13:33:31 »

New version up. This could be the final version. I think it will be available here:
Offline Localhorst

Senior Newbie

« Reply #12 - Posted 2011-05-03 10:51:54 »


is it possible to get the source for the game?

Offline namrog84

JGO Ninja

Medals: 46
Projects: 4

Keep programming!

« Reply #13 - Posted 2011-05-03 17:34:07 »

I like it

p.s. you should replace the dead 404 link in the original post with a working link

"Experience is what you get when you did not get what you wanted"
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Jesse (15 views)
2015-07-29 04:35:27

Riven (37 views)
2015-07-27 16:38:00

Riven (18 views)
2015-07-27 15:35:20

Riven (21 views)
2015-07-27 12:26:13

Riven (12 views)
2015-07-27 12:23:39

BurntPizza (30 views)
2015-07-25 00:14:37

BurntPizza (41 views)
2015-07-24 22:06:39

BurntPizza (24 views)
2015-07-24 06:06:53

NoxInc (29 views)
2015-07-22 22:16:53

NoxInc (18 views)
2015-07-22 22:13:39
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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‑
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!