Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
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 ... 16
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-23 17:45:34
@SHC
I'd prefer this one:



However both are pretty cool!
2  Discussions / General Discussions / Re: Graphics cards and Macs on: 2014-11-23 16:29:19
Haha wow, I must've got it reversed when I was reading the tutorial. Thanks!
3  Discussions / General Discussions / Re: Graphics cards and Macs on: 2014-11-23 16:26:43
Sweet! That fixed it thanks! Now I'm getting this error from my fragment shader:

1  
2  
3  
4  
Unable to create fragment shdaer: 
ERROR: 0:3: Invalid use of layout 'location'
ERROR: 0:6: Use of undeclared identifier 'gl_Position'
ERROR: 0:6: Use of undeclared identifier 'vertex'


What could be the problem there?

Fragment Shader Code:
1  
2  
3  
4  
5  
6  
7  
#version 330 core

layout(location = 0) in vec2 vertex;

void main() {
   gl_Position = vec4(vertex, 0.0, 1.0);
}
4  Discussions / General Discussions / Graphics cards and Macs on: 2014-11-23 16:03:04
So I've been experimenting with LWJGL and I have finally got a bit of an understanding of that basics, and then bam! I get this error:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
Unable to create vertex shdaer: 
ERROR: 0:1: '' :  version '330' is not supported

Exception in thread "main" java.lang.IllegalStateException: Function is not supported
   at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
   at org.lwjgl.opengl.GL30.glBindVertexArray(GL30.java:1512)
   at com.pickens.game.Game.dispose(Game.java:136)
   at com.pickens.game.Game.end(Game.java:216)
   at com.pickens.util.ShaderProgram.attachVertexShader(ShaderProgram.java:43)
   at com.pickens.game.Game.init(Game.java:52)
   at com.pickens.game.Game.gameLoop(Game.java:89)
   at com.pickens.game.Game.<init>(Game.java:42)
   at com.pickens.game.Game.main(Game.java:222)


Ecumene said it meant that my Mac didn't have a good enough graphics card to run my program. Does that mean I need to get a new computer? Because my Mac is only a year old so you would figure it could handle everything you throw at it right? I even updated to the most recent version and still I get this error.

So is the problem my code? Or the computer?

