Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
26 May, 2013, 04:34:50 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Java - Falling Blocks -  (Read 1207 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« on: 05 September, 2011, 23:20:04 »
0

I decided to port the Falling Blocks game I made for the TI Nspire Game Contest to computers, and I made it in Java, with a screen of 852*600. The graphics are as simple as the ones of the original game. It's almost an exact port, I wanted to keep it fast and simple, like the original.

Here's a couple of screenshots of it running. Oh and it's open-source, the source is included.


Blocks falling in the title screen


"Deathly" blocks are read, and the other are green

On the attached zip, "FallingBlocks.class" is the main class, so to run it, just do java FallingBlocks, or open FallingBlocks.class using the Java Runtime program, if you prefer to do it with the mouse.

* FallingBlocks.zip (7.24 KB - downloaded 110 times.)
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 23:59:07
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #1 on: 06 September, 2011, 18:31:47 »
0

Nice, good work!

Btw, if you improve your wx version (make it more pretty and stuff), you could try to push in the Ubuntu/Debian repo Smiley
Logged

Wellen
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 02 May, 2012, 11:56:34
Date Registered: 08 August, 2011, 11:00:09
Location: France
Posts: 118


Total Post Ratings: +5

View Profile
« Reply #2 on: 06 September, 2011, 21:15:24 »
0

I can't open it Huh?
I did [Windows+R]>cmd>java FallingBlocks
but FallingBlocks.class is not found..

Edit: I tried with the java Runtime, but the window opens, and closes immediately
« Last Edit: 06 September, 2011, 21:15:51 by Wellen » Logged

-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot Wink
Spoiler for Feat. Loulou54:
Spoiler for Projects:
Spoiler for Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler for Ti-Basic:
Spoiler for Soko-Ti, a sokoban game in Ti-Basic:

Spoiler for Memory:

Downloads here.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #3 on: 06 September, 2011, 21:17:14 »
0

I can't open it Huh?
I did [Windows+R]>cmd>java FallingBlocks
but FallingBlocks.class is not found..

Edit: I tried with the java Runtime, but the window opens, and closes immediately

You have to go to the directory of the download.

1. Unzip the attachment somewhere
2. Open the cmd
3. cd to that directory.
4. java FallingBlocks

If it doesn't work, please tell me the error it gives. Thanks!
Logged
Wellen
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 02 May, 2012, 11:56:34
Date Registered: 08 August, 2011, 11:00:09
Location: France
Posts: 118


Total Post Ratings: +5

View Profile
« Reply #4 on: 06 September, 2011, 21:39:03 »
0

No, it doesn't work..
Maybe a problem with my Java ? (v6)

Also, I don't program in java, so there might be a mistake I didn't see ^^


* Capture.PNG (36.37 KB, 679x341 - viewed 331 times.)
« Last Edit: 06 September, 2011, 21:39:56 by Wellen » Logged

-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot Wink
Spoiler for Feat. Loulou54:
Spoiler for Projects:
Spoiler for Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler for Ti-Basic:
Spoiler for Soko-Ti, a sokoban game in Ti-Basic:

Spoiler for Memory:

Downloads here.
calcdude84se
Needs Motivation
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 16:12:14
Date Registered: 21 April, 2010, 04:20:59
Posts: 2207


Total Post Ratings: +62

View Profile
« Reply #5 on: 06 September, 2011, 23:01:32 »
0

You capitalized it incorrectly Wink Use "FallingBlocks" instead of "Fallingblocks" and try again. Smiley
Logged

"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Bug me about PartesOS. I might just need reminding.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #6 on: 06 September, 2011, 23:07:55 »
0

You capitalized it incorrectly Wink Use "FallingBlocks" instead of "Fallingblocks" and try again. Smiley

Calcdude is right, use "FallingBlocks" Wink And this game is Java 6 by the way.
Logged
Wellen
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 02 May, 2012, 11:56:34
Date Registered: 08 August, 2011, 11:00:09
Location: France
Posts: 118


Total Post Ratings: +5

View Profile
« Reply #7 on: 06 September, 2011, 23:19:59 »
0

Oh yeah, you're right.
It works now ^^
Nice game, btw
Logged

-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot Wink
Spoiler for Feat. Loulou54:
Spoiler for Projects:
Spoiler for Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler for Ti-Basic:
Spoiler for Soko-Ti, a sokoban game in Ti-Basic:

Spoiler for Memory:

Downloads here.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #8 on: 07 September, 2011, 10:37:04 »
0

Oh yeah, you're right.
It works now ^^
Nice game, btw

Thanks a lot!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.474 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.