Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (756)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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]
1  Game Development / Newbie & Debugging Questions / Re: Sprite Sheet Instruction Needed on: 2015-01-11 21:20:10
I'm not sure what the slick SpriteSheet code is doing as I'm unfamiliar with the engine, but I am assuming that your entire spritesheet mage is being loaded into one texture object. Please correct me if this is wrong.

If I'm right, then the problem is with your texture coordinates ( GL11.glTexCoord2f(?,? ) ).  Since 0.0f is the left side of the image and 1.0f is the right, you need to know the bounding coordinates of the sprite sub texture you intend to use, and divide those by the width /height of the spritesheet image.


        GL11.glTexCoord2f(0.0f, 0.0f);
        GL11.glTexCoord2f(1.0f, 0.0f);
        GL11.glTexCoord2f(1.0f, 1.0f);
        GL11.glTexCoord2f(0.0f, 1.0f);


        GL11.glTexCoord2f(sprite_left/sheet_width, sprite_top/sheet_height);
        GL11.glTexCoord2f(sprite_right/sheet_width, sprite_bottom/sheet_height);
        GL11.glTexCoord2f(sprite_left/sheet_width, sprite_bottom/sheet_height);

And similarly modified for the rest of your draw statements
2  Games Center / Showcase / Re: IndyRush on: 2015-01-01 13:57:48
Indeed. Have upset quite a few people with this already. As you can imagine universal acclaim was never on the cards to begin with  Smiley Slainte Mhath.
3  Game Development / Game Play & Game Design / Re: Old 3d graphics on: 2014-12-24 20:03:07
Jester, which project is that, and is it downloadable/playable?
4  Game Development / Game Play & Game Design / Re: Old 3d graphics on: 2014-12-24 20:00:42
The original PS1 Silent Hill is one of those games that gains a lot from its crappy graphics. It's a bit like looking at an old pinhole photograph in that it becomes a bit abstract in places and your imagination takes over and fills in the gaps. I believe the imagination is more powerful than anything, so I actually get your point.

That, and the way it uses fog /darkness to keep the draw distance down really made it terrifying IMO.  Playing it on an emulator with smooth shading and filtering etc actually removes something!
5  Java Game APIs & Engines / Java 2D / Re: Strange stuttering on moving objects on: 2014-12-24 13:40:01
+1, A game library will certainly get your game ideas up and running quickly.

However the experience and knowledge gained from building your own game core / game loop is priceless, and if you subsequently go with a game/graphics library you will understand it so much more quickly and clearly, allowing you to get much more benefit from it.
6  Discussions / Miscellaneous Topics / Re: Sinclair on: 2014-12-24 13:34:54
I had a 48 and 128 and grew up learning to code on them. I'm happy people are excited about it, but personally not sure I get it.  I'm suspicious of the whole repackaging of retro stuff at the moment.  Almost every platform can emulate the spectrum perfectly, and if you want the real experience of fipping the tape to side B and waiting another 15 mins, a real spectrum is not expensive to buy on eBay.

I hear of the same plan to repackage an Amiga 500, personally I find Amiga emulation to be a much easier experience than owning a real one! No more disk errors and 'please insert disk 12' in the middle of a game!

But then, at the end of the day I suppose if you can, then 'why not'.
7  Discussions / Miscellaneous Topics / Re: Tips on Streaming Game Development (on Twitch) on: 2014-12-24 13:22:32
There's always someone who can post pictures of their toenail clippings and have the internet hang on their every move, while there's millions of people who are producing mind bendingly wonderful stuff and don't have a single follower.  That's just The Internet.  It's best not to worry about it.

Focus on your own motivations and goals. What motivates you to want to stream, and why does your follower count bother you?
8  Games Center / Showcase / Re: IndyRush on: 2014-12-22 13:19:35
Peace and love. For this simple project I'm making no money, and I have included no ads, so I take no offence.

I am however looking for ways to improve, so some feedback and perhaps a rating on the play store (if possible) would be payment enough.
9  Games Center / Showcase / Re: IndyRush on: 2014-12-21 12:18:45
Sorry, I was sure I added this!  Now edited.

And for good measure:
10  Games Center / Showcase / Re: IndyRush on: 2014-12-20 21:35:37
Download now available

11  Games Center / Showcase / IndyRush on: 2014-12-19 22:26:43
I've just published Indyrush to the play store.  It's a satirical /humorous look back at the Scottish Independence refererendum in September 2014 (please guys no politics discussions though!).  You have to guide Alex "Eck"  Salmond through the streets converting the public to vote for independence.  

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

