Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (526)
Games in Android Showcase (127)
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]
1  Games Center / WIP games, tools & toy projects / Re: eXo - snappy space strategy on: 2014-02-18 20:32:04
Played a bit too much of the 4k entry really.

Let's do the same with this one  Smiley
2  Games Center / WIP games, tools & toy projects / Re: Operation Santa on: 2013-02-15 19:40:42
Gave it a try aswell. Really cool and polished game I must say.
Didn't beat it yet though but I will Smiley


Nothing to complain on except for a few more sounds as Mads mentioned perhaps.
Else it ran very well and surprises me how you got java2d that stutter free Wink
3  Java Game APIs & Engines / Java 2D / Re: Realtime raytracing experiments in pure Java on: 2013-01-14 21:11:59
That was really cool.

40-45fps with the shadows, not bad  Smiley
4  Java Game APIs & Engines / OpenGL Development / Re: GLSL and Shader-based Tutorials for LWJGL / LibGDX on: 2012-12-30 18:44:57
Really nice!
Easy to follow and well explained, going to learn alot from this Smiley
5  Games Center / 4K Game Competition - 2013 / Re: Plants 4K Zombies on: 2012-12-21 15:18:31
I died pretty quickly, but was alot of fun.
Cool graphics aswell Smiley
6  Games Center / 4K Game Competition - 2013 / Re: Galactic Conquest 4K - II on: 2012-12-21 15:16:26
Really cool game this one, and only 4K.
Excellent!:)
7  Games Center / WIP games, tools & toy projects / Re: Unnamed SRPG on: 2012-12-20 11:22:41
You have to rethink this a bit, it's really not that hard Wink
Like Sproingie said objects are values like anything else. And in java everything is an object
So passing values around isn't difficult. There isn't really any difference between passing primitive data types and objects.

So if we want to pass a name of a person to a other person.

1  
2  
3  
4  
5  
6  
public String name;

/*constructor*/
public Person(Person otherPerson) {
     this.name = otherPerson.name;
}


Want to return a reference to a object?

1  
2  
3  
4  
5  
public Person aPerson;

public Person getPerson() {
    return aPerson;
}


But yeah this is basic so you should perhaps consider takeing some time learning. It won't take you much time before you get it under your belt
Hope I could help you a little Smiley


Take a look at this one.
http://docs.oracle.com/javase/tutorial/java/javaOO/index.html
8  Discussions / General Discussions / Re: Where are you from? on: 2012-12-06 20:10:28
Sweden aswell.

Snow is both fun and beautiful Wink

9  Games Center / 4K Game Competition - 2013 / Re: ApoSn4ke on: 2012-12-06 11:09:40
Tried some of your games before, they are all very neat!

A bit hard though, only managed 5 levels in this Tongue
10  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-06 11:02:51
Very nice  Smiley


Looks like alot of work to get something running on a platform it wasn't designed for!
11  Games Center / WIP games, tools & toy projects / Re: Sunland Villagers (was: Learning OpenGL/LWJGL) on: 2012-11-26 16:13:08
This is looking really cool, wasted many hours on the settler series Wink
I'm a bit amazed at how fast you progressed with openGL and this game.
Didn't remember it as that easy when I tried!

Art is starting to come together aswell, made all of it yourself?

Good luck with your project Smiley
12  Games Center / WIP games, tools & toy projects / Re: New FPS/RPG, A Work in Progress: Dysis on: 2012-10-05 18:41:19
This looks really awesome, wish you luck with this!
And im with Sproingie here, keep the hexes:)
13  Game Development / Newbie & Debugging Questions / Re: How to get started in game programming? on: 2012-09-16 21:06:54
Well depends on how experienced you are, something good to start out with as a first project would be a "Guess the number" kind of game. Thats atleast how I did it.
After that you could try some kind of simple card game, actually most cardgames comes to life quite well in the console Smiley

When you feel more comfortable you could try and learn some OOP-techniques aswell and involve that into your game, something I belive is good to have a understanding of from the start.
14  Games Center / WIP games, tools & toy projects / Re: Island Forge (single-dev MMORPG) [Kickstarter Update!] on: 2012-09-11 23:13:12
Really cool what you made here Nyhm, wish you luck with this Smiley
15  Game Development / Game Play & Game Design / Re: Simplex noise, experiments towards procedural generation on: 2012-09-06 15:10:43
Really cool work you done here Philfrei, keep it up!  Smiley
16  Game Development / Game Mechanics / Re: Collision Detection thought and is it possible? on: 2012-09-06 11:09:20
Hello subless!

