Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (565)
Games in Android Showcase (151)
games submitted by our members
Games in WIP (606)
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 ... 28
1  Game Development / Newbie & Debugging Questions / Re: LWJGL - Shadow issue and need tips on: 2015-03-27 02:28:37
Well yes, but you're going to need to have those standard buffers (normal, depth, so on) for all advanced effects that require sampling in a kernel. Light shafts, soft shadows, and others.
2  Game Development / Newbie & Debugging Questions / Re: LWJGL - Shadow issue and need tips on: 2015-03-27 00:03:01
SSAO is the go to method. It's really easy to implement and relatively cheap. Just kidding. It really hurts performance if done incorrectly.
3  Game Development / Newbie & Debugging Questions / Re: Best tutorials on the basics? on: 2015-03-24 04:29:55
There's a bunch of "Which lib do I choose?" threads as well if you want to check them out. What you're doing right now, however, is useless because you're giving us no context as to where you are experience-wise. Details, maybe?
4  Game Development / Newbie & Debugging Questions / Re: Best tutorials on the basics? on: 2015-03-24 03:45:53
google.com

I'm serious.
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-23 04:36:15
Bought my first car, a 1999 Plymouth Breeze with around 100k miles for the low price of $2,000! Now I just have to find insurance for it. Can't wait to be raped financially by insurance companies. Being a teenage boy definitely has it's drawbacks sometimes...

Congrats Smiley I should probably get off my butt and get my license as well. I'm fully qualified at this point, I just haven't gone and done the tests.. Not looking forward to paying for all that though.
6  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 21:20:48
Yeah fortunately I did find an exe and decompile it to get the base code. Unfortunately the variable names are crap but right now I'm trying to use the PDB to get them back as well. I now have everything backed up in the cloud and an external drive.
7  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 06:11:31
Well the nightmare is over! I retried decompiling, and tried a different exe I hadn't checked before... And there we go. Code saved. Of course the decompiler outputted some funky names for variables but other than that, everything is intact. I am so relieved right now. Wow. Off to github.
8  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 05:55:54
I'll look into some more data recovery software but I'm not hopeful... Unfortunately when I tried to run the code for the first time after the crash it produced some exe for some reason that's unexecutable. I've given up really.

EDIT: I SEE LIGHT I REPEAT I SEE LIGHT WILL UPDATE SHORTLY
9  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 05:32:05
I said in the op that I wasn't. I know. Don't lecture me on it. I'm retarded.
10  Game Development / Game Mechanics / Re: Push objects when walking into them on: 2015-03-20 04:02:12
Thank you for introducing me to my new favorite sub on a bad day. I love you. I'm very emotional right now.
11  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 02:14:45
Dammit. It doesn't affect it. Jesus... Well.. I guess it's over. This really really sucks, badly. Probably the most crushing and demotivating thing to happen to me, ever. I'm not exaggerating when I say 200+ hours of work. This was my Battlefield hack. My reversed SDK, GUI code, mathematics, everything. So this isn't just my code, this is the time I spent reverse engineering the game. This is so messed up.
I suppose I'll be uploading everything to github every 10 minutes from now on....

I need therapy Sad please send ice cream
12  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 02:08:45
I haven't... I'll do the CHKDSK and if that doesn't work I'll try to do a restore. The last point was about a week ago but the only code I've written since then was a bit of radian lerp code which shouldn't be hard at all to rewrite. I just have to hope and hope that it affects my file. Thanks for reminding me; If this works I'll... I don't know but I will love you.
13  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 02:00:46
Unfortunately that's only for specified folders.. No dice Sad
It's really kind of starting to sink in now. God this f**king sucks. I suppose nobody else has any suggestions...?
14  Discussions / Miscellaneous Topics / Re: Crash - Corrupt File, Months of Work Lost on: 2015-03-20 01:45:53
Windows
15  Discussions / Miscellaneous Topics / Crash - Corrupt File, Months of Work Lost on: 2015-03-20 01:40:10
I flipping my shit right now, big time. I was working on a large project and my computer blue screened and when I booted back up the ONE important source file I needed was corrupted somehow. It's a .cs file and it's 1.5k+ lines long. Losing it is NOT an option. I haven't done any backups either because I'm stupid. I've tried using Recuva, it gives me a partially complete file but around 1k lines are still NULL. There are no other versions of the file on the disk, Visual Studio didn't make any backups. Essentially I'm completely screwed right now unless you guys can give me any help. I've worked for at least 6 months on this project and if I lost it... I don't know that's just incomprehensible.

I've decompiled the binary of the apparent last build but the code it gives me is at least 4 months old so the majority of my modern code is missing. I haven't run a CHKDSK /f yet because I'm using that as a last resort just in case any you guys ideas require me to not have rebooted.

Please help me out here. I'm dying.
16  Game Development / Game Mechanics / Re: Push objects when walking into them on: 2015-03-20 00:49:17
I'll just be sure to avoid posting here next time. Thanks.

