Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (649)
Games in Android Showcase (181)
games submitted by our members
Games in WIP (700)
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  Game Development / Newbie & Debugging Questions / Re: Ways(or Best Way) of Declaring Orthographic Projection on: 2016-02-11 15:04:36
Why not use some sort of a virtual screen?  ie, 640x480 then just scale and add letterboxes to keep aspect ratio?
2  Game Development / Game Mechanics / Re: Calculating dFdx and dFdy of texture coordinates in 2D manually on: 2016-02-11 14:54:42
If it's just affine mapping(and if you can reaf basic), I wrote something about that 10 or 15 years ago:

Scroll down a bit for the triangle texturing part(split in two like Riven said). 
3  Game Development / Newbie & Debugging Questions / Re: [LWJGL] 3d World co-ordinates to 2d screen co-ordinates on: 2016-01-26 05:18:09
4  Games Center / WIP games, tools & toy projects / Re: Synthclipse - GLSL demo development environment based on Eclipse IDE. on: 2014-08-05 11:06:49
That looks really awesome!
5  Discussions / Miscellaneous Topics / Re: Does Visual C++ run on multiple platforms? on: 2014-08-05 10:54:40
You can use Visual Studio as an IDE for GCC.  You have to use makefiles(and I used MSVS 2k8 so I'm not sure if this works on newer versions).  With makefiles, you can set your arch targets(not that I'm good with makefiles).

I really don't like to use MSVS as an IDE(except for when coding in C#). Why not use Eclipse CDT?  I personally use CodeLite with Mingw though(Lightweight and cross-platform).
6  Game Development / Newbie & Debugging Questions / Re: Simple Jumping Physics on: 2014-07-31 14:56:15
This might help.

Good luck with your game. Smiley
7  Game Development / Game Mechanics / Re: 2D Rigid Body Rope Physics on: 2014-07-11 12:56:53
Not sure if this model would work in your case but I'm posting this as this is what i used when I made one:

8  Discussions / General Discussions / Re: [opengl] Why are LWJGL enums as integers? on: 2014-07-11 05:33:27
AFAIK, you can't bitwise "|" enums in Java.  That's probably the reason why they used ints in favor of enums.
9  Games Center / Android Showcase / [Android] Crappy Fish on: 2014-06-24 07:45:40
Been really slacking off since we got hit by typhoon "Haiyan" here.  Lost my coding laptop and 2 desktops. LOL

I made this as per request from my daughter and also to bring me back up to speed in programming again. Smiley

Missed the whole "Flappy Bird Craze" due to the typhoon so I made one myself. 


Apk + Source:

Basically made this in less than 15 hours of coding so code is a little messy(except for the usual reused codes).

10  Game Development / Newbie & Debugging Questions / Re: Calculating the new x position on: 2013-11-03 02:36:45
I'm not so sure but do you mean "projection"?

If that's the case, divide the other 2 components by z(or distance).

Here's how it works:

A more in-depth explanation written my a friend of mine:
11  Discussions / General Discussions / Re: Beginning 3D: using libGDX or LWJGL? on: 2013-11-01 04:12:45
The first steps are alway the hardest.  Once you get the hang of it though, it's gonna be second nature.
12  Game Development / Newbie & Debugging Questions / Re: Rotating a point around a center point algorithm on: 2013-10-25 01:44:09
How would I apply this to three d? Say I have point xyz wanting to rotated around point pxpypz?

But I'd rather you use matrices:
13  Game Development / Newbie & Debugging Questions / Re: Using ArrayList<> adding and removing objects on: 2013-10-22 03:07:22
Why "remove" when you can "reuse"?  Much easier and faster too.
14  Game Development / Newbie & Debugging Questions / Re: Do vector math with MTV [libGDX] on: 2013-10-19 14:26:17
You can try what I did here:
15  Discussions / Miscellaneous Topics / Re: How can I get full CPU usage with C? on: 2013-10-17 15:59:13
Thanks again princec and Riven. I'm the only one in the class to complete the problem. My lecturer actually said that it is not possible to get full cpu usage, the cpu moves it among cores, but I said I've seen a thread on the net that showed a program that actually did that. So she asked me to write a program. Writing this program in a computer in the lab has hanged that cpu and we've to restart it to get it working again and I won in this case. And today, I got the full marks in the lab session. I'm called by the HOD and our HOD asked me the details and I showed her my GL Tutorial Series. She made some good points from that and I'm going to give a tutorial lecture the next monday in the college.

Thanks again.

Which only means, that if you knew Eintein's age at the time of his death, you are likely a bad-ass coder. Smiley
16  Game Development / Newbie & Debugging Questions / Re: Packaging files inside jars on: 2013-10-14 01:52:31
This is the dictionary file I use for Eclipse, should be meet your needs fairly well.

Thanks!  This should make my life easier.  Btw, what do you mean by "dictionary I use for eclipse" and for what purpose.
17  Game Development / Newbie & Debugging Questions / Re: Packaging files inside jars on: 2013-10-13 12:05:19

Now, if I could only get my hands on that dictionary.
18  Game Development / Newbie & Debugging Questions / Re: Packaging files inside jars on: 2013-10-13 09:27:18
You can acquire a stream to any resource in the JAR, it doesn't matter what kind of data is contained in that resource. You will need to decorate\adapt the stream appropriately though if you're going to read text from it.

