Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (117)
games submitted by our members
Games in WIP (563)
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
1  Discussions / General Discussions / Re: what do you code on? on: 2014-01-01 19:32:47
This is a 2006 computer, but the best computer I've ever had Tongue

Windows XP Home Edition 32-bit SP3
Intel Pentium E5200 @ 2.50GHz
Wolfdale 45nm Technology
2.00GB Single-Channel DDR2 @ 400MHz (5-4-4-17)
ASUSTeK Computer INC. P5N-MX (Socket 775)
VE902m (1280x1024@60Hz)
256MB NVIDIA GeForce 7300 SE/7200 GS (Point of View)
149GB Western Digital WDC WD1600AAJS-08B4A0 (SATA)
3GB SanDisk Cruzer USB Device (USB)
TSSTcorp CDDVDW SH-S223F
DTSOFT Virtual CdRom Device
Realtek High Definition Audio
2  Games Center / WIP games, tools & toy projects / Re: Battle for the Solar System: Tactics on: 2014-01-01 19:27:21
Uh oh! UnsatisfiedLinkError for the lwjgl library!

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
C:\Documents and Settings\Owner>java -jar C:\DOCUME~1\Owner\LOCALS~1\Temp\Rar$DR
06.766\TBFTSS-0.1.140101\TBFTSS.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: C
:\Documents and Settings\Owner\natives\lwjgl.dll
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at org.lwjgl.Sys$1.run(Sys.java:70)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
        at org.lwjgl.Sys.loadLibrary(Sys.java:95)
        at org.lwjgl.Sys.<clinit>(Sys.java:112)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:132)
        at com.parallelrealities.tbftss.GameWindow.<init>(Unknown Source)
        at com.parallelrealities.tbftss.Main.main(Unknown Source)


Try testing it on other computers before launch :-)
3  Discussions / Business and Project Management Discussions / Re: Looking for people to learn and create with! on: 2013-12-16 22:52:59
Hey Atheistzilla!

I just saw your game now, you are indeed using LWJGL, or LibGDX(I cannot tell, for LibGDX is based on LWJGL), and I was once working on LWJGL on my last project(which it's video has been removed for now, due to changes in my youtube channel) and currently I am working on a LibGDX project, of which you can see here: you can expect this text to be replaced with a youtube video tomorrow

I have been coding since mid-2011, and with many mistakes and learning curves in between as java is my first programming language. I might be interested in working with you :-)
4  Discussions / General Discussions / Re: My app is done!!!!!!!!!!!!!!!!!!!!!!!!!!! on: 2013-12-10 19:39:58
Congrats guy! Shame I don't have a device..
5  Discussions / General Discussions / Re: Simple Regristration Pradiciment on: 2013-12-09 19:08:25
I loved that registration mind you Tongue Yeah! test of of your skills...
6  Game Development / Newbie & Debugging Questions / Re: After using slick for textures, game lags too much on: 2013-12-08 15:38:19
I had the same problem a while back, but I would advise against closing this thread.. The first thing someone does when he/she has a problem in code, they often google it. If this thread were closed, then one cannot find this resource, and so would waste hours of their time if there is nothing else of the same problem!

Glad you fixed it though :-)
7  Discussions / General Discussions / Re: Opinions of games engines on: 2013-12-08 02:49:39
I think that a Game Engine, in order for me to use it, I look for the following things.
  • Is it easier to code in or more user friendly?
  • Does it limit me?
  • Does it give you more opportunities?
  • Can I learn anything from using it?
  • Do enough people use it, or know how it might work, in order for there to be support in case of debugging?
  • Is it worth more of my time than other ways of making the game?

Code-less doesn't mean cheaty, it just means you are limited to that software unless included otherwise, so if you feel you are better off using the engine, go for it!
8  Discussions / Miscellaneous Topics / Re: Starbound on: 2013-12-08 00:02:27
I love the procedural generation of the game, and it's what I want to see more of Smiley
9  Discussions / General Discussions / Did you ever cut corners to solve a problem? on: 2013-12-07 23:13:01
I remembered this, and wanted to share with you.

I was programming with Java2D in my more novice days, and I wanted to make the screen maximized, but so that the user could not resize it. I was perplexed with how to do it. I came up with this, unintended by the Java2D authors, solution: I took the Robot class to manually move the mouse over to the maximize button, and then disabled resizing at the very same second.

Did you ever make a program cut corners or do something that would be frowned upon by others?