(BTW I was following SHC's LWJGL tutorial)
5  Games Center / WIP games, tools & toy projects / Re: Zombie Nauts [0.5.0] on: 2014-11-23 15:59:07
@JacobPickens

I played the game, and sure enough I got my Zombie Nauts going, but I always died because I ran out of ammo, is that a bug or what? Glad you can keep working on this.

Ik, its a joke Grin

That joke was even more try hard than mine, that really, really, really scares me; I wonder how bad it is for everyone else since I can't even measure my own cringe. Also, dont derail his thread with your jokes next time.  Wink

Haha his jokes are just fine, no biggy.

And no that ammo thing is not a bug. You obviously aren't using your ammo sparingly enough because I've play tested through all of it quite alot. What wave do you keep running out of ammo on?
6  Game Development / Newbie & Debugging Questions / Re: Why does a triangle have 6 vertices? on: 2014-11-23 04:02:06
Wow, I feel a bit dumb now. Haha I've been programming all night perhaps it's time to take a nap. Tongue Thanks for letting me know. Haha
7  Games Center / WIP games, tools & toy projects / Re: Zombie Nauts [0.5.0] on: 2014-11-23 04:00:01
Hey, nice game! I got very addicted to it (Played for maybe 30 mins) Cheesy Question: How to you make the jar file so small in size? The jar file for my game is already over 9 megabytes.

The reason the jar is so small in my game is purely because I have the art separated from the jar. As you can see the res folder isn't inside of the jar so the jar doesn't have to hold all the images. Therefore it looks small however its just as big as yours would be if I added in the images if not bigger. BTW you can edit the images in my res folder and make texture packs! Cheesy Tongue
8  Game Development / Newbie & Debugging Questions / Re: Why does a triangle have 6 vertices? on: 2014-11-23 03:57:48
Which one would be the X,Y,Z coord? The first number or the second?
9  Game Development / Newbie & Debugging Questions / Why does a triangle have 6 vertices? on: 2014-11-23 03:52:59
I'm drawing learning a bit of LWJGL and I've made it up to the point where I draw a triangle with a FloatBuffer. The tutorial sets up the triangle's vertices like this:

1  
2  
3  
4  
5  
vertices.put(new float[] {
   +0.0f, +0.8f,    // Top Vertex
   +0.8f, -0.8f,    // Bottom-right vertex
   -0.8f, -0.8f     // Bottom-left vertex
});


If IRL math a triangle only has three vertices, why do they have 6 in LWJGL?
10  Discussions / General Discussions / Re: LWJGL or Unity, UDK, Cryengine on: 2014-11-23 01:49:45
perhaps I'll just learn LWJGL to make really pretty 2D games, and then when I feel confident I could swap to 3D.
11  Discussions / General Discussions / LWJGL or Unity, UDK, Cryengine on: 2014-11-23 01:24:27
So I want to begin with 3D soon to expand my horizons in game dev. I was wondering what would be more worth my time. Should I use a do everything engine like unity or dedicate myself to LWJGL for a few years to learn ultra awesome 3D skillz?

What would be the most beneficial to my career and sanity Tongue ?
12  Games Center / WIP games, tools & toy projects / Re: Zombie Nauts [0.5.0] on: 2014-11-23 01:03:15
The game is challenger, i like it Cheesy
You forgot to rename the window title version . It still say' "Zombie Nauts - 0.4.5"

Thanks I'll fix that right now!
13  Games Center / WIP games, tools & toy projects / Re: Zombie Nauts [0.5.0] on: 2014-11-23 00:11:27
Feedback is welcomed.
14  Games Center / WIP games, tools & toy projects / Re: Zombie Nauts [0.5.0] on: 2014-11-22 22:53:44
Zombie Nauts 0.5.0 Released!

Zombie Nauts 0.5.0 is now released! This version has long been in the making and now is completely finished! I can't wait for your guys to try it out and play it! I am officially naming this version Ovaryaction. (You will get it when you get there)

Features:
  • Added in 5 new waves! Adding up to 10 Waves!
  • Added in 1 new boss! (Not disclosing what type because I wan't it to be a suprise) Adding up to 2 bosses!
  • Added in 2 new zombies!
  • And finally I added in a basic respawn system where when you die you can respawn back to the last boss you killed or give up

So thats what I added! Try it out! (Sorry about all the exclamation points I'm a bit excited)

Download: Here! (All menus in game are temporary!)
15  Games Center / WIP games, tools & toy projects / Re: Zombie Nauts [0.4.5] on: 2014-11-22 20:29:59
WARNING! WARNING!
I've started work back on this game! I have almost completely added in 5 new waves and when I finish it I will be posting the version to the forum. I'll get back to all of you with the game in a few hours!
16  Games Center / WIP games, tools & toy projects / Re: Ninjas vs Zombie Pirates on: 2014-11-22 20:04:54
I've secretly been stalking this game and I got to say, It's progressed alot! I can't wait for a playable release!
17  Discussions / Miscellaneous Topics / Re: Remove all comments Eclipse shortcut on: 2014-11-21 02:39:37
That find and replace tool works magic! Thanks man!
18  Discussions / Miscellaneous Topics / Re: Remove all comments Eclipse shortcut on: 2014-11-21 02:38:14
Thanks! one more thing, the weird decompiler replaced my formatting from tabs to spaces, is there a quick fix for that too?
19  Discussions / Miscellaneous Topics / Re: Remove all comments Eclipse shortcut on: 2014-11-21 02:32:23
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
/* 1:  */ package com.pickens.arcade.controllers.score;
/* 2:  */
/* 3:  */ public class ScoreController
/* 4:  */ {
/* 5:  */   public static int score;
/* 6:  */  
/* 7:  */   public static void init()
/* 8:  */   {
/* 9:8 */     score = 0;
/* ::  */   }
/* ;:  */ }



/* Location:           Z:\Users\iBGEnt\Dropbox\Zombie Nauts\ZN 0.4.5 Mac 2\ZN 0.4.5.jar

 * Qualified Name:     com.pickens.arcade.controllers.score.ScoreController

 * JD-Core Version:    0.7.0.1

 */


this is one class. I have never used find and replace before.
20  Discussions / Miscellaneous Topics / Re: Remove all comments Eclipse shortcut on: 2014-11-21 02:29:26
What regex would I use? I've tried the ones on stakc overflow and it says no matches.
21  Discussions / Miscellaneous Topics / Remove all comments Eclipse shortcut on: 2014-11-21 02:22:00
I successfully decompiled my old game and have transferred code to eclipse but the decompiler must think he is funny because it has literally put a comment on every line. Is there a way to quickly remove all the comments from a source file or do I have to do this all manually?
22  Discussions / General Discussions / Jar Decompiler? on: 2014-11-20 23:18:06
I was looking through my past projects trying to find inspiration when I found one of my old projects. Its was discontinued and I really wanted to start it up again so I looked for the source, and to my surprise I had deleted it! I would recode everything but from the state the game was in at that time I would lose some priceless polish features and the amazing framework I remember building up for it.

So If anyone knows a Java decompiler where I can select a jar and decompile all the .class files in it I would love to hear about one. I had googled it before posting and for JD-GUI it sounded promising however it didn't launch on my mac so I looked for another and didn't find anymore that worked.

So I'd really appreciate it if one of you guys knows of one. Thanks!

~ Jake
23  Game Development / Newbie & Debugging Questions / Re: [Slick2D] Fullscreen cuts the top of the game off on: 2014-11-14 22:22:51
Ahhhhh okay. And then make all positioning in the game relative to the new screen size?
24  Game Development / Newbie & Debugging Questions / Re: [Slick2D] Fullscreen cuts the top of the game off on: 2014-11-14 22:20:24
I guess your right, So should I just keep it static with my screen size? What would happen if someone with a smaller screen played? would they be cut off?
25  Game Development / Newbie & Debugging Questions / [Slick2D] Fullscreen cuts the top of the game off on: 2014-11-14 22:00:51
In my game I'm using this to make it fullscreen:

1  
appgc.setDisplayMode(width, height, true);


Width and height are an accepted fullscreen size for slick2d, but If I use any size that isn't my exact screen size, It cuts off the top of my screen! Why is this? Why can't it just stretch?
26  Game Development / Newbie & Debugging Questions / Java Game to native HTML5 & JavaScript? on: 2014-11-12 22:34:07
I want to make a game for a website and I want it to be integrated into the website. I don't want it to have to load up like an applet or LibGDX's similar applet viewer thing. Is there a library or software that can convert a Java game to native HTML5 code or would I have to program it in JavaScript and the such?
27  Games Center / Showcase / Re: Rainbow Cat!!(Plz check it out) :D on: 2014-11-05 02:00:14
Very fun to play for a few minutes.

I feel though that the asteroids should move a bit faster and slowly increase the speed and spawn frequency, because gameplay gets a bit dull. This would also make the gameplay faster pace and add for a bit more of an experience IMO.

Also adding in stars that you can grab and get points from would be a nice touch so that you can have more of a goal than just dying. And from there you can add in currency and soon have power-ups and a shop where you can buy new cats and bam! You have one hell of a mobile game!

I really liked the music to be honest! Very fun to listen to!

EDIT:

Highscore: 1420!

Suggestion: Make it so that if a player sits in one place for too long a asteroid is spawned on its Y axis so I don't have to sit on the bottom of the screen to get a good score. Thats how I got that highscore, just chilling on the bottom of the screen. Tongue
28  Java Game APIs & Engines / Engines, Libraries and Tools / The most useful iOS/Mac spriting app around! on: 2014-10-25 23:01:26
I found this app a while back but never really got into it.

Today I felt a little graphically inspired so I bought a stylus and I was dead set on using this program. I busted it open and bam to my surprise, it had everything I could have ever asked for.

  • Layered Sprites
  • Fully-capable drawing tools (Though very basic)
  • Links directly to your dropbox
  • Onion skins for animation
  • TileMap editor and exports to .CSV files. (Little strange but if you made an engine to load them this could be really useful)
  • A timeline where you can draw frames, and watch your animation in real time! (Coolest feature right here!)
  • And much much more

This thing is honestly the greatest. And now I'm starting to sound like an advertisement but seriously guys check this app out. It's literally amazing.

Here's the link: http://terriblegames.com/spriteSomething/ (It costs a bit but trust me, its worth every penny)
29  Discussions / General Discussions / Re: How to make an experience, not a game. on: 2014-10-24 00:50:48
I'd say a good deal (the majority) of this resides in the art/sound/etc department. The aesthetics. Take Journey, for instance.

Alright then how do us as programmers use art & sound to our advantage to make an experience? Should the art be top notch, along with the sound? Is there a certain barrier? Perhaps having the player begin to lose consciousness of the outside world and focus completely on the game world could pass off as an experience? What do you think?
30  Discussions / General Discussions / How to make an experience, not a game. on: 2014-10-24 00:44:58
Just wanted to get a discussion going.

So how do we all make a game that conveys a message. Something that you play that doesn't exactly have to be in depth, but just makes you say, ''Oh, wow that meant something". Something that gives you a good feeling afterwards.

What do you think? What can us programmers do to make a game convey not just gameplay, but a message that may just stick with someone forever?
Pages: [1] 2 3 ... 16
 

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

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (29 views)
2014-11-22 12:13:56

xFryIx (71 views)
2014-11-13 12:34:49

digdugdiggy (50 views)
2014-11-12 21:11:50

digdugdiggy (44 views)
2014-11-12 21:10:15

digdugdiggy (38 views)
2014-11-12 21:09:33

kovacsa (62 views)
2014-11-07 19:57:14

TehJavaDev (67 views)
2014-11-03 22:04:50

BurntPizza (65 views)
2014-11-03 18:54:52

moogie (80 views)
2014-11-03 06:22:04

CopyableCougar4 (80 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!