Game screens

Along the way you can take selfies with the babes to increase your support

Or get into egg duels with rival politicians

Drinking 'ginger' helps you get round the streets in time

But the pesky PBC are running a smear campaign, turning everyone against you

Nothing like a bit of sabotage to stop them in their tracks

12  Games Center / Contests / Re: Java4K Competition 2015 on: 2014-12-19 21:37:52
Well, having participated in the 2013 contest (B4llBasher), but having moved on to other things for a while, I was seriously disappointed to see that Java4k wasn't running this year.  I was actually looking forward to it since about July and was deliberately not visiting JGO as I felt seeing all the WIP threads come December would have been a real treat to look forward to.

What a shock to finally visit the Java 4K site and see it cancelled!

If you guys do decide to run this year, count me in.  I'm also really excited about the 8k and 16k possibilities. It's small enough to have to work hard, yet large enough to have that work really pay off in a finished product.  My only fear is there wouldn't be enough participation to spread over 4, 8 and 16k categories.

Oh, and:

Wouldn't it be possible to have it so that the source is submitted but the whole thing is limited by the size of the .class file.  That way you get to keep the file size limit roughly similar, and everyone gets to see the source.  I mean another idea maybe would be to have the source submittable as a ZIP file so that you still keep some compression in there and when it's submitted at the end, the website could automatically run a zip on the submitted class file and sort everything out so that everyone is working to the same compression too.

This approach gets my vote.  I found the compression part of the contest the least interesting, as it was more about predicting/knowing what would compress well,rather than writing ingeniously efficient/tiny code. 

13  Games Center / 4K Game Competition - 2013 / Re: B4llBasher - Zuma style game on: 2012-12-19 16:45:12
Anyone else have performance issues?  I'd really love some feedback, negative or positive..  Right now I'm assuming my game totally sucks for gameplay and burns everyones machines to the grounds!
14  Games Center / 4K Game Competition - 2013 / Re: B4llBasher - Zuma style game on: 2012-12-16 22:10:03
I love this game...remember playing this for 13 hours on the plane ride to Taiwan.
Good to see that the b4lls are lighted and not just purely g.fillOval().

Thanks! Zuma also soaked up large amounts of my life on long train journeys Tongue

I did have nicer looking balls but ran out of bytes  (not something to say to females  persecutioncomplex)

15  Games Center / 4K Game Competition - 2013 / Re: F4R KRY on: 2012-12-16 22:05:06
Awesome game.  Love the scenery and gfx.  Wished there was a little bit more ammo but I'm getting there slowly..
16  Games Center / 4K Game Competition - 2013 / Re: Demolition Derby 4K on: 2012-12-16 22:01:58
This is great fun.  The tyre marks are a nice polished touch.

Maybe I just need more practice, but I think it would be great if the turning circle could get much tighter when you slow down?   

Also I had the same problem with being deadlocked into the grass by a slow moving car.

I had lots of fun bashing dead cars into the path of live cars Smiley.  So there is a bit of strategy involved.

Love the handbrake turns!
17  Games Center / 4K Game Competition - 2013 / Re: ApoImp4k on: 2012-12-16 21:51:35
I think this is my favourite one of your 2013 games so far but I'm sure I haven't played them all yet!

I like the christmas colour scheme and the puzzle mechanics.

Only a couple of ideas:

Playing the game using a laptop means right hand on touchpad and left hand on cursor keys, which is crossed over and awkward. WSAD would be easier in this case.

Also, when a new level starts, you have the cursor keys held down from the last level and so you keep moving. So I usually have to restart right away as I've put myself into a trap. A little 1 second delay would help.
18  Games Center / 4K Game Competition - 2013 / Re: B4llBasher - Zuma style game on: 2012-12-16 14:49:49
Thanks for playing.   I haven't been able to try it on many different configs, but I suspect the scanline-effect is slowing the game down too much for Java2D on certain machines.

I will make another version without it and see if it plays better.

Edit:  Ok, I uploaded a version with a cap on the deltatime - balls shouldn't jump through others regardless of how slow the system gets.  Also removed the scanline effect and it seems a lot smoother.
19  Games Center / 4K Game Competition - 2013 / B4llBasher - Zuma style game on: 2012-12-16 13:56:32
So, this is my first 4k attempt, and the second Java game I've produced;  B4llBasher

It's a Zuma's Revenge / Puzz Loop style game.  

I'd love feedback on how it plays, difficulty, smoothness etc.  

Play it here :  Ballbasher on J4k

