Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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 ... 10
1  Discussions / Miscellaneous Topics / Re: [Girls] How to completely block them from our lives? on: 2014-07-12 04:53:57
Feel free to post stuff like this to 4chan, just do whatever you have to do to keep it away from JGO.

Thank You,
- Jev

Aaand gone! I was trying to start a conversation... Yeah, I should have done more research. My apologies. Smiley
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-12 02:04:12
Learning to do some pixel art. Fail?


Kinda,

(http://longlivetheshamy.tumblr.com/post/70040859599/pixelfigures-the-big-bang-theory-8-bit-pixel)

It looks like you just changed the colors Undecided It does look good though. Smiley
3  Game Development / Newbie & Debugging Questions / Re: [GLSL] How to make a gradient shader for background? on: 2014-07-11 17:22:42
You can do it with your shader loading code. If it encounters a #include then it can search for the file stated by the include.

Ah, I see. I've been following 'TheBennyBox's' github and I've seen that #include, and I was wondering how it worked. Thanks!
4  Game Development / Newbie & Debugging Questions / Re: [GLSL] How to make a gradient shader for background? on: 2014-07-11 17:18:11
I don't want to start a new thread on this, because I've made too many in the last 2-3 days. But is there any way to use the #include in GLSL? It keeps telling me it doesn't support it.
5  Discussions / Miscellaneous Topics / Re: Minecraft: overwriting login database? on: 2014-07-11 17:11:04
It already happened. There are modified clients that make it possible to play in 'offline mode' with a choosable username. The dissappear from the internet often though, it might be because mojang tries to do a thing against them. :9

*cough* MinecraftSP *cough* I used to use one a long time ago. Back when I had no sense of what the game even was. Wink (Swear to god I thought it was a Roblox rip-off, I was 10)
6  Discussions / Miscellaneous Topics / Re: Minecraft: overwriting login database? on: 2014-07-11 16:46:49
Minecraft does not have much educational value in my opinion. There are better programs for anything that Minecraft has to offer educationally.

Well, as an interactive classroom, kinda. If the teacher is tech-savvy, maybe some kind of machine-simulation mods could be implemented. Even electrical engineering with redstone (Maybe, I'm not really sure on how electricity works, I'm still a newb here. Smiley )

There's just no way to trick the login server to think you have an account and play with premium features, such as skins. If there was a way, someone would have done it by now. Minecraft is an extremely popular game, with many kids playing it.


Nothings impossible, the game is easily modable. (Minecraft Coder Pack has a specially made decompiler Smiley )

Kids that don't have the money or parents credit cards to buy the game. They would absolutely love a way to play Minecraft for free, but its not gonna happen.

There is allot of ways to get around it, even offline mode can still connect to LAN (With some modification, I think, I haven't researched that yet). I think Longor means check a different URL for password/username verification. Which is very much possible, with some really good PHP/Java-EE (I think java EE, I seen minecraft's login page using something like that, maybe)

Also, I think this is relevant (https://account.mojang.com/documents/minecraft_eula)
7  Discussions / Miscellaneous Topics / Re: Minecraft: overwriting login database? on: 2014-07-11 16:29:16
Just buy the game.

I think he's already got an account, this may be useful for a school or something. Setting up 100+ mc accounts are hard, but making a login server for the Windows Login and Minecraft Login could be interesting. (Yes, I know Minecraft in school is kinda a cheesy concept, but don't act like you didn't think about its educational value Smiley )

Personally, I think it'd be cool. Figure it out, Longor!
8  Game Development / Newbie & Debugging Questions / Re: [GLSL] How to make a gradient shader for background? on: 2014-07-11 07:25:04
Second thought, I think trollwarrior1 was right. Smooth backgrounds could help with the art style. I've got to go, Its 3:31 am here. Thank you so much for the information on the 'floor' method though!
9  Game Development / Newbie & Debugging Questions / Re: [GLSL] How to make a gradient shader for background? on: 2014-07-11 07:02:42
looks like the /20 at the end is reducing the top color heaps, where as the bottom color has a *20 to negate it. (or maybe not? i need to get more sleep)

Thanks, I'm trying to wrap my head around this. How do I fix this issue?
10  Game Development / Newbie & Debugging Questions / Re: [GLSL] How to make a gradient shader for background? on: 2014-07-11 06:46:58
Its just a bit dark. Is there any way I could fix this?

You could umm... use lighter colors.

I should have added more information. I'm using kinda-bright colors, but the top color seems a bit darker than I declared it as.



(Do note that I changed the floor divisor and multiplicand)
1  
2  
3  
4  
5  
6  
void main(void)
{
   vec3 h_color_top = vec3(0.8, 1, 1);
   vec3 h_color_bottom = vec3(0.9, 1, 1);
   gl_FragColor = floor(vec4(h_color_top * (gl_FragCoord.y / iResolution.y), 1) + vec4(h_color_bottom * (1.4 - (gl_FragCoord.y / iResolution.y)), 1) * 20.0) / 20.0;
}
11  Game Development / Newbie & Debugging Questions / Re: [GLSL] How to make a gradient shader for background? on: 2014-07-11 06:36:04
Wow, thanks guys!

I've got this finished now, its looking pretty good. Its just a bit dark. Is there any way I could fix this?

(http://www.shadertoy.com/new)
1  
2  
3  
4  
5  
6  
void main(void)
{
   vec3 h_color_top = vec3(0.4, 1, 1);
   vec3 h_color_bottom = vec3(0.9, 1, 1);
   gl_FragColor = floor(vec4(h_color_top * (gl_FragCoord.y / iResolution.y), 1) + vec4(h_color_bottom * (1.4 - (gl_FragCoord.y / iResolution.y)), 1) * 10.0) / 10.0;
}


You would be surprised how positively smooth textures and colours affect pixel art games. (At least from my experience, smooth simple 2d lighting is perfect for very simple pixel art games. It makes the game look very smooth or something. )

I know, I'm planning on adding normal mapping and directional lights soon. Its going to be a very pretty game. Smiley But I wanted something pixel-y for the backdrop.
12  Game Development / Newbie & Debugging Questions / Re: [GLSL] How to make a gradient shader for background? on: 2014-07-11 06:25:15
Thanks for the info!

Here's what I've got:


And the shader toy code:
1  
2  
3  
4  
5  
6  
void main(void)
{
   vec3 h_color_top = vec3(0.3, 1, 1);
   vec3 h_color_bottom = vec3(0.8, 1, 1);
   gl_FragColor = vec4(h_color_top * (gl_FragCoord.y / iResolution.y), 1) + vec4(h_color_bottom * (1.4 - (gl_FragCoord.y / iResolution.y)), 1);
}


Is there any way I could make the colors blend less... smoothly? Its for a pixel-oriented game. And I wan't it to look kinda low-res.
13  Game Development / Newbie & Debugging Questions / [GLSL] How to make a gradient shader for background? on: 2014-07-11 05:29:07
I'm trying to make a basic shader to create a gradient between two colors on a game background. I plan to get this kind of effect:



Its pretty simple. I just need some basics to get started, I'm still new to this mathematics in colors thing.
14  Discussions / Miscellaneous Topics / Re: Bought myself a new smartphone! on: 2014-07-11 02:58:01
Can i ask why you posted this?..

Probably to get some input on the device, maybe someone made a game and want's to test on it ( ags1 Pointing ) ?
15  Game Development / Newbie & Debugging Questions / Re: How to make shader uniforms initialize on bind on: 2014-07-10 00:45:57
Also, why not just pass the uniforms in each render? That's the way you're supposed to do it.

I guess I could just make each light's class initialize its shaders uniforms during its 'bind' and 'unbind' functions. That shouldn't be too messy. Thanks anyway!
16  Game Development / Newbie & Debugging Questions / Re: How to make shader uniforms initialize on bind on: 2014-07-10 00:31:05
Why are you trying to do this? We can help you out more this way Smiley

I'm trying to make a lighting system. I basically just need a way to setup the uniforms during the shader initialization.

Basically, there is a list of lights, each one having a different shader. Each 'game object' (entity, or thing) is rendered with a shader parameter, then binds it, and calls its sub-classes abstract render stuff. This makes it easy for multi-render passes for different shading techniques. (Like an initial pass for ambient light/textures, then one for light boxes, then one for post-processing or something.)

And I hate to be the one to do this, but it's "as they're bound".

S***, my bad. Clueless My obnoxious cousin is playing a game next to me and he loves to over exaggerate everything. Kinda hard to focus on anything with him constantly yelling.
17  Game Development / Newbie & Debugging Questions / [solved] How to make shader uniforms initialize on bind on: 2014-07-10 00:00:05
Is there any way to activate shader uniforms as they're bound? Basically for having 2 different shader programs without activating the uniforms for each, every time its bound. I'm thinking of a hash map of method objects (Reflection), every time the shader is bound, it iterates through them and calls each one. ( I just thought of this on the spot, I may be wrong on how to do this)
18  Games Center / WIP games, tools & toy projects / Re: Mortal Terminus on: 2014-07-09 22:50:03
Great job on the lighting! It looks really amazing! Cheesy
19  Game Development / Newbie & Debugging Questions / Re: Phong Shading giving a black line on: 2014-07-09 22:29:52
change the light color from 100, 100, 100, to 1.0, 1.0, 1.0

I tried that a while ago, It just gave me the same result, but the black-face just faded out slower during movement than before.
20  Discussions / General Discussions / Re: [opengl] Why are OpenGL enums as integers? on: 2014-07-08 19:35:01
Why not just give the enums a parameter (probably an integer) of what they would represent through the JNI?
21  Discussions / General Discussions / [opengl] Why are LWJGL enums as integers? on: 2014-07-08 19:31:44
Not sure if this is the right thread, but why are LWJGL's enumerators, integers? It would have been easier to code them as enumerators, or does JNI not allow Java's enums?

EDIT: Changed the title to 'LWJGL'
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-07 16:48:36
Animating.

Click to Play


Great job! That game is turning out to look really cool. Any ideas on what the mechanics will be?
23  Game Development / Newbie & Debugging Questions / Re: Phong Shading giving a black line on: 2014-07-07 04:14:43
Think of it in a mathematical sense, not from a coding perspective. Step through all the different mathematical operations and make sure that they make sense. If you don't know what one line does, figure it out. This will make sure that you know exactly what's going on and you will start to see where stuff could go wrong.

I know most about what it does (Normals, Vectors, and Interpolation), but not all of it. I've looked this code over plenty of times, and it should be working... I've tried everything I could think of...
24  Discussions / General Discussions / Re: Rock Simulator 2014 funded on IndieGoGo on: 2014-07-02 19:18:40
I think it has potential, people can do lots of things with rocks. The game has a theme that has really attracted attention, we never actually seen the gameplay. Its obvious the developer has a sense of humour that allot of the community likes. No matter what, this game will be popular. Good or Bad.

I went to his youtube channel and found this; (Not for the faint of heart)
<a href="http://www.youtube.com/v/5pR_tUgo9lI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/5pR_tUgo9lI?version=3&amp;hl=en_US&amp;start=</a>
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-02 18:13:38
I wrote a custom screenshot saver which uses asynchronous transfers to read back and then write a screenshot to file in a separate thread without significant amount of stuttering. I did this because Print Screen produced a blurry screenshot (what) and Fraps' screenshot function crashed the Java VM when I was running Nvidia Surround at 7680x1440.

https://drive.google.com/file/d/0B0dJlB1tP0QZaEtvR2FkVHhVa2M/edit?usp=sharing
Warning: Full res screenshot is around 15 MBs.

Wow, that looks really cool. Is there any chance I could get the source for that screen shot saver? Great job also!
26  Game Development / Newbie & Debugging Questions / Re: Phong Shading giving a black line on: 2014-07-02 06:55:46
I kinda made this over the course of 30 minuets, using other peoples code, so it might be a bit sloppy.

/libraries/
lwjgl.jar
lwjgl-util.jar
jinput.jar

/libraries/natives/

/passage/games/
Game.java: http://pastebin.com/EcMfCdVL
Camera.java: http://pastebin.com/d4Wv0FEL
Block.java: http://pastebin.com/e4WvSniL
Shader.java: http://pastebin.com/36p6jrup

/assets/
Box.frag: http://pastebin.com/6FVWdJ3N
Box.vert: http://pastebin.com/DkyFNBGi

I really can't get this to work, I've been working on it for 2 days now. Does anyone know how to fix this?

Click to Play
27  Game Development / Newbie & Debugging Questions / Re: Just downloaded a games source code and now how do I run it in Eclipse? on: 2014-07-02 06:08:49
Why does garbage like this always get posted and always with a "no offence" at the end. He was asking a question, answer if you can/want, and move on. I am replying to your comment because it was so blatant and irrelevant, but I see it all the time and hope people will mature and grow out of it. Can we tone down on the judgment and hate, especially since most of the people on this forum are by no means advanced programmers. This kind of attitude will not take you far in life.

I meant it in a playful way, not necessarily "you suck, get off the forum". I asked him to put the res folder in the project directory, which should start some progress on getting the question answered. I didn't mean any harm, and I do think I should have explained how those directories worked (classpaths and all), but I really don't know much correct information about them. My bad!
28  Game Development / Newbie & Debugging Questions / Re: Just downloaded a games source code and now how do I run it in Eclipse? on: 2014-07-02 01:34:13
I think your username is relevant (No offence). Try putting the res folder in the same directory as your src folder. Also, where are you learning java from (assuming your pretty new)?
29  Games Center / WIP games, tools & toy projects / Re: Mortal Terminus on: 2014-07-01 22:56:06
It looks really cool, nice work!

I would recommend adding support for multiple directions though, if this is going to be an action game, you should add some multi-directional movement. Right now it feels kinda limited. (Are you using
while(Keyboard.next()){/*...Is key down stuffs*/}
?)

EDIT: Did you make those textures? Are they what the game is going to look like? They look really slick, but change the dirt texture to something really washed out. Like a grayish-dirt, or even gravel would work in this case.
30  Game Development / Game Play & Game Design / Re: The ultimate sandbox game on: 2014-07-01 21:40:34
Second Life?

Dear god nothing like second life.
Pages: [1] 2 3 ... 10
 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (32 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (58 views)
2014-11-29 21:32:03

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

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

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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