Don't avoid posting here, we're here to help you. However as Gibbo said, many of your questions provide little context and seem to present no effort from your side. If you have a problem and you've tried to fix it yourself for at least a couple hours you can and should post here. But the majority of the learning process for programming in general is just trying things out yourself instead of relying on others. The difference between a great coder and an amateur is the amount of hand holding they require.
17  Game Development / Newbie & Debugging Questions / Re: Velocity Slide Effect on: 2015-03-18 05:14:28
Your original method should work, at least mathematically.. Check your code again and step through it. You probably have a bug somewhere. You could also use this interpolation method:

1  
2  
3  
4  
private float Lerp(float start, float stop, float alpha)
{
   return (1 - alpha) * start + alpha * stop;
}


Which works on normalized values. I think. Kinda forget, but looking at it makes me think that.
You could also use other easing methods. I suggest you look at LibGDX's Interpolation class code (it's on github).
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-17 04:37:54
Took another crack at battlefield, got an internal hack working in C++. Basically I wrote a program to inject a DLL I wrote into the memory address space of the game, so with the proper SDK offsets I could literally access the stuff like I was programming from the real source. Very fun. I can even call virtuals! I got engine debug rendering working, but then decided to simply hook into directx instead because it suited my needs.
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-16 22:00:25
You had to normalize it because it was a directional vector. I think. Directional vectors' length must always be one. Right? Yeah..?
20  Game Development / Newbie & Debugging Questions / Re: Matrix Transformations on: 2015-03-16 20:26:39
Just something quick because I have to go, but I was fairly sure you had to multiply trans * rot * scale to get the final transform. Order matters in matrix multiplication. I'm not the best with this stuff, but I gotta run.
21  Game Development / Newbie & Debugging Questions / Re: Going to build 2.5d Game on Facebook by JavaFX , your advice? on: 2015-03-16 06:32:22
LibGDX can export to HTML5 I believe
22  Game Development / Newbie & Debugging Questions / Re: LibGDX Player Overlay on: 2015-03-14 07:28:43
Well you could do a couple things. One, make the image humongous. Don't do this. Two, you could do some sort of tiling based on the position of the overlay texture. To do it this way you would draw the overlay, then have a 1x1 texture that's the same color and opacity as the outlying colors of the overlay texture and draw that 1x1 with the width and height overlay texture, tiling them correctly programmatically. I'm sure there are a million better ways to do this, but it's 3:30 am here and I need to go to bed. Alas, I have yet to finish a project that's due tomorrow. Anyways, I hope someone else can give you a better method.
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-14 03:17:39
Fanshy new main menu. Calling the game limelight because of the companion light's color (it's now lime green... you probably guessed that. Whatever. Stop rolling your eyes.).
Edit: notice the terrifying code in the background, it's monstrous.

http://recordit.co/LL4vAB3m8E
24  Game Development / Newbie & Debugging Questions / Re: LibGDX Player Overlay on: 2015-03-13 18:04:00
Name the flaws and I'll try my best to provide solutions. There are other ways to do what you want, but this way is the cleanest and easiest imho.
25  Game Development / Newbie & Debugging Questions / Re: LibGDX Player Overlay on: 2015-03-13 03:12:03
You can use an image. Just create the center with full transparency and blend the image on top of the main scene. Make the image larger than the target resolution so you never see the edges.
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-12 00:05:12
I finally got a sub 30 second rubik's time.. 26.5 to be precise. I had nobody else to share it with so I thought I'd tell you guys! It's good day Smiley
Edit: Also just fixed THE most irritating, obscure, and stupid bug I've ever encountered. A string was being sent to a method from another method which was called from JNI (in Lua), so I think that inline string I sent was getting destroyed after the Lua stuff was done and made the game not display anything whenever I rendered that string. Wow. By far the most irritating bug I've ever seen in my life.
27  Game Development / Newbie & Debugging Questions / Re: Really strange bug with collision on: 2015-03-11 20:50:26
Minimal, Complete, and Verifiable example. It's in the link he gave you... What you're giving us is certainly not minimal.
28  Game Development / Newbie & Debugging Questions / Re: Check for lan servers on: 2015-03-10 20:12:10
You can use "-minecraft" to omit results from a google search. Look these little google tricks up, they're super useful.
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-07 05:00:34
...

I see you've been frequenting reddit more lately. And congrats, that must feel good!
30  Discussions / General Discussions / Re: GDC 2015 - various stuff on: 2015-03-06 17:27:26
Downloading unreal and that museum looking demo scene, I'll see how well it runs on my 780 ti. Can't wait, it looks absolutely stunning. I mean goddamn.
It's crazy to think that this is years and years of development, but in the grand scheme of things, it's just people trying to simulate a world they already live in more realistically.
Pages: [1] 2 3 ... 28
 
ags1 (16 views)
2015-03-31 10:55:12

theagentd (13 views)
2015-03-27 23:08:20

wxwsk8er (54 views)
2015-03-20 15:39:46

Fairy Tailz (47 views)
2015-03-15 21:52:20

Olo (29 views)
2015-03-13 17:51:59

Olo (32 views)
2015-03-13 17:50:51

Olo (39 views)
2015-03-13 17:50:16

Olo (44 views)
2015-03-13 17:47:07

ClaasJG (58 views)
2015-03-10 11:36:42

ClaasJG (42 views)
2015-03-10 11:33:01
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

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