The idea is simple, clear the balls before they go down the hole at the end.  Three or more of the same colour will explode.  Like colours attract. Chain reactions multiply your score.  Powerups can rewind or destroy balls.  

There are 15 levels, and your progress is saved every 5.

20  Games Center / 4K Game Competition - 2013 / Re: ApoBeam4k on: 2012-12-05 13:41:35
Clever and addictive, really like it!
21  Games Center / 4K Game Competition - 2013 / Re: More than one game entry per user to j4k? on: 2012-11-28 10:45:11
Suppose I can now fire up the TARDIS and finish the other 83 ideas I have before December.
22  Discussions / Miscellaneous Topics / Re: What music do you listen to while you code? on: 2012-11-28 09:39:31
Normally I listen to metal such as Fear Factory and Strapping Young Lad, but when coding I just can't stand it, it's like being constantly reminded I should be out drinking and headbanging

While coding my 4k entry I've been listening to an album by Wardruna called Runaljod - Gap Var Ginnunga.  It's like living on a viking longship, all horns, shouts and throaty noises.  And I can't understand a word of it. The sound of lone horns drifting on the wind gets my hackles up.

Sound quality is a bit poor on this one, but the woman's voice is incredible (and she is rather hot)

23  Games Center / 4K Game Competition - 2013 / More than one game entry per user to j4k? on: 2012-11-24 10:34:26
Subject says it all I suppose, I didn't find this on the site rules.  Can one registered user post more than one game entry to java 4k?

24  Game Development / Newbie & Debugging Questions / Unexpected mouse behaviour in Appletviewer on: 2012-11-15 13:42:28
Ok, so I'm attempting a game for the 4k, but having a bit of a strange bug reading the mouse co-ords. 

At the moment I'm just drawing a sprite at the mouse coords and noticing that in Appletviewer the location is way off, by as much as 200-300 pixels. It's not constant either, as if I move or resize the window, the offset changes.

It works as expected when viewing in a browser.. the sprite sits nicely under the mouse pointer.

Like many of the 4k games I'm just overriding handleEvent and getting the mousex,mousey that way

 public boolean handleEvent(Event e) 
        switch (
          ...keyboard and other stuff here...

            case Event.MOUSE_MOVE:
            case Event.MOUSE_DRAG:
                mousex = e.x;
                mousey = e.y;
        return false;

I also noticed that quite a few of the 4k games which use mouse control also are way off when opened using AppletViewer.

This is annoying mainly because it's quicker to fire up AppletViewer when debugging than to open a browser and wait for the JRE plugin to init.
Should I be modifying mousex and mousey to take anything else into account (like window position)?


25  Games Center / 4K Game Competition - 2013 / Re: Rogue 4k on: 2012-11-15 13:07:38
Hmm, I just got a white screen and an AOOBE Sad

Edit :  I reloaded the applet 4 or 5 times and it worked.. something with the random level generation?  Anyway, it looks good Smiley I look forward to a more balanced version.
26  Discussions / Miscellaneous Topics / Re: Age is just a number.... on: 2012-11-14 16:31:16
Hello, first post here.  I'm glad to see I'm not the only one in their thirties! (I just turned 30).  I can relate to the OP since I work in a school, and the other day a 13 year old asked me to help him out with his 3D GTA clone.  Kind of gave me a shock..

On the subject of BASIC, I started when I was 7 years old on the Spectrum 48k, writing text adventures and at one point I even attempted to make Desert Strike using redrawn font characters and loud beeps for explosions.. it wasn't particularly good.   

I really cut my teeth on the Amiga where I learned Amos and then C++, made a few little 2 player competitive games and an RTS. Amos was a great thing for getting people into coding, but it also gave birth to a lot of utter nonsense!

Learned Java at Uni and did a side scrolling shooter for my dissertation. Started working on a few OpenGL games when I left uni, but somehow the game coding interest just died away and I ended up spending my time getting experience of life itself. Got a job. Travelled. Climbed a lot of mountains, met girls, drank a lot of whisky. Then realised I was 30.

I ended up downloading an amiga emulator and playing some old games the other night.. which actually led me here since I fancied taking part in this year's 4K competition.  Wonder if it'll rekindle the flame?
Pages: [1]
DesertCoockie (52 views)
2018-05-13 18:23:11

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

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

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

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

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

Solater (102 views)
2018-03-17 05:04:08

nelsongames (184 views)
2018-03-05 17:56:34

Gornova (426 views)
2018-03-02 22:15:33

buddyBro (1086 views)
2018-02-28 16:59:18
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!