Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (679)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (734)
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  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?
2  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)
3  Game Development / Newbie & Debugging Questions / Re: String.split() Issue on: 2014-06-13 13:57:49
String[] part = line.split("\\|");
4  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.
5  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!
6  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?
7  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
8  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!)
9  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..
10  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!
11  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.
12  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
13  Game Development / Newbie & Debugging Questions / Re: for loop on: 2012-07-17 11:11:42
infinite loop Huh
14  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).
15  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!!
16  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!)..
17  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).
18  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?
19  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.
20  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.
21  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!
22  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!
23  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)
24  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.
25  Games Center / 4K Game Competition - 2012 / Re: ChangeMan 4k on: 2011-12-04 23:09:20
Great! Its reassuring to know it works on some Windows 7 machines at least.  Tongue

Link updated.  My website version now contains a few sound effects created with sfxr.  4K version now here:-
26  Games Center / 4K Game Competition - 2012 / Re: ChangeMan 4k on: 2011-12-04 15:22:34
It seems like the interval between when the pills appear can be very long, which means a long time just sitting, waiting for it to appear.  Perhaps a bit of logic to change the rate of pills appearing based on the number of active red pills?
Yeah good point. I have increased the rate of objects appearing by ~30%.  As a result you get monsters quicker but am now giving an extra life every 4 levels to compensate

Can't load the game, just blank black box. I just tried several 4k games before and no prob. Win7 FF7 Java7u1.
Thanks for letting me know.  This is very strange.  I have yet to obfuscate/pack2000 so I would expect this game to work ahead of any other entry (and compiled using 1.6 same as other entries).  I have added 5 System outs to the console (displayed during applet init, creating graphics, creating new game).  If you/anyone with similar problems could be kind enough to post the console output would be appreciated. At least then I can know if its a Win7 or my issue. 
27  Games Center / 4K Game Competition - 2012 / Re: Jump4KFreedom on: 2011-12-04 00:14:22
I just tried this several times and probably lasted an averge of 2 seconds each go.. Either am doing something wrong or way too hard!!
Other than that looks like a lot of potential for a fun game!
28  Games Center / 4K Game Competition - 2012 / ChangeMan 4k on: 2011-12-04 00:07:12
After complaining about the amount of remakes it's only fitting that my first entry is erm... a remake  persecutioncomplex

Haven't seen or played this game in 20+ years but this is how I remember it! 4K Version  Full Version (With Sound Effects)

Cursor keys to move.   Collect the red pills, move through the cyan circles and fill all 9 of 'em red to complete each level.  Up to level 8 inceasing difficulty and same difficulty thereafter.  Monsters kill you and blank circles just remove any pills changeman had eaten but not used, otherwise harmless.

A few little issues to fix still but should be playable.  
29  Games Center / 4K Game Competition - 2012 / Re: Snake on a Plane on: 2011-12-03 20:43:34
Very nice. On a par with putty puzzle in terms of addictiveness!!

The only thing I didn't get (not sure if a bug) is on level 7, after going in the red transporter and coming out of the blue transporter the snake can move along to the top left pellet without falling due to gravity.
30  Games Center / 4K Game Competition - 2012 / Re: Idea dump thread on: 2011-12-02 08:10:46
SteveyO: Sounds cool though. I'm tempted...
It's all yours good luck  Wink

well i must admit i always wanted to do an "incredible machine 4k" but i only have time for one entry a year it seems and this idea never becomes number one.
This looks pretty cool, never seen this one before.  Actually a few days ago I started on something similar, i.e. A game where you place objects to alter the path of your main character.  Not sure I can pull off the physics so may not get round to finishing this one.
Pages: [1] 2 3 ... 11
DarkCart (16 views)
2016-05-29 02:30:33

Hydroque (34 views)
2016-05-26 14:45:46

Mac70 (45 views)
2016-05-24 21:16:33

theagentd (49 views)
2016-05-14 18:38:35

theagentd (84 views)
2016-05-10 22:37:41

theagentd (89 views)
2016-05-10 22:33:46

IanParcs (117 views)
2016-04-18 14:18:53

KaiHH (114 views)
2016-04-18 08:35:41

KaiHH (135 views)
2016-04-15 12:43:58

theagentd (141 views)
2016-04-14 02:16:17
FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50 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!