I belive there is an excellent tutorial for this over at cokeandcode.com if you havent checked that out yet!

A bit rough but all you should need to do is to declare an array wich holds the values you want, would be BLOCKED (0) and CLEAR(1) in this case.
Then you simply compare the players position to find out whether the tile you try to move too is clear or not.

something like this:
1  
2  
3  
4  
 public boolean moveable(int playerX, int playerY) {
        //return true if this happen- coords from player move
        return blockedData[ playerX ][ playerY ] == CLEAR;
    }


Sorry for a terrible explanation, but take a look here http://www.cokeandcode.com/index.html?page=tutorials  should cover something like this in greater details:)
17  Games Center / WIP games, tools & toy projects / Re: [HARDLY WIP] WorldOfCube on: 2012-05-17 16:48:24
Looks really cool Matheus23!
Keep it up Smiley
18  Games Center / WIP games, tools & toy projects / Re: Mining Adventures! on: 2012-05-17 14:36:51
Super cool!
19  Game Development / Newbie & Debugging Questions / Re: face/turn the character in the direction the mouse is facing? on: 2012-05-09 18:55:14
This is a good post aswell Smiley

http://www.java-gaming.org/topics/solved-rotation-following-mouse/24763/msg/210279/view.html
20  Game Development / Newbie & Debugging Questions / Re: A little about GUI on: 2012-05-05 22:55:33
Thanks Vladiedoo, all help is usefull help!

The way you mention here describes pretty well how I do it now. And it works i guess:)
So it's no magic involved? Tongue


Just asking how people go about on this part.

21  Game Development / Newbie & Debugging Questions / A little about GUI on: 2012-05-05 22:21:47
Hello there!

Just a few questions from a noob again Smiley

How do you guys go about when you design your game UI?
Is there any special library you use for this?
Simply drawing out shapes/images?
Any usefull tip?

So tell me your story unless it's a secret.
Thanks Smiley
22  Discussions / Business and Project Management Discussions / Re: Finally, an Experience poll! [UPDATED] Now with Statistics! on: 2012-05-05 12:47:44
That might actually be true, atleast for the winters Smiley
23  Discussions / Business and Project Management Discussions / Re: Finally, an Experience poll! [UPDATED] Now with Statistics! on: 2012-05-05 10:10:16
Time with JavaGames MadeDeveloped IdeasNot so developed ideasLearningEducationAgeIn collaborationNeed collaborationLocation
7 months114Programming decent gamesAutomation20noneYes, sure!Sweden
Lots of Swedes here!
24  Game Development / Newbie & Debugging Questions / Re: About text output on: 2012-04-10 17:48:32
Thanks guys, finally got it working.
If I should'nt mix swing into my game I've done a quite big misstake now as most of my game is based on it,
but will look into an own rendering class. Will be very painfull and very time consumeing for a noob like me i'm sure!


And yes my google-fu will always be a bit off  Wink
25  Game Development / Newbie & Debugging Questions / About text output on: 2012-04-08 14:00:37
Hello JGO!

Registred at your site today, Have to say that I love your registration process, best one i've seen so far Wink


So I've just started to work on my first game project a few weeks ago.It's nothing fancy just for me to learn how game makeing works and have a bit of fun.
Choosed to try and clone a old Star Trek game I played long ago(Forgotten it's name of course Sad).
I remember it as a semi-text based game where you travel your ship to various planets on a map,constantly keeping an eye on fuel levels and supplies, and of course for any nasty klingon that might show up.
Everything has been going really well so far, sorted out some basic collision detection,ship movement and running it on a thread. But I'm not so happy about the GUI yet.
But it's a big thing I haven't gotten working yet and didnt find anything usefull on google either so I though I could ask you guys here for some expert help Smiley


So what I want to do is updating a JTextArea with all the text from my game, for example when my ship collide with planet 101 I want it to output my welcome message for that specific planet and so on.
I tried to do it simple with the "setText" method, but i only got that to work from inside the same class where my JTextArea was, and it didnt update the text at all just overwrite it with the next line.
So yeah, any help on how to update my game text would be very appreciated!

//Sam
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (72 views)
2014-11-26 15:22:04

toopeicgaming1999 (61 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (29 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (27 views)
2014-11-24 19:59:16

trollwarrior1 (40 views)
2014-11-22 12:13:56

xFryIx (78 views)
2014-11-13 12:34:49

digdugdiggy (56 views)
2014-11-12 21:11:50
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!