Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
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  Game Development / Newbie & Debugging Questions / Slick textfield focus question on: 2013-03-03 16:26:01
Hi.I have question about slick textfields.As I understand the textfields lose their focus when user has clicked somewhere else, but I want kind of opposite of that.I would like that when I click on button that is elsewhere I would be able to input text to said textfield.Is there any way to achieve it?Thanks in advance
2  Game Development / Networking & Multiplayer / Re: Slick game freezes on: 2012-11-24 17:03:49
I am not using kryonet.Yet.
3  Game Development / Networking & Multiplayer / Re: Slick game freezes on: 2012-11-23 21:34:53
I think it might be do loop around whileChatting that freezes,but I cant find any workarounds for that
4  Game Development / Networking & Multiplayer / Re: Slick game freezes on: 2012-11-23 20:11:18
http://pastebin.com/T0v45yUa here is code of the game state.BTW,when I close server the game unfreezes again.
Could the problem be that my computer has java 7 but my project is in JavaSE-1.6
5  Game Development / Networking & Multiplayer / Slick game freezes on: 2012-11-23 18:52:01
Hi.I made a turn based card game(or at least beginning of it) in Slick2d.I wanted it to be multiplayer so I used same code that thenewboston uses for his internet chat.Did little edits and tested.Right now when I run the game without network it works fine.But when I run it with server,it connects fine and when I send messages to client they all show up in console but game window itself is not responding.Hope you understand.Here is the pastebin of networking class http://pastebin.com/A0XEg4y0
6  Game Development / Newbie & Debugging Questions / Re: Polygon collision getting player stuck on: 2012-06-27 20:21:22
I came up with my own solution.I made 4 separate polygons(straight lines) for each direction and made them detect wether something is blocking from moving it in that direction or not.Right now it works beautifully.
Thanks for suggestions though.
7  Game Development / Newbie & Debugging Questions / Re: Polygon collision getting player stuck on: 2012-06-26 18:07:49
Here are some pics of game with little descriptions
Right now as you can see,everything is made out of squares(tiled map) and game should have later few more moving entities(2 players and some creatures to kill).
I dont know how to check to see if tile is free to move on.
8  Game Development / Newbie & Debugging Questions / [Solved]Polygon collision getting player stuck on: 2012-06-25 22:57:44
Hi.I made a game.It has tiledmap and polygons for collision detection.Apparently whenever I run into a polygon I get stuck.Hope someone can help me with that.I read from other topics but couldn't get it to work.
Source
I am planning to make this a small,2 player permadeath survival game.
9  Game Development / Newbie & Debugging Questions / Re: Snake game tail on: 2012-06-11 19:07:28
I had it moving by tiles(20x20),but it was very bumpy and then I changed it to more linear movement.I used polygons because I read somewhere that it was only way to detect colisions in slick. I have no idea how to use physics in slick to drag tail behind head.I even have no idea how to add indefined amount of new objects into game(segments of snake in my case).I could do if statements for every segment, but then I cant add more segments than I have if statements.
10  Game Development / Newbie & Debugging Questions / Re: Snake game tail on: 2012-06-11 18:13:34
http://pastebin.com/FBLsLQ11 I didn't know that that could be a problem. I have resources too but they cant be pasted into pastebin.I think.
11  Game Development / Newbie & Debugging Questions / Re: Snake game tail on: 2012-06-11 18:04:19
ZIP: http://www.mediafire.com/?nqba3jbyb6oacd3
12  Game Development / Newbie & Debugging Questions / Snake game tail on: 2012-06-11 17:58:05
Hi,so I am trying to make a snake game(first game).I have snake and food it can eat,but I would like my snake to have tail pieces that follow the head.And lenght of tail should increase after food has been eaten.But I have no idea how to do it. Hope someone understands and can help.
Here is the code I have right now(Eclipse java project using slick libraries): http://www.mediafire.com/?8l3phfxl0mywu4h
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.

xsi3rr4x (31 views)
2014-04-15 18:08:23

BurntPizza (28 views)
2014-04-15 03:46:01

UprightPath (43 views)
2014-04-14 17:39:50

UprightPath (26 views)
2014-04-14 17:35:47

Porlus (43 views)
2014-04-14 15:48:38

tom_mai78101 (64 views)
2014-04-10 04:04:31

BurntPizza (124 views)
2014-04-08 23:06:04

tom_mai78101 (224 views)
2014-04-05 13:34:39

trollwarrior1 (190 views)
2014-04-04 12:06:45

CJLetsGame (198 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!