Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (569)
Games in Android Showcase (154)
games submitted by our members
Games in WIP (618)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 10
 1 
 on: 2015-04-18 15:17:34 
Started by kingroka123 - Last post by kingroka123
Thanks guys. I've been away since Wednesday so that's why I haven't posted anything but I will continue development when I get back on Sunday.

 2 
 on: 2015-04-18 10:57:35 
Started by noctarius - Last post by Icecore
In preparation of our moving to the US...
As a German who is going to emigrate as well, I salute you  Cheesy
You rotate my world – I think its be good to working in German XD
But i happy for you guys ^^

 3 
 on: 2015-04-17 21:26:14 
Started by Dregron - Last post by Dregron
New Enemy Models:


New Game Jar:
https://www.dropbox.com/s/7xb3xk770gm6hih/Pixel%20Puppet%201.1%20Alpha.jar?dl=0

I think these will reflect the game a bit more, still can add a few more things into this but think it's a good start.
Used a row & columns array to generate each body part, so i can generate each enemy in this style.

Just wanted some feedback if possible on the change's.
Thanks in advance.

 4 
 on: 2015-04-17 19:16:48 
Started by tommohawkaction - Last post by lcass
I personally despise greenfoot , whilst the concept is good the actual implementation is terrible , most of it isn't java , custom commands are common and actually getting it to do anything is almost as difficult as just teaching them the language seperately. For college? thats just silly.

 5 
 on: 2015-04-17 18:48:21 
Started by jerryq27 - Last post by jerryq27
I think I may have figured it out after I looked at my post with the code from update:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
      //Implemented sticky key bug fix. 
      if(isUp)
      {
         setDelY(-3);
         upAnim.runAnimation(); //Start the animation updates.
         initialImage = walkUp[0]; //Facing a new direction, set the initialImage.
      }
      else if(isDown)
      {
         setDelY(3);
         downAnim.runAnimation();
         initialImage = walkDown[0];
      }
      if(isRight)   //WRONG: else if(isRight)
      {
         setDelX(3);
         rightAnim.runAnimation();
         initialImage = walkRight[0];
      }
      else if(isLeft)
      {
         setDelX(-3);
         leftAnim.runAnimation();
         initialImage = walkLeft[0];
      }
      else
      {
         setDelY(0);
         setDelX(0);
      }


TESTED (and it works!): using 'else if' caused the isRight code not to execute since isDown was true, isRight never got reached

Well, thanks so much for the help guys! I can't believe it was due to small mistakes as this >.< (Java noob of the year award REALLY does go to me.......)
Well, I really appreciate you guys talking me through this, thanks again!

 6 
 on: 2015-04-17 18:38:28 
Started by jerryq27 - Last post by jerryq27
keyPressed method.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
   public void keyPressed(int key) {
     
      if(key == KeyEvent.VK_UP || key == KeyEvent.VK_W)
         isUp = true;
      if(key == KeyEvent.VK_DOWN || key == KeyEvent.VK_S)
      {  
         System.out.println("DOWN");
         isDown = true;
      }
      if(key == KeyEvent.VK_RIGHT || key == KeyEvent.VK_D)
      {  
         System.out.println("RIGHT");
         isRight = true;
      }
      if(key == KeyEvent.VK_LEFT || key == KeyEvent.VK_A)
         isLeft = true;
   }


code being manipulated in update
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
      //Implemented sticky key bug fix. 
      if(isUp)
      {
         setDelY(-3);
         upAnim.runAnimation(); //Start the animation updates.
         initialImage = walkUp[0]; //Facing a new direction, set the initialImage.
      }
      else if(isDown)
      {
         setDelY(3);
         downAnim.runAnimation();
         initialImage = walkDown[0];
      }
      else if(isRight)
      {
         setDelX(3);
         rightAnim.runAnimation();
         initialImage = walkRight[0];
      }
      else if(isLeft)
      {
         setDelX(-3);
         leftAnim.runAnimation();
         initialImage = walkLeft[0];
      }
      else
      {
         setDelY(0);
         setDelX(0);
      }


I placed some print out's and both messages are printing out, but my player is only going down until the path dictates to no longer go down, then the player goes to the right diagonally (right + down)

 7 
 on: 2015-04-17 17:31:43 
Started by noctarius - Last post by noctarius
I see Smiley Activated write rights again. Will be in California over the week, therefore it might take some time before I come back on that.

 8 
 on: 2015-04-17 16:27:40 
Started by SauronWatchesYou - Last post by SauronWatchesYou
Just a little update while I ride the train, choo choo Grin

I've been working on some new towers and trying to make some art recently. I plan on coding in functionality for the towers soon though.

Not much else right now, GTA V's PC release currently has me held hostage persecutioncomplex

 9 
 on: 2015-04-17 16:18:13 
Started by noctarius - Last post by dermetfan
Oh people should! It's just a positive surprise that something that says "free" isn't an advertisement or spam.

 10 
 on: 2015-04-17 13:58:38 
Started by BurntPizza - Last post by opiop65
Accidentally hit a curb going ~5mph and had to run to the nearby hardware store to get a saw so I could take off a black plastic piece hanging off my bumper... it's not a good feeling to hack apart your car. Luckily it's ok though, nothing is damaged!

Pages: [1] 2 3 ... 10
 
Riven (22 views)
2015-04-16 10:48:47

Duke0200 (35 views)
2015-04-16 01:59:01

Fairy Tailz (27 views)
2015-04-14 20:13:12

Riven (28 views)
2015-04-12 21:36:37

bus hotdog (45 views)
2015-04-10 02:39:32

CopyableCougar4 (46 views)
2015-04-10 00:51:04

BurntPizza (46 views)
2015-04-06 22:06:58

ags1 (50 views)
2015-04-02 10:58:48

Riven (49 views)
2015-04-01 18:27:05

ags1 (66 views)
2015-03-31 10:55:12
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

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