Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (578)
games submitted by our members
Games in WIP (499)
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  Game Development / Game Mechanics / Re: Orbiting arround a object. on: 2014-02-01 12:38:18
So how ?
2  Game Development / Game Mechanics / Orbiting arround a object. on: 2014-02-01 12:22:05
I gave a planet and a sun how can i make planet orbit around the sun. I have trouble orbiting the planet around the sun. If you have an a example of something orbiting something please share it. Thanks.
3  Game Development / Shared Code / Re: Realtime Plasma using per pixel blits on: 2013-08-31 19:31:34
do
texPixels[y * 256 + x] = c << 16;

much better result Cheesy
4  Games Center / WIP games, tools & toy projects / Re: Name Generating Lua Script on: 2013-08-31 19:17:15
It is pretty cool Cheesy Cheesy
5  Games Center / WIP games, tools & toy projects / Earth Defender on: 2013-08-29 12:49:41

This was a game that i made for LD 27 but a lot of people like it so i think i will continue to make it.
It is a TD game you need to defend earth from aliens and other enemies.
It is playable but controls are not good will add options

V1.0
-aliens
-earth with a shadow and atmosphere
-earth is rotating
-controllable spacecraft that shoots
-earth has health

-sound
-music
(thanks to kpars http://www.java-gaming.org/index.php?action=profile;u=173952)

V1.1
-particles
        - smoke,fire
-player has health

When i make a shop and 3 kinds of spacecraft i will release it Cheesy for now you can play 1.0 the LD 27 version
http://www.ludumdare.com/compo/ludum-dare-27/?action=preview&uid=25590


6  Game Development / Newbie & Debugging Questions / Re: Orbit ? on: 2013-08-27 22:53:35
yea i can make something orbit but when i have like 5 objects my frame rate drops by half
7  Game Development / Newbie & Debugging Questions / Orbit ? on: 2013-08-27 21:37:54
I cant find and cant think of how do make one object orbit another and another object orbit that object
it is to complex look at planet simulator http://dan-ball.jp/en/javagame/planet/ doesn't matter how much objects are there it runs smooth and it is stable. I was always been interested in simulation games and sandbox games
but to make one that is so hard
does any of you people know any way to make this kind of simulator work ?
8  Games Center / Showcase / Re: MegaMega Android SHMUP (libgdx) on: 2013-08-27 17:41:07
Cool game very fun to play Cheesy
9  Games Center / Showcase / Re: LD27: 10 Seconds of Thrust on: 2013-08-27 17:38:21
Really good game i love it but graphics and sound would be nice Cheesy overall great Cheesy Cheesy
check out my game Cheesy Cheesy http://www.ludumdare.com/compo/ludum-dare-27/?action=preview&uid=25590
BTW how did you calculate the players and moons orbit ??
10  Games Center / Showcase / Re: Test Subject 13B - LD27 on: 2013-08-27 17:31:00
Good game but it is too short after i got all the gold stuff i was op and zombie AI is not good but overall it is cool game
check out my game Cheesy http://www.ludumdare.com/compo/ludum-dare-27/?action=preview&uid=25590
11  Games Center / Showcase / Re: BIT-SHIP Ld27 on: 2013-08-26 23:45:01
not user friendly. i dont see how does it fit the theme but it is still a cool game Cheesy
12  Games Center / Showcase / Re: Defuse (LD27) on: 2013-08-26 23:29:33
cool game but sound would be nice Smiley
13  Games Center / Showcase / Re: The Lonely Sentry LD27 on: 2013-08-26 13:00:08
Cool game Cheesy
14  Games Center / Showcase / Re: Earth Defender LD27 on: 2013-08-26 12:55:46
My own code
my buttons and every code is my code Cheesy
and if every 10 secs it spawns enemies your screen will go booom LOL
15  Games Center / Showcase / Earth Defender LD27 on: 2013-08-26 00:44:16


This is my game for ludum dare all the description is there and the download Cheesy

http://www.ludumdare.com/compo/ludum-dare-27/?action=preview&uid=25590
 YEA MY FRST GAME FOR LUDUM DARE Cheesy Cheesy Cheesy
http://www.ludumdare.com/compo/ludum-dare-27/?action=preview&uid=25590
16  Game Development / Newbie & Debugging Questions / Re: SOUND on: 2013-08-25 22:13:57
THANK YOU SO MUCH Cheesy Cheesy Cheesy: Cheesy Cheesy
I dont know how to thank you Cheesy
17  Game Development / Newbie & Debugging Questions / Re: SOUND on: 2013-08-25 22:00:31
kpars's code !
18  Game Development / Newbie & Debugging Questions / Re: SOUND on: 2013-08-25 21:53:11
i get this error
1  
2  
3  
4  
5  
6  
7  
8  
9  
java.lang.NullPointerException
   at com.sun.media.sound.StandardMidiFileReader.getSequence(Unknown Source)
   at javax.sound.midi.MidiSystem.getSequence(Unknown Source)
   at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(Unknown Source)
   at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
   at Sound.loadSound(Sound.java:14)
   at Sound.<clinit>(Sound.java:7)
   at Main.<init>(Main.java:42)
   at Main.main(Main.java:153)
19  Game Development / Newbie & Debugging Questions / Re: SOUND on: 2013-08-25 20:17:48
NO I NEED IT NOW I DONT WANT LIBS I AM WORKING ON A LUDUM DARE GAME

20  Game Development / Newbie & Debugging Questions / SOUND on: 2013-08-25 18:48:40
how do i add sound in to a java game not a aplet a GAME !!!!
21  Game Development / Newbie & Debugging Questions / lighting system on: 2013-08-21 21:14:18
i want to make a lighting system like this one
http://www.youtube.com/watch?v=D2Ty48fgkw0

do you know where can i find tutorials for this kind of lighting system?
if you dont any lighting system will do
22  Games Center / WIP games, tools & toy projects / Re: BeepingBoomBox sound effect generator on: 2013-08-21 19:13:33
This is doing great good work Cheesy
23  Games Center / Showcase / Re: Bacteria Sim v0.1 on: 2013-08-21 16:17:34
well 1 bacteria is worth 10 food and if it eats for example 2 it is worth of 12 food so it will drop 12 food when it dies
Cheesy
24  Games Center / Showcase / Re: Bacteria Sim v0.1 on: 2013-08-21 12:47:45
bacterias life is 23 secs long
(in real life more like 23 min)
25  Games Center / Showcase / Re: Bacteria Sim v0.1 on: 2013-08-21 12:46:44
i made this in a 2 hours so will be more things added
i am adding predators right now
26  Games Center / Showcase / Bacteria Sim on: 2013-08-21 11:59:36


My first simulator i i must say it is doing great this was actually warmup for the ludum dare

v.0.1 :
http://i.imgur.com/Rh7YTH0.png
-bacteria
-food (meat(from dead bacteria) , algae)
-AI for bacteria (how,when,where to die , eating , multiplying)
-generate Food left click
http://www.mediafire.com/download/315phv8pgr272oy/Bacteria_Sim.jar

v0.1.1
-better AI
-GUI
http://www.mediafire.com/download/720kz57so3b27zp/Bacteria_Sim_v0.1.1.jar

planed :
-better AI
-GUI

-more bacteria
-genetic modification
-more foods
-better optimization
........
27  Game Development / Newbie & Debugging Questions / Closest x and y ?? on: 2013-08-20 14:59:56
how to seperate the closest x and y and go to that direction
my code
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  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
   int targetX = x;
   int targetY = y;
   public int speed = 5;
   public int dirY, dirX;

   public void moveLogic() {
      getFood1();
      if (targetX != x || targetY != y) {
         int pathX = targetX - x;
         int pathY = targetY - y;

         double distance = Math.sqrt(pathX * pathX + pathY * pathY);
         double directionX = pathX / distance;
         double directionY = pathY / distance;

         double movementX = directionX * speed;
         double movementY = directionY * speed;
         dirX = (int) movementX;
         dirY = (int) movementY;
      }
      move();
   }

   public void move() {
      x += dirX;
      y -= dirY;
   }

   public void getFood1() {
      if (targetX == x && targetY == y) {
         int[] foodX = new int[game.food.size()];
         int[] foodY = new int[game.food.size()];

         for (int i = 0; i < game.food.size(); i++) {
            foodX[i] = game.food.get(i).x;
            foodY[i] = game.food.get(i).y;
         }
         for (int i = 0; i < foodX.length; i++) {
            for (int j = 0; j < foodY.length; j++) {
               if (game.food.get(i).x - x < 40) {
                  targetX = game.food.get(i).x;
                  if (game.food.get(i).y - y < 40) {
                     targetY = game.food.get(i).y;
                  }
               }
            }
         }
      }
   }
 

and it is not working please help
28  Games Center / Showcase / Delete THIS POST on: 2013-08-19 21:30:12
ERROR
29  Game Development / Newbie & Debugging Questions / Libs ? on: 2013-08-18 01:04:07
I never used libs and i want to but i want to start with a simple one but i dont know what to pick ?
30  Game Development / Newbie & Debugging Questions / Tiles on: 2013-08-17 16:12:06
How would you make and render tiles i make 2d array and 2 for loops but i dont think that is good
Help ??
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.

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

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

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

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

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

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

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

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

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

CJLetsGame (195 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!