EDIT: Wrong discussion section. Can't remove Sad
10  Game Development / Game Mechanics / Re: Fading in and out music in libgdx on: 2013-12-07 18:32:02
As the above comments, you can set volume, but not pitch unfortunately.
11  Games Center / Showcase / Re: PlatPong on: 2013-12-07 16:10:32
This is cool.
12  Game Development / Newbie & Debugging Questions / Re: Good Places to Upload Java Games on: 2013-12-07 14:59:40
Ooh, I love that website.
13  Game Development / Newbie & Debugging Questions / Re: Circle hitboxes. on: 2013-12-06 22:42:55
Screenshot I mean Tongue

But code would be nice too, if you so desire.
14  Game Development / Networking & Multiplayer / Re: My Online RPG Game on: 2013-12-06 21:52:43
Do you have a goal for this project, or do you think it's a programming stepping-stone?
15  Game Development / Newbie & Debugging Questions / Re: Circle hitboxes. on: 2013-12-06 20:12:25
Can I see a pic of the new product? Tongue
16  Game Development / Newbie & Debugging Questions / Re: Circle hitboxes. on: 2013-12-06 20:03:51
I've just found a possible answer,

Use Pythagoras' theorem!  A2 plus B2 = C2!

Have the point you are checking for check for the distance of x for 'A' and distance of y for 'B'. if the square root of 'C2'(also known as C) is less than or equal to the radius you are checking for, then the boundary has been reached! Cheesy

Haven't actually tried this out, but I hope I've helped.
17  Game Development / Newbie & Debugging Questions / Re: Good Places to Upload Java Games on: 2013-12-06 19:28:03
Well.. There is this forum.. Smiley


You can also put it on dropbox..


You can make your own website...

Mediafire..

Any file sharing site will do, provided you give notice to the internets, but be careful, I have first-handedly experienced the blunt of not meeting expectations- text adventures aren't used anymore, but they were popular in the days of Floppy disks. Perhaps I could give it a shot.  Wink
18  Games Center / Showcase / Re: Free Turn Based Strategy on: 2013-11-26 18:57:14
Is going to update as a game, or is this the final version?
19  Game Development / Game Mechanics / Re: Tile design problems on: 2013-10-04 22:25:16
make separate instances of your tile, holding the x and y coords, as well as light level as instance variables, and all other data, like textures and reacting to the player, static.

You will have to draw each instance each turn, but you can save on lighting updates by having them update only when changed or surroundings changed by the environment or player.
20  Game Development / Artificial Intelligence / Re: Using genetic algorithms to 'train' my AI on: 2013-10-02 20:36:56
Be careful with this adaptive AI, if it's not flexible enough, it may find a suitable method that becomes repetitive to the player over time!
Try to keep the player from taking advantage of it, you don't want the player to lose several times so the AI loses it's good strategies so that the player can have an easy epic win to upload to youtube and brag.
Also if you decide to have the AI save results, make sure it doesn't take a chunk of memory.

And be aware that having an adaptive AI means that players may have to become extremely adaptive, or may just brute-force their moves from a lack of it's understanding- You can help this by using 'inequalities', choices that cannot be compared to each other, e.g. apple + orange.
21  Discussions / Miscellaneous Topics / Re: Coding brought me up in school! on: 2013-10-02 19:42:55
He-he. Coding hasn't "effected my grades", it was my determination that brought them up recently, but I'll definitely say, programming has given new light to my understanding of mathematics, as well as allowing me to question it and test it's applications- although I can never come to a new conclusion other than what has been set down for me already Tongue.
22  Game Development / Newbie & Debugging Questions / Re: 3D sphere texturing and manipulation. -Using LWJGL and Slick Util on: 2013-10-02 16:11:02
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
Erf.. I would like a walk-through for this please.
23  Games Center / WIP games, tools & toy projects / Re: Harvest Online on: 2013-10-01 20:55:16
I noticed that you are having a tile-based game. Just as obvious, tile based games often have that repetitive texture tile look, sorry for talking cynically. To solve this, I suggest picking random spots on start up, say if this spot has 2x2 (or 3x3 or etc...), and attach a random grass patch on it? I think that would be cool.
24  Game Development / Newbie & Debugging Questions / Re: 3D sphere texturing and manipulation. -Using LWJGL and Slick Util on: 2013-10-01 17:45:48
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
Oh.. god. I've never seen such a trippy thing in my life.. Now I just need to figure out what this .bas file says.. and how to use it's equations hidden within the syntax.

