A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21)

Forum for the Vore games, and other downloads
Forum rules
Don't ask about updates. If there is an update, it will simply be posted. If someone is committing to a timeline, they will just tell you the timeline without needing anyone to ask.

Use Looking for master thread when you are not posting about an existing game.


You use this forum and website at your own risk for all links and uploads. There is no quality control or malware scanning or testing done here. Proceed with caution and use a virtual machine (VM) for any uploads strongly recommended. Virus/malware scanners alone are generally not good enough.

A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21)

Postby EtPerMun » Sat Nov 21, 2015 9:55 am

This is a (very) small Java library for anyone who wants to develop a Corruption-of-Champions-like game. It uses Swing, but strips it down to the essentials needed for such a game, and already creates nearly the entire GUI on its own.

It's meant for Java developers who lack the experience or knowledge to write a GUI themselves, but otherwise feel comfortable writing a game in Java. It might even be interesting for non-programmers who want to learn to program :-D

The functions should be fairly clear as to their purpose, and in any case, the zip file also includes an (executable) demo that demonstrates the features of the GUI. Also, it's all written very properly, with encapsulation and all that stuff.

Questions and comments welcome! :)

Basic GUI
Spoiler: show
Image


Demo GUI
Spoiler: show
Image


CoC Java Library v1.0.zip
(5.2 KiB) Downloaded 408 times
Last edited by EtPerMun on Sat Nov 21, 2015 10:23 am, edited 2 times in total.
EtPerMun
Participator
 
Posts: 228
Joined: Tue Sep 13, 2011 5:29 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby Bright » Sat Nov 21, 2015 10:08 am

CoC as in Command and Conquer?
Visit my artblog?
Spoiler: show
http://julienbrightsidesart.blogspot.no/
User avatar
Bright
Heavy user
 
Posts: 13448
Joined: Sat Apr 04, 2009 5:17 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby EtPerMun » Sat Nov 21, 2015 10:12 am

Bright wrote:CoC as in Command and Conquer?

CoC as in Corruption of Champions.
EtPerMun
Participator
 
Posts: 228
Joined: Tue Sep 13, 2011 5:29 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby Sightseerdraws » Sat Nov 21, 2015 10:46 am

This is very cool, thanks for creating this! We could really use a CoC-like vore game.
User avatar
Sightseerdraws
Been posting for a bit
 
Posts: 45
Joined: Fri Mar 28, 2014 11:48 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby EtPerMun » Sat Nov 21, 2015 11:46 am

Sightseerdraws wrote:This is very cool, thanks for creating this! We could really use a CoC-like vore game.

I'm currently waiting for suggestions and other stuff that may need to be improved with the library, once I've implemented those, I'll go and write a game using it ;)
EtPerMun
Participator
 
Posts: 228
Joined: Tue Sep 13, 2011 5:29 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby Reaverbot » Sat Nov 21, 2015 1:51 pm

Bright wrote:CoC as in Command and Conquer?



Command on Conquer?
User avatar
Reaverbot
Advanced Vorarephile
 
Posts: 716
Joined: Fri Feb 17, 2006 12:00 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby Bright » Sat Nov 21, 2015 2:48 pm

Reaverbot wrote:
Bright wrote:CoC as in Command and Conquer?



Command on Conquer?


https://no.wikipedia.org/wiki/Command_%26_Conquer
Visit my artblog?
Spoiler: show
http://julienbrightsidesart.blogspot.no/
User avatar
Bright
Heavy user
 
Posts: 13448
Joined: Sat Apr 04, 2009 5:17 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby EtPerMun » Sat Nov 21, 2015 3:27 pm

Bright wrote:
Reaverbot wrote:
Bright wrote:CoC as in Command and Conquer?

Command on Conquer?

https://no.wikipedia.org/wiki/Command_%26_Conquer

I suppose in the Scandinavian languages that ampersand (&) is not read as "and", but as "och"?
EtPerMun
Participator
 
Posts: 228
Joined: Tue Sep 13, 2011 5:29 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby Murderkarp » Sat Nov 21, 2015 6:28 pm

Oho, This looks neat.
User avatar
Murderkarp
Somewhat familiar
 
Posts: 74
Joined: Mon Nov 18, 2013 1:54 pm
Location: Where the White Whale Blows

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby KuroganeRyu » Sat Nov 21, 2015 8:24 pm

Champions of Corruption
User avatar
KuroganeRyu
Somewhat familiar
 
Posts: 69
Joined: Sun Sep 06, 2015 4:51 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby addonexus369 » Mon Nov 23, 2015 5:42 am

how about a skin for the boxes and stuff make it look better and all
Predator or Prey, Which are you?
User avatar
addonexus369
Been posting for a bit
 
Posts: 52
Joined: Sat Jul 21, 2012 12:45 pm
Location: Marietta,GA USA

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby EtPerMun » Mon Nov 23, 2015 7:36 am

addonexus369 wrote:how about a skin for the boxes and stuff make it look better and all

Could you elaborate on what exactly you mean?

