Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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: String.split() Issue on: 2014-06-13 13:57:49
1  
String[] part = line.split("\\|");
2  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 http://code.google.com/p/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.
3  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!
4  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?
5  Discussions / General Discussions / Re: Will you betray, Eclipse users? on: 2013-05-18 17:08:56
Quote
I have no idea what you are talking about, please enlighten me

http://developer.android.com/sdk/installing/studio.html
6  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!)
7  Discussions / Miscellaneous Topics / Re: Age is just a number.... on: 2012-11-13 10:45:33
Quote
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..
8  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!
9  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.
10  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

https://play.google.com/store/apps/details?id=com.bullsquared.alggame
11  Game Development / Newbie & Debugging Questions / Re: for loop on: 2012-07-17 11:11:42
infinite loop Huh
12  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).
13  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!!
14  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: https://play.google.com/store/apps/details?id=com.bullsquared.alggame

Tested on 5 different android devices and seems to work   Undecided

Steve
Edit - Forgot to mention. Made with libgdx (of course!)..
15  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).
16  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?
17  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.
18  Games Center / 4K Game Competition - 2012 / Re: ChangeMan 4k on: 2011-12-22 00:02:34
Quote
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.

http://www.handheldmuseum.com/Bandai/ChangeMan.htm
19  Games Center / 4K Game Competition - 2012 / Re: ChangeMan 4k on: 2011-12-21 11:46:16
Quote
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!
20  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!
21  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 T.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
22  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.
23  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:-
http://www.bullsquared.com/gameChangeMan4K.html
24  Games Center / 4K Game Competition - 2012 / Re: ChangeMan 4k on: 2011-12-04 15:22:34
Quote
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

Quote
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. 
25  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!
26  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!



http://www.bullsquared.com/gameChangeMan4K.html 4K Version
http://www.bullsquared.com/gameChangeMan.html  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.  
27  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.
28  Games Center / 4K Game Competition - 2012 / Re: Idea dump thread on: 2011-12-02 08:10:46
Quote
SteveyO: Sounds cool though. I'm tempted...
It's all yours good luck  Wink

Quote
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.
29  Games Center / LWJGL16k - 2011 / Re: We have a website! on: 2011-12-02 08:07:11
As mentioned looks promising but needs a little work.  I first opened on my HTC Desire and the main content bit was a little thin strip running down the page. i.e. You may want to look at the CSS for mobile devices (for us types that do our browsing on the train/bus on way to work).
30  Games Center / 4K Game Competition - 2012 / Re: Idea dump thread on: 2011-12-01 13:12:22
A few nights ago had a linerider type idea.  You start off in the top left, player has list of tools to choose from (line drawer, eraser etc.) and has to draw lines to make your little main character reach his goal (with similar phyiscs to linerider).  When finished drawing player clicks a little button to set off your little dude.  Multiple levels with different obstacles on each to make it challenging.  I decided on somet a bit easier :-)
Pages: [1] 2 3 ... 11
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (28 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (74 views)
2014-09-10 06:39:09

Tekkerue (38 views)
2014-09-09 02:24:56

mitcheeb (57 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (28 views)
2014-09-07 01:12:14

Longarmx (34 views)
2014-09-07 01:11:22

Longarmx (34 views)
2014-09-07 01:10:19

mitcheeb (40 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!