Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (135)
games submitted by our members
Games in WIP (593)
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 ... 157
1  Java Game APIs & Engines / OpenGL Development / Re: Fill Ellipse from a fragment shader on: 2015-01-25 18:39:06
You still want to do a discard so the depth buffer isn't written to.
2  Discussions / Miscellaneous Topics / Re: Unofficial JGO Steam Group! on: 2015-01-25 18:37:21
Very nice picture! I joined.
3  Discussions / Suggestions / Re: Font for code blocks on: 2015-01-23 08:06:56
Investigation complete..... I couldn't find the exact root cause, but apparently some fonts on my system got FUBAR-ed. This was made evident by the font in Windows Calculator being broken as well! I re-installed the Windows 8.1 fonts from another 8.1 install and all is well now.
4  Game Development / Newbie & Debugging Questions / Re: Starting to develop games. on: 2015-01-23 06:51:51
I agree with KevinWorkman and delt0r: neither make your own engine just yet nor use a pre-made one.

Make games using basic Java and only use the accompanied Java Class library. Make simple games and go from there. Slowly as you start making more and more games, you will notice general patterns you use for standard constructs, class relationships, and behavior..... => game "engine"/library/framework (they all refer to the same thing).

If you want to just focus on making games, when you get to this level I highly recommend you use good pre-made one. Not only you will have the advantage of being able to understand how it works underneath but you will be able to accomplish more in completing a game.
5  Java Game APIs & Engines / Engines, Libraries and Tools / Re: LibStruct on: 2015-01-23 06:31:45
Very nice job Riven, this will allow for a nice little optimization in my game.
6  Discussions / Miscellaneous Topics / Re: Ian Allen, my good friend and top "tester" died and is becoming famous! on: 2015-01-23 06:02:29
Wow I have definitely seen that name and face before, but I can't remember where! He definitely seemed like a really talented and awesome man, he will be missed. May he rest in peace.
7  Discussions / Suggestions / Re: Font for code blocks on: 2015-01-21 18:52:13
I'll investigate later today, maybe one of those pesky extensions modify my CSS.... *sigh*
8  Discussions / Suggestions / Re: Font for code blocks on: 2015-01-21 06:51:03
What the....
9  Discussions / Suggestions / Font for code blocks on: 2015-01-21 00:42:47
I noticed that the font for code blocks is now a non-monospace serif font.... was this intentional? It's really ugly looking at code blocks in posts now.

Example:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
import java.util.ArrayList;

public class MyAwesomeClass {
    public static void main(String[] args) {
        ArrayList<String> items = new ArrayList<>();
        items.add("pie");
        items.add("java");
        items.add("JGO");
        items.add("airplanes");
       
        for(String s : items) {
            System.out.printf("I like %s!\n", s);
        }
    }
}
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-15 17:25:48
Why! Don't release anything. I play BF4 and I would hate to see it filled with hackers.
You do realize it is already filled with hackers? That's the whole point of Punkbuster/FairFight.

Reverse engineering the game to get the offsets to variables using IDA and a dump of the game. For example, ClientGameContext has a static pointer at 0x142471d58. The PlayerManager offset from that is 0x60 so if you read in memory the pointer 0x142471d58 you get the address of ClientGameContext in the game. readInt64(pointerGameContext + 0x60) gets you the PlayerManager offset. There's an array pointer at pointerPlayerMan + 0x548 which you can loop through for all ClientPlayers. So on and so forth.

Of course there are a few tricks and alignment things sometimes and externally I can't call virtual methods but that's basically it. If I inject a DLL and hook into one of the game's functions I can build an SDK to fit the data structures of the game and then I'm able to do things easier, including calling virtual funcs.

Thanks Smiley
How do you know the names/addresses and the layout of the data in the executable?
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-15 05:15:14
.... holy crap, I don't even know where to begin doing this kind of thing! How did you do this? That looks incredibly cool!
12  Java Game APIs & Engines / OpenGL Development / Re: OpenGL multiple shaders nonsense! on: 2015-01-13 06:43:42
SHC's solution is actually the easiest option and will be just as fast, as that conditional will not be any performance issue thanks to useTexture being a uniform bool/int (SHC.... it should not be a float).

