Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
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  
  Scatris - Yet Another *tris Clone  (Read 3394 times)
0 Members and 1 Guest are viewing this topic.
Offline dector
« Posted 2012-05-18 11:30:27 »


Writed on Scala with using lwjgl and slick2d.

[size=14pt]Controls[/size]

Left/Right - move falling element
Up - rotate falling element ccw
Down - speed-up falling element
Space - drop falling element down
F2 - show/hide phantom (place, where element will fall)
P - pause
Esc - exit

[size=14pt]Screenshot[/size]




[size=14pt]Play[/size]

Java Web Start

[size=14pt]Download[/size]

Dropbox.com (full package) [10.8 MB]

[size=14pt]Running[/size]

Linux:

$ sh run_linux.sh

Windows:

Start file (with doubleclick or from cmd) run_windows.bat

Other platforms:

java -cp lib/*::scatris.jar -Djava.library.path=lib/native/os_name ua.org.dector.scatris.Scatris

Note: Change  ’::’ for delimiter in your OS.
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #1 - Posted 2012-05-18 11:36:39 »

Ooo, Scala. How are you finding it compared to vanilla Java development? I keep eyeing it up and then not getting around to trying it out.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline ReBirth
« Reply #2 - Posted 2012-05-18 11:41:11 »

Hi. It look nice.

Wanna ask, why you need to use lwjgl and slick2d together?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline dector
« Reply #3 - Posted 2012-05-18 11:51:05 »

Ooo, Scala. How are you finding it compared to vanilla Java development? I keep eyeing it up and then not getting around to trying it out.

I tried Scala for few educational tasks. And I liked it. I'm not using functional programming in full power yet, but sometimes it helps to create elegant and flexible solutions. Just try Scala developing when you'll have time. It is really interesting, deep and promising.

Hi. It look nice.

Wanna ask, why you need to use lwjgl and slick2d together?

Hi:) Thanks.
For graphics rendering I use lwjgl, but as I haven't own text drawing library, I used slick2d for this purpose.
Offline sproingie

JGO Kernel


Medals: 202



« Reply #4 - Posted 2012-05-18 15:37:57 »

W00t, another scala developer Smiley

Since there are so few scala game sources out there, would you have any objections to putting the sources on github?

I use a fair amount of Scala at work, but except when I use the monadic for-comprehensions on Futures, I also use it as just "a better Java" without drinking the functional koolaid of stuff like scalaz.  It's just nice to have it handy for features like that when they are there (and the ironically funny part about the for-comprehensions is that they make the code look more imperative)

Offline dector
« Reply #5 - Posted 2012-05-18 17:33:06 »

Thank you for so warm wellcome Smiley

Yes, I'll move source code to github soon, but before I want to make code more readable and well-structured. And I'll look at scalaz, thanks.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #6 - Posted 2012-05-18 17:40:50 »

I have to say, due to you having a tiger as your avatar, and your name being named Scatris, I immediately saw "Scat"ris. As it, "Poop"ris. Tongue Now I see it's in Scala so that makes sense.

Anyway it looks cool. I like the stark coloring.

See my work:
OTC Software
Offline dector
« Reply #7 - Posted 2012-05-18 19:26:38 »

Thanks. It is simple, but I like it too Smiley
Offline dector
« Reply #8 - Posted 2012-05-19 22:14:35 »

UPD: Phantom highlight added.
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!