For the record, you can change the way things look by using the
Code: Select all
UIManager.setLookAndFeel();
method used in line 17 of the Demo. By default, the demo chooses the one fitting for your operation system, but you could set it to any other one if you prefer.
EtPerMun
Participator
 
Posts: 228
Joined: Tue Sep 13, 2011 5:29 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby Revx_Z » Sat Nov 28, 2015 10:08 am

This is a really neat project. Do you have any expansions or other modules in mind?
User avatar
Revx_Z
Intermediate Vorarephile
 
Posts: 448
Joined: Sat Sep 29, 2007 11:00 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby zxcfrtyuiop » Sun Nov 29, 2015 4:29 am

I can't get this to work :( what program does it use?
zxcfrtyuiop
Been posting for a bit
 
Posts: 40
Joined: Sun Nov 21, 2010 5:26 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby EtPerMun » Sun Nov 29, 2015 9:17 am

Revx_Z wrote:This is a really neat project. Do you have any expansions or other modules in mind?

Not really. If someone requests something, and I think it's a good addition, I'll add it, but otherwise it's just bugfixes.

zxcfrtyuiop wrote:I can't get this to work :( what program does it use?

Java. Note that this is the source code, though, not a compiled .jar, so you'd need to compile it first. It's a library, not a game :P
EtPerMun
Participator
 
Posts: 228
Joined: Tue Sep 13, 2011 5:29 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby zxcfrtyuiop » Sun Nov 29, 2015 9:32 am

EtPerMun wrote:
Revx_Z wrote:This is a really neat project. Do you have any expansions or other modules in mind?

Not really. If someone requests something, and I think it's a good addition, I'll add it, but otherwise it's just bugfixes.

zxcfrtyuiop wrote:I can't get this to work :( what program does it use?

Java. Note that this is the source code, though, not a compiled .jar, so you'd need to compile it first. It's a library, not a game :P


Ah ok, then how do i Compile it so that i can use it?
zxcfrtyuiop
Been posting for a bit
 
Posts: 40
Joined: Sun Nov 21, 2010 5:26 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby EtPerMun » Sun Nov 29, 2015 10:15 am

zxcfrtyuiop wrote:Ah ok, then how do i Compile it so that i can use it?

Do you want to develop using it, or do you want to see the demo? For the former, you obviously shouldn't compile it, but copy the classes into your IDE, and write a program using them. For the latter, you should probably also use an IDE, no clue how to compile Java by hand (javac in the command line, I think?).
EtPerMun
Participator
 
Posts: 228
Joined: Tue Sep 13, 2011 5:29 am

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby Revx_Z » Sun Nov 29, 2015 12:50 pm

EtPerMun wrote:
Revx_Z wrote:This is a really neat project. Do you have any expansions or other modules in mind?

Not really. If someone requests something, and I think it's a good addition, I'll add it, but otherwise it's just bugfixes.

That's kind of you.
User avatar
Revx_Z
Intermediate Vorarephile
 
Posts: 448
Joined: Sat Sep 29, 2007 11:00 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby zxcfrtyuiop » Sun Nov 29, 2015 4:14 pm

EtPerMun wrote:
zxcfrtyuiop wrote:Ah ok, then how do i Compile it so that i can use it?

Do you want to develop using it, or do you want to see the demo? For the former, you obviously shouldn't compile it, but copy the classes into your IDE, and write a program using them. For the latter, you should probably also use an IDE, no clue how to compile Java by hand (javac in the command line, I think?).


I was thinking about looking at it's demo but i don't know how to use IDE.
zxcfrtyuiop
Been posting for a bit
 
Posts: 40
Joined: Sun Nov 21, 2010 5:26 pm

Re: A simple GUI (Java) for CoC-like games (v1.0, 2015-11-21

Postby RediQ » Tue Dec 01, 2015 12:23 am

I feel like an easy to use CoC-style framework has been needed for ages now, considering that CoC itself will seemingly forever be almost impossible to mod. Awesome work.

I can hardly find the time to work on my current game, so I doubt I'll get into developing in this, but best of luck to anyone who does and looking forward to any results.
User avatar
RediQ
Participator
 
Posts: 184
Joined: Fri Aug 13, 2010 1:11 am


Return to Vore game

Who is online

Users browsing this forum: 1lrmf, Anonymous0845329, astrikur, bigbadboy47, Blah20200, bombe6, Borfus, DevS098, Dolsilyol, dragonlover4, FuniGuy1234, G2PLAY, Galleeg, GoliathBastet, Google [Bot], hgst1, iamloser, idc2022, InuyashalovesKagome, jconner1, Jemli, JollyIm, JustBrowsing69, kman1, Lybearion, maslina666, mindful, nico240, NovaDragn, OddHaberdasher, Okami330, PikiPics, Primulon, reisntall86, SampledText, Shadowlyger, SquishySofty, stampynightninja, sulfhydrylbystrite, thatguy123456781, TheGuyWithTheBelly, vintious, vore40, Wanderer, wonderfulname, worms2000