EDIT: Improved clarity.
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-12 01:31:00
I was wondering when you were going to smooth out that water line! Very nice job Mike!
How did you do it?
14  Java Game APIs & Engines / OpenGL Development / Re: Is it ok to use OpenGL 1.1? on: 2015-01-11 08:59:25
Also to note, I made a mistake earlier: it was 90%+ that has GL 2.0-2.1 (which support shaders), and ~70% support OpenGL 3.
15  Java Game APIs & Engines / OpenGL Development / Re: Is it ok to use OpenGL 1.1? on: 2015-01-11 03:03:40
I would highly recommend you learn the programmable pipeline in GL 3.0+, as 95%+ of computers today support it (according to Steam)!
Just like to point out, thats means Steam users, ergo gamers and only those who took the survey, so that number might be as low as 70-80%
If you are making games, you should be mostly targeting Steam anyway. Non-Steam users are generally the casual gaming genre... which doesn't even have demanding graphics that merit need for the programmable pipeline.
16  Java Game APIs & Engines / OpenGL Development / Re: Is it ok to use OpenGL 1.1? on: 2015-01-11 02:50:44
I would highly recommend you learn the programmable pipeline in GL 3.0+, as 95%+ of computers today support it (according to Steam)! The fixed function pipeline (GL 1-2) is still there for getting something quickly to render, but otherwise for engines/games I would highly recommend using modern GL.
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-08 00:22:31
You could probably use a lookup for the R and G channels (that's only 65K entries) and then search for a closest in the B channel. The generation of the lookup table will be pretty fast and the lookup will take a worst-case scenario of 255 comparisons.
18  Game Development / Game Play & Game Design / Re: Lost beauties of Game Design on: 2015-01-08 00:13:41
edit:
f**k hit submit topic by accident
this post is still a WIP please be kind
Hahahahahahaha.... catches breath... hahahahaha Grin
19  Games Center / Featured Games / Re: State of Fortune on: 2015-01-06 06:41:58
I beg to differ there, Nvidia has the best OpenGL drivers around. I have only ever had 1 issue with them, and that was a very silly driver bug.
20  Discussions / Miscellaneous Topics / Re: IRC? on: 2015-01-02 14:18:41
I much preferred Freenode's #jgo but heh, nobody came to keep it alive and it ended up being me and Riven idling only. This new one in Espernet is pure blasphemy but I idle there and pop in to make fun of Jev and Rayvolution from time to time.
21  Discussions / General Discussions / Re: New 'feature': distributed backups (with a little help from my friends) on: 2014-12-30 22:00:59
Converted the commands in previous post into a one-liner.
Aha, I was looking for a way to set robots=off without using the wgetrc file and I didn't know about -N, thanks!

Are the '13h' files intentional by the way?
22  Discussions / General Discussions / Re: New 'feature': distributed backups (with a little help from my friends) on: 2014-12-30 13:42:21
I was looking for that stupid -nd option, the man pages are too long! Thanks.
23  Discussions / General Discussions / Re: New 'feature': distributed backups (with a little help from my friends) on: 2014-12-30 13:12:41
This is my cronjob btw, how can I improve it?

Quote
cd <jgo-recovery dir>
rm -rf *
wget -r -np -A "*.gpg" http://www.java-gaming.org/recovery/
mv www.java-gaming.org/recovery/* .
rm -rf www.java-gaming.org
24  Discussions / General Discussions / Re: New 'feature': distributed backups (with a little help from my friends) on: 2014-12-30 12:38:19
https://www.roiatalla.com/public/jgo-recovery/

Cronjob setup daily!

EDIT: Dropbox has saved my ass a lot with accidentally deleting files: it has file history of up to 3 months for free accounts! I recommend you use that as well.

EDIT 2: I have finally received a medal from Riven.... my life is complete!
25  Discussions / Miscellaneous Topics / Re: Building a new PC on: 2014-12-30 10:47:59
I highly highly highly recommend you invest in an SSD. As Elsealabs said, it's very much worth the money as the performance increase is insane!
26  Discussions / Miscellaneous Topics / Re: How alive is the forum? on: 2014-12-29 05:09:15
This forum has an ideal amount of activity in my opinion. I still have trouble catching up sometimes and let it to go to 5+ pages unread!

What you experienced at Geekhack sounds too overwhelming, I wouldn't like that.
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-27 06:48:12
Only slightly? I'd be incredibly infuriated!
28  Java Game APIs & Engines / OpenGL Development / Re: Shaders issue on: 2014-12-22 07:17:44
I would assume your issue lies with those if statements with 'min' function calls at the end of the code snippet.

Tips:
  • Insert in line 8
    #define LIGHTS_COUNT 50
    and replace all those 50's with LIGHT_COUNT.
  • That if statement on line 39 should come before the length function call on line 38 as that call is pretty expensive (it uses as sqrt).
  • Lines 58 and 60, that outer vec4(...) is not necessary, the multiplication will create a new one already.
  • What is the point of 'ocolor'? The whole behavior and assignments of tex/color/dcolor/ocolor are very strange.... take a closer look at those and simplify that mess.
29  Game Development / Newbie & Debugging Questions / Re: LibGDX - How to rotate one point around another on: 2014-12-19 08:50:23
The 'itemPosition' uses position.xy as the origin, while the SpriteBatch.draw uses the projection's origin + origin.xy. These are apparently mismatched. What is the SpriteBatch's origin?
30  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-12-17 09:16:01
I'll join in really really late and say I enjoy alcohol once in a while because it's a fun activity to do socially. Also it really is relaxing and makes things much more lively. I don't go full retard and get absolutely drunk, but I enjoy the strong buzz sometimes.
Pages: [1] 2 3 ... 157
 

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

The first screenshot will be displayed as a thumbnail.

Olo (11 views)
2015-01-25 21:26:00

Olo (13 views)
2015-01-25 18:44:22

Robo11 (20 views)
2015-01-25 06:14:26

basil_ (26 views)
2015-01-17 22:29:32

wxwsk8er (24 views)
2015-01-16 21:42:21

wxwsk8er (20 views)
2015-01-16 20:44:20

basil_ (25 views)
2015-01-14 09:46:59

basil_ (21 views)
2015-01-14 09:46:52

wxwsk8er (33 views)
2015-01-13 20:42:16

wxwsk8er (34 views)
2015-01-13 03:23:59
2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

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