Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (532)
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  
  Element X  (Read 1362 times)
0 Members and 1 Guest are viewing this topic.
Offline Coldstream24
« Posted 2014-04-13 02:46:43 »

Hey guys
This is my first post on this forum, so forgive me if I've done or said anything wrong. I'd like to share with you a small game I've been working on for about two years now (on and off) and which is in its third life - Element X.



Basically, this game is a sandbox. You break things and you build things. Breaking things doesn't yield anything because I have no resource collection implemented yet, but there is a handy console that does a few things.

Features:
  • A 640 x 256 block world
  • 20-ish building materials
  • Gibbing!
  • The best walking and jumping animations you've ever seen
  • Multiplayer (it hosts an internal server)
  • Entities
  • Explosions
  • Particles (but not many)
  • Things you can throw
  • Configurable options box

It would have had a shader, but it just did not work for me. I had to take it out, sorry guys.
If you go so far as to open the game, take some time to change a few settings (username, custom PNG skins etc). Then you can open a new world by clicking New World.

In order to get items, you have a few options.
Use /give and try any ID from 1-50 and 2100-2110.
Use /onion (no hints given)
Use /hammertime

So far in the console (accessible using 't' or '/') you can do this:
SPAWN <name> <x> <y>
GIVE <ID> <amount>
TP <x> <y>
KILL <playername>
ANHERO
KICK <playername>
CHANGEGAMEMODE <creative or survival>
TOGGLEDEBUG

Anhero is basically suicide. From there you can respawn (using /respawn).
Toggledebug shows a bit of debugging info (x, y, camera position, server IP, FPS, etc.)
Spawn doesn't do much, but you can try it with NOTCHHEAD and 69.

I think that's everything, enjoy yourselves guys! Let me know if you've got suggestions or bugs or anything.

Almost forgot the download link: http://www.mediafire.com/download/7gfvmy3as217dkv/ElementX_-_13_APR.zip.
There are some videos of progress available here: http://www.youtube.com/user/ColdstreamMusic

I am aware of a few crash bugs, but they seem to occur pretty randomly when you throw projectiles.

Planned:
  • Deathmatch
  • Shader
  • Challenge somebody to a Mortal Kombat-esque showdown.
  • Lots more entities
  • Better world generation

Yes, I am that same incredibly famous Internet musician.
Offline kingroka123

JGO Knight


Medals: 26
Projects: 4
Exp: 1 year


Gamer's Helmet


« Reply #1 - Posted 2014-04-13 02:56:13 »

Very nice! This is pretty good.

Offline Longarmx
« Reply #2 - Posted 2014-04-13 03:16:21 »

Looks good. I couldn't spawn anything in though (got null pointer exception when run in the console). Other than that, it ran nicely. Loved the stick onionade!

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Coldstream24
« Reply #3 - Posted 2014-04-13 03:18:18 »

Looks good. I couldn't spawn anything in though (got null pointer exception when run in the console). Other than that, it ran nicely. Loved the stick onionade!
Hmm. Should have mentioned before, but the names are case-sensetive with the entities.
You need to say /spawn NOTCHHEAD <x> <y> or /spawn 69 <x> <y>.
Sorry about that, it's just the method I was using.

Yes, I am that same incredibly famous Internet musician.
Offline Longarmx
« Reply #4 - Posted 2014-04-13 03:23:41 »

Ok. It works with that.

Offline Gibbo3771
« Reply #5 - Posted 2014-04-13 11:12:16 »

Looks good. I couldn't spawn anything in though (got null pointer exception when run in the console). Other than that, it ran nicely. Loved the stick onionade!
Hmm. Should have mentioned before, but the names are case-sensetive with the entities.
You need to say /spawn NOTCHHEAD <x> <y> or /spawn 69 <x> <y>.
Sorry about that, it's just the method I was using.

Error trap that as soon as possible, try/catch block and print a "No Such Item Found". May as well get it out the way if that is your most common way of spawning stuff until resources collection is in.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline Coldstream24
« Reply #6 - Posted 2014-04-13 23:54:05 »

That's a good idea, actually. I have a similar sort of thing implemented for blocks (as in it doesn't just crash) so I'm not too sure why I never got around to doing it for entities.

Yes, I am that same incredibly famous Internet musician.
Offline Longarmx
« Reply #7 - Posted 2014-04-14 03:12:19 »

Also make sure you're using .equalsIgnoreCase() to compare the commands

Pages: [1]
  ignore  |  Print  
 
 

 

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

The first screenshot will be displayed as a thumbnail.

pw (14 views)
2014-07-24 01:59:36

Riven (14 views)
2014-07-23 21:16:32

Riven (13 views)
2014-07-23 21:07:15

Riven (15 views)
2014-07-23 20:56:16

ctomni231 (43 views)
2014-07-18 06:55:21

Zero Volt (40 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (36 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!