Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 11
1  Game Development / Newbie & Debugging Questions / Re: Issues with Box2d on: 2016-09-09 11:13:19
Box2d is excellent, have used it myself for quite a few games, but IMHO it's a bit overkill for a breakout game.  Personally I would completely remove Box2d and handle all your collisions and game logic yourself, so in your Brick Class I would use Libgdx Rectangles for handling the bounds.   This will give you greater control, for example for setting different ball angles depending on which bit of the paddle was hit etc.  Last year I created a basic but working breakout game in a few hours in libgdx, god knows how long it would have taken with Box2d.
2  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Image Processing Program - Dayflower Image on: 2016-08-26 08:13:53
I agree on finding a different download site,  I tried to download it but got 'this file contains Malware' warnings so I didn't.  Did you write your own filters or use the ones from JH Labs?  Am always on the looking for any cool Java 2D filters, so wanted to check this out.
3  Java Game APIs & Engines / Java 2D / Re: Better way to create Tiles on: 2016-08-05 15:30:09
I have tried LibGDX and there are no tutorials, no instructions, or anything that show you how to use it. The best I could do was install it.
I seriously recommend you give it another go, you won't regret it.  It can be a bit tricky to set-up for beginners, but once you overcome this hurdle its worth it.  The second link that TheMeanMan posted shows how easy it is to render a tilemap using LibGdx.  There are plenty of YouTube tutorials, Wiki pages, online tutorials to get started.
4  Java Game APIs & Engines / Java 2D / Re: Better way to create Tiles on: 2016-08-05 07:54:36
Any reason you are not using Libgdx  It's all done for you. You can identify different tile types using properties, or even by using different layers.
5  Games Center / WIP games, tools & toy projects / Grafixator - 2D Game Editor and Random Graphics Generator on: 2016-07-18 14:18:01
Coming soon: Grafixator.  Grafixator is a 2D Tiled, Graphics and games editor which generates Random Graphics Generator.

