Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (121)
games submitted by our members
Games in WIP (577)
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  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!
2  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).
3  Game Development / Newbie & Debugging Questions / Re: Simple Jumping Physics on: 2014-07-31 14:56:15
This might help.

http://www.java-gaming.org/topics/basic-2d-tile-collision/29657/view.html


Good luck with your game. Smiley
4  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:

http://freespace.virgin.net/hugo.elias/models/m_string.htm

5  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.
6  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. 


Screens:







Apk + Source:

http://rel.phatcode.net/junk.php?id=150

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

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

www.rel.phatcode.net/mytutes/3dtutes/chapter1/chapter1.htm

A more in-depth explanation written my a friend of mine:

www.ocf.berkeley.edu/~horie/persp.txt
8  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.
9  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?


www.rel.phatcode.net/mytutes/3dtutes/chapter2/chapter2.htm

But I'd rather you use matrices:

www.rel.phatcode.net/mytutes/3dtutes/chapter4/chapter4.htm
10  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.
11  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:
www.back2basic.phatcode.net/?Issue_%231:2D_Convex_Polygon_Collision_using_SAT
12  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
13  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.
14  Game Development / Newbie & Debugging Questions / Re: Packaging files inside jars on: 2013-10-13 12:05:19
Thanks!


Now, if I could only get my hands on that dictionary.
15  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
16  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:

www.http://www.rel.phatcode.net/Temp/HangFighter.zip

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.

Thanks!
17  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.

18  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.
19  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.

www.rel.phatcode.net/junk.php?id=34

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.
20  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.
21  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
www.rel.phatcode.net/junk.php?id=106

Then load the sprite via a loader I made. 
Loader is in the /src folder.

www.rel.phatcode.net/junk.php?id=139
22  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.

www.paulbourke.net/geometry/


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(freebasic.net). One of the languages I code for fun. Smiley

I'd be happy to walk you through the code if you want. Smiley
23  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?
24  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.

www.rel.phatcode.net/junk.php?id=61
25  Game Development / Newbie & Debugging Questions / Re: Collision detecting on: 2013-09-29 04:46:24
Hi,

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.

Thanks!

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

www.rel.phatcode.net/index.php?action=contents&item=Pyromax-Dax


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

What type of game are you making?
26  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.
27  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...
Sigh...

Missed my point.  Tongue

Abuse apparently did get it spot on.  Pointing
28  Java Game APIs & Engines / Java 2D / Re: Design Pattern For Game Settings on: 2013-09-27 05:19:43
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.
29  Discussions / Miscellaneous Topics / Re: Coding brought me up in school! on: 2013-09-23 02:34:01
Americans and their useless standardized tests.

Smiley

Normally I would agree (I hate the american school system. relevant), but not with grades these high!  Grin

Just curious now, but is there anything like standardized tests in other countries?

Yes, we called ours NCEE.  I got a 99+ percentile rank during my year( top 1% of the country).

Started programming after uni here so my grades weren't affected( couldn't afford a computer until I got a job.  Nurse).

The only computer I normally use when I was at school was the PS1 and the SNES. Smiley
30  Discussions / General Discussions / Re: libGDX + IntelliJ = :( on: 2013-09-23 01:59:45
I would have switched to IDEA if it's not sooo darm slow.
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.

theagentd (20 views)
2014-10-25 15:46:29

Longarmx (53 views)
2014-10-17 03:59:02

Norakomi (47 views)
2014-10-16 15:22:06

Norakomi (35 views)
2014-10-16 15:20:20

lcass (39 views)
2014-10-15 16:18:58

TehJavaDev (69 views)
2014-10-14 00:39:48

TehJavaDev (69 views)
2014-10-14 00:35:47

TehJavaDev (61 views)
2014-10-14 00:32:37

BurntPizza (74 views)
2014-10-11 23:24:42

BurntPizza (47 views)
2014-10-11 23:10:45
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!