What do you mean "average color" ? If it renders as a solid color, its probably a sign that
GL_TEXTURE_2D
is not enabled. Further, SlickUtil is kind of buggy depending on the version you have.
Even with all of that, it might not work. I'm not familiar with LWJGL's GLU emulation and I'm not sure how it handles texture coordinates. GLU is really old and for the most part only used for simple debugging.
If you can't get it working and can't be bothered to learn the OpenGL way, I would suggest just using LibGDX, jME, jPCT, or another library to help you with the 3D aspects.
Thanks for the links! About glu.Sphere, I am new to it, so I figured out that a texture to wrap it around should have many colours, as to see which pixel to attach where, but it seems It just blurs it into the texture's average colour and then implements it. Also, GL_TEXTURE_2D was enabled, as I was using other textures at the time as well.
25  Game Development / Newbie & Debugging Questions / 3D sphere texturing and manipulation. -Using LWJGL and Slick Util on: 2013-09-30 22:14:34
Hello JGO!
I thought I wouldn't be asking another newb question for a while, but I got SFX greedy.

For my intro of my game, I want the earth and sun spinning around, and, I could draw an undynamic animation or array of .png files, or I could draw a sphere to do it for me, and considering it's going to be the only 3D in my game (planned so far), it shouldn't be too bad to implement.

A few problems with the code below:
* It uses the slick Texture to bind to the glu.sphere, but it only shows the average colour- there is only 1 colour.
* I cannot understand how to map the texture if I got it working
* Only the leftmost and rightmost pixels are processed from the .png to the sphere
* Transparency only whitens the sphere.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
private static Texture image;
private void renderSphere(float x, float y, float z)
   {
      image.bind();
      glPushMatrix();
      glTranslatef(x, y, z);
      Sphere s = new Sphere();
      s.draw(0.4f, 16, 16);
      glPopMatrix();
   }


So any ideas? I cannot understand how it does work.
26  Game Development / Newbie & Debugging Questions / Re: New to Java game development on: 2013-09-30 21:56:51
Welcome! You are not getting yourself ahead of yourself, but I highly recommend only using Java2D for learning new techniques, and using Libraries such as LWJGL.

http://www.youtube.com/channel/UCxiBXBY1a-axNVGIvQKGcNA <---coding universe, I suggest for learning LWGJL, he already did 2D, sound, input, and then moved on to 3D

http://www.youtube.com/channel/UCnlpv-hhcsAtEHKR2y2fW4Q <--- General java programmer, did an RPG, excellent for learning things like Enums and other good techniques,

http://www.youtube.com/channel/UCGml1ZcXmwTZOIS63wXxdZw <--- DesignsbyZephr, another RPG programmer, showed loading, saving, animations, Fonts, etc..

Hope you enjoy!
27  Games Center / WIP games, tools & toy projects / Re: Clash Tune on: 2013-09-30 19:54:04
The game is really cool, from a players point of view, and I am aware it is in dev, I highly suggest a tutorial.

I have added it to my drop box because I see great potential.

Thank you !
I am currently working on 2D->3D, so I hope I will put a new version in the next few days.
Tutorial will certainly come, but I don't think in a near future..

Yeah I saw that when I downloaded the new one, the trees were black/yellow Tongue
28  Games Center / WIP games, tools & toy projects / Re: Paint.JAVA - Attempt at cloning Paint.NET (with cross-platform support) on: 2013-09-30 18:15:14
I only used windows ever, but yeah, this is in complete spirit of write once- run everywhere, and I completely support it! There is too much software one can only run on computers that you don't have.
29  Discussions / Miscellaneous Topics / Re: What music do you listen to while you code? on: 2013-09-30 18:06:14
Hype the time quest boss theme.

<a href="http://www.youtube.com/v/qCOwZExCBVA?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/qCOwZExCBVA?version=3&amp;hl=en_US&amp;start=</a>

I have no shame in this. Tongue
30  Games Center / WIP games, tools & toy projects / Re: Clash Tune on: 2013-09-21 19:40:40
The game is really cool, from a players point of view, and I am aware it is in dev, I highly suggest a tutorial.

I have added it to my drop box because I see great potential.
Pages: [1] 2
 

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

The first screenshot will be displayed as a thumbnail.

radar3301 (12 views)
2014-09-21 23:33:17

BurntPizza (31 views)
2014-09-21 02:42:18

BurntPizza (22 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (29 views)
2014-09-20 20:14:06

BurntPizza (33 views)
2014-09-19 03:14:18

Dwinin (48 views)
2014-09-12 09:08:26

Norakomi (74 views)
2014-09-10 13:57:51

TehJavaDev (103 views)
2014-09-10 06:39:09

Tekkerue (51 views)
2014-09-09 02:24:56
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!