It allows you to randomly generate your graphics and quickly create and play a 2D game.  It has Box2D, Box2D Lights, Universal Tween Engine, Particle Effects, Tile Filters integrated as well as many other features.  Free Grafixator API ( allows you to load, and render your game/sprites with a few lines of code.

Check out the YouTube Introduction video to see what Grafixator can do:
<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

See the website for the full list of features.

Scheduled for release later this year. Follow us on Twitter or Facebook!   Stay tuned!


6  Games Center / Showcase / Slide A Mate - Chess Puzzle Slider on: 2016-07-18 13:59:42

Any chess lovers out there may be interested in my new game.  It is a mixture of chess and traditional puzzle sliders.
White pieces move horizontally and vertically but when they land the normal rules of chess apply.  There are a series of puzzles in which you have to check mate the black king.

YouTube tutorial video:
<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

Google Play Link:

Libgdx Executable Jar Link:
7  Games Center / Contests / Re: End of 4K. Thanks all! on: 2014-12-04 19:07:07
Yup RIP Java4k it was fun for a long while.   This thread seems to have revived the interest in java4k so much that the website is now down (CPU Limit Reached).

With regards to the games that don't work, I seem to recall this was mostly due to pack200.  Can you (i.e. appel) not write a script to unpack all the games, and modify the html src accordingly?  I would assume all the packed .jars are sitting on a file system somewhere, so should be doable?
8  Game Development / Game Mechanics / Re: libgdx How to replace a tile in a tilemap? on: 2014-09-25 19:56:10
Additionally, if you want to remove a tile, you can just set it to null.  On your TiledMapTileLayer use  .setCell(x, y, null)
9  Game Development / Newbie & Debugging Questions / Re: String.split() Issue on: 2014-06-13 13:57:49
String[] part = line.split("\\|");
10  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-11-24 11:23:03
Am with Appel here. Java applets are deader than an extinct deceased dodo.  Time to move on, time for Android!!!:-

My proposal is as follows:-
* Java4K is changed to an Android only contest.
* Same 4K limit applies,  you can write your game/logic using an Android SurfaceView/Canvas or equivalent.
* Obviously we have the Android set-up bloat.  A game .apk would probably be around 250-300K.  This is where dex2jar comes in.  This is handy little tool, which will convert your .apk to a .jar file. The resultant .jar file can be checked to see if the custom code is under 4K (maybe a script on the java4k website when the dev submits their apk).
* Games (.apk) can still be hosted on Java4k (disk space permitting, appel?), no need to submit to Google Play.  Just a little message on the website instructing the ppl to change their Android settings to allow installation of games from Non-Market sources.

The rules would obviously disallow images in resources, running external Intents etc.  A few things would need to be ironed out, for example whether to allow 1 SurfaceView XML layout etc.  Only the start-up Icon would be allowed.

I just tried this now.  I created a little program to move a circle around my phone.  My main activity had 100+ lines of code and uncompressed (after dex2jar) .class file was 3k.  (The resultant .jar file also had 10 other R**.class files,  I guess we can ignore these).

My 2cents.
11  Discussions / Miscellaneous Topics / Re: Ouya: So ... what happened? on: 2013-07-26 17:54:18
Personally I love it!  I ordered mine online a couple of weeks ago and arrived 4 days later.
Spent the first couple of days playing the old SNES classic from 20 years ago. Nice trip down memory lane.

Setting it up for deployment was pretty painless (apart from the usual adb-driver issues , which are always a pain).
Have been messing around with libgdx (with gdx-controllers) and got it all working pretty easily (my TV/ouya are now strategically placed in my geeky man cave next to my PC).
All in all, yeah!! Am suprised more ppl here aren't talking about it too. For the first time ever I can write/deploy games for a Console which is fantastic.  Folks seem more interested
in Java on PS4 for some reason.  I write games for a hobby so all the poor sales talk doesn't bother me in the slightest!
12  Games Center / Showcase / Re: Nebulinc Demo on: 2013-06-17 21:43:54
Yeah! Nice UI and nice game, chilled music etc.. Liked it.  As others have said +1 for Automatic fire.  Not sure I liked the little status bar on the enemy ships though, didnt seem natural (being a shootem up fan!).  Other than that no comments.  Are you planning an OUYA version?  This is the type of game would love to play on a console.  Also any tips on how you programmed the attack waves?
13  Discussions / General Discussions / Re: Will you betray, Eclipse users? on: 2013-05-18 17:08:56
I have no idea what you are talking about, please enlighten me
14  Discussions / General Discussions / Re: Coding Standards on: 2013-01-23 22:09:25
Check out PMD and FindBugs .   Integrates pretty easily in eclipse and will point out many obvious types of errors in your code. (Oh, and Checkstyle too!)
15  Discussions / Miscellaneous Topics / Re: Age is just a number.... on: 2012-11-13 10:45:33
Ah, the good memories of the Acorn Electron!  Think I've still got one in the loft somewhere, though it died long ago.

Same here,  mine is stored in my parents loft in the UK, and still works strangely enough.
Programming was great, although was always fustrated as the BBC B was so much better
(mode 1 with 4 colours was fast, and Repton was full screen with excellent sound + other games better).

Suprisingly, I still remember most of the BASIC commands so definitely related to how interesting it was..
16  Games Center / 4K Game Competition - 2013 / Re: Java4K 2013! on: 2012-11-12 20:19:23
+1 for no external libraries.  The current competition format is fine, so why change it!
17  Discussions / Miscellaneous Topics / Re: Age is just a number.... on: 2012-11-12 20:13:45
Turned 40 this year, uurgghh.. Not the oldest here tho it seems  Wink + still feel young  Cheesy

I started writing games around 25 years ago on the Acorn Electron (using BASIC), in the days of saving your code to audio cassette, taking care to set the volume level of the tape recorder to around 70% (otherwise, it wouldnt save properly, losing all your hard hours work).  What fun.   You all have it so easy these days.  Have made around 20+ games since then and so far, total earnings due to game development still stands at a big fat: $0.0   Sad    I'll graciously give up one day.

Still get the same buzz writing code as I did all those years ago.
18  Discussions / General Discussions / Re: Android games by members of our community on: 2012-09-03 21:21:14
If you like puzzle games you can check out my one and only Android effort.

I did everything pretty much myself (coding, levels, music, graphics using  libgdx, tiled, fl studio, gimp etc) and so far proved to be a massive flop, although I have 2-3 hard-core fans out of the millions of android users out there  so all was not in vain. Cry
19  Game Development / Newbie & Debugging Questions / Re: for loop on: 2012-07-17 11:11:42
infinite loop Huh
20  Game Development / Newbie & Debugging Questions / Re: FileWriter does not write. on: 2012-07-17 11:09:55
Just tried it here and it works fine.  The file is written for me (provided your passed line string does actually contain a "[[", otherwise its empty).
21  Discussions / General Discussions / Re: Ouya - Oh yeah? on: 2012-07-13 21:40:02
Yeah.. I read this article this morning and it kinda put a damper on things..  Until I see the ooo-yah unwrapped and in my living room I will try and refrain from dreaming!!
22  Games Center / Android Showcase / Annoying Little Gits - Lite on: 2012-06-17 13:46:19
After years of Java Appleting, thought I would give this android thing a bash:-

First attempt is: Annoying Little Gits (Lite)
A block/platform sliding puzzle game. 40 free levels of git killing, featuring: git squashers, bombs, platforms, many little gits and irritating music.

Google Play:

Tested on 5 different android devices and seems to work   Undecided

Edit - Forgot to mention. Made with libgdx (of course!)..
23  Discussions / General Discussions / Re: Inquiry: JGO on android / iphone browsers on: 2012-05-03 21:19:33
Yeah.  I was talking about the boards mainly (i.e. the home page, topics are fine as you say!).
Just tried on my mobile and loads better now thanks.
I still see the showcase on my Android tablet though.  A quick google suggests the UserAgent may be "Mobile Safari" for tablets, or similar.  I can confirm tomorrow by checking my google analytics account.  Although saying that, not a big deal as text is ok on tablet (I just find the showcase annoying).
24  Discussions / General Discussions / Re: Inquiry: JGO on android / iphone browsers on: 2012-05-03 19:02:55
I used to frequently browse JGO from my Android phone and tablet without any problems,  that until the ´bloody annoying´ game ads were introduced in the right hand side column.  Now have to zoom in just to be able to read the text.  As a result I don´t tend to visit this forum anymore.  They used to disappear when you log in, what happened?  Can you not just remove them in the css for mobile devices?
25  Discussions / General Discussions / Re: Important message which resulted in a ban on: 2012-01-05 10:51:51
lhkbob sums it up pretty accurately imo.
Yeah, and I heard the message too, luckily my kid was not present at the time.  No criticism should be directed at Riven, if anything he is being generous only dishing out 60 days.
26  Games Center / 4K Game Competition - 2012 / Re: ChangeMan 4k on: 2011-12-22 00:02:34
Only 3.2 Ko for this game ! Too bad you hadn't enough time to add more elements to it.
Yeah.. Unfortunately I didn´t know until late last night how much space I had left.. With Rivens Compile n Shrink not working, I plowed though the Indiespot compression thread where your/Simons tips helped (and pjt33´s server).  Have since lost interest on the game (I hate optimization/compression + was a distraction) and now back to my main Android game and everyday life..

The game was inspired (i.e. copied) from the Japanese handheld game of the same name (which I was given as child).  I haven´t been able to find any instructions or flash versions, so all based on memory and a few images I found on google. e.g.
27  Games Center / 4K Game Competition - 2012 / Re: ChangeMan 4k on: 2011-12-21 11:46:16
Okay it's worked
Thanks for re-trying, it was probably the usual Java2D Applet issue that intermittently gives a white screen, happens to me once in a while.

Uploaded to Java4K. Couple of fixes.  Monsters are always rendered after circles (to avoid nasty suprises) and changeman only moves 1 square when going through the yellow lines.

Thanks to steps provided by StephR, SimonH and tools by pjt33 managed to get the sodding thing down to 3.2k. No time however for extra features n fancy stuff. Enjoy!
28  Games Center / 4K Game Competition - 2012 / Re: TarCraft on: 2011-12-19 11:55:32
Yep pretty old config, but every other 4k game have played the past few years has worked on my still reliable Dell laptop!
29  Games Center / 4K Game Competition - 2012 / Re: TarCraft on: 2011-12-13 21:00:56
Screenshot looks good but doesn't work here am afraid. Firefox 3, Java6, Win2000

Start new Level:1
Exception in thread "Thread-9" java.lang.OutOfMemoryError: Java heap space
   at java.awt.image.DataBufferInt.<init>(Unknown Source)
   at java.awt.image.Raster.createPackedRaster(Unknown Source)
   at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
   at java.awt.image.BufferedImage.<init>(Unknown Source)
   at Source)
   at Source)
30  Game Development / Newbie & Debugging Questions / Re: List directories inside applet on: 2011-12-07 11:40:04
jar tf myjar.jar or simply open in WinZip.
Pages: [1] 2 3 ... 11
EgonOlsen (38 views)
2018-06-10 19:43:48

EgonOlsen (20 views)
2018-06-10 19:43:44

EgonOlsen (40 views)
2018-06-10 19:43:20

DesertCoockie (186 views)
2018-05-13 18:23:11

nelsongames (122 views)
2018-04-24 18:15:36

nelsongames (121 views)
2018-04-24 18:14:32

ivj94 (861 views)
2018-03-24 14:47:39

ivj94 (122 views)
2018-03-24 14:46:31

ivj94 (758 views)
2018-03-24 14:43:53

Solater (139 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!