Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (525)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
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 / General Discussions / Re: Programmer jokes on: 2014-11-27 05:55:05


Had this sitting on my hard drive. (Sorry forgot how to resize images. Undecided)
2  Games Center / WIP games, tools & toy projects / Re: Iron Rift - Economic RTS on: 2014-11-27 04:36:41
You know i have noticed a trend. When people enter the community and their first post is a game they have made and it's finished, we never seem to respond. This is a hella cool project in my opinion. I think it deserves a bit more responses.
3  Discussions / General Discussions / Re: How to stop self criticism on: 2014-11-27 04:33:18

click on the image for full resolution

May I just say, I love you...
4  Discussions / General Discussions / Re: PrepperCraft! - A free voxel game. on: 2014-11-27 00:02:06
Did anyone else sit there for a minute waiting for the image to load?
5  Discussions / General Discussions / Color in an ASCII game? on: 2014-11-26 23:10:47
Do you guys feel that color in an ASCII game adds or takes away from the appeal? And by color I of course mean text color and background color of individual characters.
6  Discussions / General Discussions / Re: How to stop self criticism on: 2014-11-26 03:43:53
Hope you don't mind but I'm gunna put that on a wall paper or something, that is one of the most inspiring quotes on jgo.
7  Discussions / General Discussions / How to stop self criticism on: 2014-11-26 03:39:14
Sometimes when it comes to my games succeeding it much depends on if I'm not beating myself up over it. I'm sure all programmers go through this. They tell themselves that their games aren't good enough and that they can never meet standards. How do you block this out and just focus on the game and task at hand?
8  Game Development / Newbie & Debugging Questions / Vertex Array problem on: 2014-11-23 22:13:41
I was following this tutorial: http://www.java-gaming.org/index.php?topic=24272.0

And he said to do this:

1  
2  
3  
glColorPointer(3, 3 << 2, cBuffer);
glVertexPointer(3, 3 << 2, vBuffer);
glDrawArrays(GL_TRIANGLES, 0, 3);


What do those bitwise operators mean and what does it do?
9  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!
10  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!
11  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);
}
12  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)
13  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?
14  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
15  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
16  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?
17  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?
18  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.
19  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 ?
20  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!
21  Games Center / WIP games, tools & toy projects / Re: Zombie Nauts [0.5.0] on: 2014-11-23 00:11:27
Feedback is welcomed.
22  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!)
23  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!
24  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!
25  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!
26  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?
27  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.
28  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.
29  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?
30  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
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.

toopeicgaming1999 (67 views)
2014-11-26 15:22:04

toopeicgaming1999 (58 views)
2014-11-26 15:20:36

toopeicgaming1999 (12 views)
2014-11-26 15:20:08

SHC (24 views)
2014-11-25 12:00:59

SHC (24 views)
2014-11-25 11:53:45

Norakomi (29 views)
2014-11-25 11:26:43

Gibbo3771 (24 views)
2014-11-24 19:59:16

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

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

digdugdiggy (53 views)
2014-11-12 21:11:50
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!