Do I could say, add a /resource folder under /src and load it like I load gfx?

Can't code right now to test it. Sad
19  Game Development / Newbie & Debugging Questions / Packaging files inside jars on: 2013-10-13 05:59:53
Hi, I got some free time yesterday and coded this:


It's a game I prototyped trying to combine hangman and space  invaders.

Kinda bad looking but I like the idea.  Nice game to port to droid.

How do I pack other files inside the jar when I export it?  For graphics I just put them inside the src/gfx/ folder.  Can I do that say with text files and  audio?

Also, anyone knows of a royalty free dictionary I could read words from?  My current build has 1 single word.

20  Discussions / Miscellaneous Topics / Re: What would you like to see in Java? on: 2013-10-09 00:50:17
I want a pink unicorn that can fly and make me breakfast in bed every morning.

Oh wait, I'm not getting that either.

This is the millionth thread I've seen where people day-dream about what they want in Java. Suck it up and/or learn a different for a change!

Well said.

Learn more than one language so that your choices are not limited.

21  Discussions / General Discussions / Re: Other Operating Systems on: 2013-10-07 15:05:05
Linux desktops - well, Mint at least - seem roughly on a par with XP. Trouble is Windows 7 moved the game along quite a way. Good thing Windows 8 screwed it all back up again Cheesy

Cas Smiley

Damn right. At least on the desktop.  Ms screwed the desktop version of w8.

I just bought my wife a lumia on win 8 and I thought it rocks.
22  Discussions / Miscellaneous Topics / Re: Me goofing around. on: 2013-10-06 15:14:47
Nice! @Roquen.

Used to delve into these things when democoding was big.

The orbit algo to do the rings was from an article I found that applies the same coloring to the mandelbrot.  I just applied it to my julia animator out of curiosity and was surprised it looked fantastic.
23  Discussions / Miscellaneous Topics / Re: What would you like to see in Java? on: 2013-10-06 15:08:33
+1 for operator overloading.

Also ability to allocate temporary objects to the stack.
24  Game Development / Newbie & Debugging Questions / Re: how to split/get images from spritesheet with non-uniform sprite dimensions on: 2013-10-03 14:58:46
I just use my own packer

Then load the sprite via a loader I made. 
Loader is in the /src folder.
25  Game Development / Newbie & Debugging Questions / Re: 3D sphere texturing and manipulation. -Using LWJGL and Slick Util on: 2013-10-01 23:51:52
It's a supershape morpher I made from the equations developed by Paul Bourke.

Basically, I already had a working tesselator for quadric shapes so I only have to enter the equations, do some interpolation to its parameters.

Bas files are BASIC code( One of the languages I code for fun. Smiley

I'd be happy to walk you through the code if you want. Smiley
26  Games Center / WIP games, tools & toy projects / Re: Paint.JAVA - Attempt at cloning Paint.NET (with cross-platform support) on: 2013-10-01 07:58:52
Looks great!  Will this have a windows version?
27  Game Development / Newbie & Debugging Questions / Re: 3D sphere texturing and manipulation. -Using LWJGL and Slick Util on: 2013-10-01 02:05:43
Yes, spherical coords.  You could approximate texture coords from 0 to 2PI in both the azimuth and horizon.
28  Game Development / Newbie & Debugging Questions / Re: Collision detecting on: 2013-09-29 04:46:24

I am learning 3D with LWJGL and I've got some rendering done, but my question is how do I detect collisions? I've read about AABB but I think that only applies to stuff that's on a fixed grid, but I want all of my shapes (cubes and such) to be moveable without a grid.


AABBs does not require them to be fixed on grids. You can move them as you like.

Anyway, the choice of collision system depends on what type of game you're making.

What type of game are you making?
29  Java Game APIs & Engines / Java 2D / Re: Design Pattern For Game Settings on: 2013-09-27 08:36:01
Don't get me wrong, I've used patterns extensively in all the languages I code with.  But I use them when I need to not when I want to.
30  Java Game APIs & Engines / Java 2D / Re: Design Pattern For Game Settings on: 2013-09-27 08:18:21
Is it just me or most Java coders are "pattern-philes"?

I've been on a lot of non-java boards and only in java-centric boards do I see these pattern-first problem solving procedures.

Opposed to the "make up your own and hope it works" pattern?

yadda, yadda...

Missed my point.  Tongue

Abuse apparently did get it spot on.  Pointing
Pages: [1] 2 3 ... 10
KaiHH (152 views)
2016-01-31 23:15:29

sci4me (155 views)
2016-01-23 21:47:05

sci4me (139 views)
2016-01-23 21:46:58

KaiHH (173 views)
2016-01-19 13:26:42

theagentd (258 views)
2016-01-05 17:10:00

ClaasJG (275 views)
2016-01-03 16:58:36

chrisdalke (263 views)
2015-12-28 06:31:21

Guerra2442 (271 views)
2015-12-25 03:42:55

Guerra2442 (272 views)
2015-12-25 03:27:21

theagentd (298 views)
2015-12-21 14:43:24
List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48 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‑
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!