Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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 / Showcase / Re: The Walking Sprite (My Second game & Halloween Comemoration) on: 2012-11-04 18:52:15
ah yeah, sorry for not respond that, i have make my last post in the work... so i have to write fast.
I do not have plans to add ammo restrictions to pistol, but for the shotgun, yes. Cheesy
2  Games Center / Showcase / Re: The Walking Sprite (My Second game & Halloween Comemoration) on: 2012-10-30 22:48:28
thank you for the replies... and walking dead? never heard of it hehehe...  Roll Eyes

And people, come on! i need feed back, what is bad in my game? what i need to make better?
3  Game Development / Game Mechanics / Re: Calculating angle to mouse on: 2012-10-30 21:29:01
i have made a mistake
this is y coord code:
y -= delta * Math.cos(Math.toRadians(entity.angle));

and try GL11.Rotatef with

angle = angle % 360.0f;
GL11.Rotatef((float)angle...)
4  Game Development / Game Mechanics / Re: Calculating angle to mouse on: 2012-10-30 19:34:31
to move: (Worked in my game. see Walking sprites in show case)
       x += delta * Math.sin(Math.toRadians(entity.angle));
       y += delta * Math.cos(Math.toRadians(entity.angle));
5  Game Development / Game Mechanics / Re: Calculating angle to mouse on: 2012-10-30 19:26:20
this should help:
angle = Math.toDegrees(Math.atan2(MouseY - entity.y, MouseX - entity.x));
6  Games Center / Showcase / The Walking Sprite (My Second game & Halloween Comemoration) on: 2012-10-29 20:18:48
Introduction:
[/b]
 Hi, I am a brazilian guy, have 16 years old, and don't speak english very well, so this is my second game(The thruth is this is my fourth game, but two of my last games are from a tutorial, space invaders and asteroids, both from coke and code tutorials).
 Well I have created this game in my work (Yes, and hiding this from my boss e.e), so I cannot focus much in graphics and sound, sorry about it =/, and sorry if have something write wrong, like i said I do not speak english very well =P.

The Game:
The game focus in killing zombies and making a fort (And A halloween game Cheesy). each zombie have 50% chance to drop a coin, and this coin can give you 5 or 8 golds, also there is differents types of blocks, they are:

Wooden = Only blocks the zombies. and blocks your bullets.
Steel Barricade = Blocks the zombies and do not block your bullets.
Sentry = Shoot in zombies Smiley.
Shovel = Dig holes, that makes zombies fall in. this instant kill a zombie and block the path for 2 seconds.
Water = wet the zombies making them slow.

Bugs:
I do not have so much time to test my game, so is probably to have a lot of bugs. if you find one, please tell me.

Know Issues:
Exit button run away from your mouse: This is not a bug. Cheesy

Download & Feedback
If you like the game, or the ideia, or nothing tell me, or give my tips... please, I will accept them with a smile in the face.

and the download:
Exe version: http://www.mediafire.com/?jdvapwjka3cocf7
JAR version: http://www.mediafire.com/?bf4dbhv7yi791zj
(Only works in Windows. Made with Slick2D)
7  Game Development / Newbie & Debugging Questions / Re: Am I doing this collision check right? on: 2012-09-20 17:58:22
What exactly is bugged?


If the type is the type of object, for instance only specific entity types should collide with each other, then this:

1  
2  
3  
4  
if(rectangle1.intersects(rectangle2))
      {
       if(entities.get(i).type.equals(tipo) || tipo == null)
       {


Should be reversed. You should check to see if the types are the same before checking if their rectangles intersect.
No problem, I only had make something wrong, they are working good now.
And about the tipo, I've put them in the top of ifs. thanks both of you. and sorry for bad english
8  Game Development / Newbie & Debugging Questions / Re: Am I doing this collision check right? on: 2012-09-19 20:56:50
Yeah thanks, but making a one-time rectangle has bugged my game. Tongue its a bejewelled like game.

Edit: nothing, thanks the rectangles worked!
9  Game Development / Newbie & Debugging Questions / Am I doing this collision check right? on: 2012-09-19 19:50:10
this is right?
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
public BEntity collide(BEntity e1, String tipo,float x, float y,float wid, float hei)
    {
     //hitboxWidth = Image Width, hitboxHeight = Image height.
    Rectangle rectangle1 = new Rectangle(e1.x + x,e1.y + y,e1.hitboxWidth + wid,e1.hitboxHeight + hei);
     for(int i = 0; i < entities.size(); i++)
     {
      Rectangle rectangle2 = new Rectangle(entities.get(i).x,
              entities.get(i).y,entities.get(i).hitboxWidth,entities.get(i).hitboxHeight);
     if(e1 != entities.get(i))
     {
      if(rectangle1.intersects(rectangle2))
      {
       if(entities.get(i).type.equals(tipo) || tipo == null)
       {
        return entities.get(i);
       }
      }
     }
     }
     return null;
    }


and the getter:
collide(this,type,-1,+4,-1,-5);
to get the entity on left
10  Discussions / Miscellaneous Topics / Re: Introducing me. on: 2012-09-17 19:25:28
and how do i fix this? to the people don't need to put console commands?
11  Discussions / Miscellaneous Topics / Re: Introducing me. on: 2012-09-16 20:54:17
Sorry for the double link, now fixed ( http://www.mediafire.com/?8cvr4xob8zcuron )
nice graphics in ledodge? well thanks... but u have sure those are nice graphics? hehehe my fish is weird, and that Cow-Skulls are... ugly.
And the KinaFormer are all in portugueses (My native language) =P. i forgot to translate, well lucky this game doesn't have so much texts, they are only in the menu.

And... anyone else can run my games?... thats weird, a lot of people cannot run it...
12  Discussions / Miscellaneous Topics / Introducing me. on: 2012-09-16 18:44:49
Hi to everyone, I made this topic to introduce myself, well... I have 16 years old, learning java since april, I not speak english very well so sorry for the gramatical errors, I'm interested in game Desing since i was 10, with rpg maker and game maker stuff, now decide to learn something with more... freedom... yah its kinda hard to learn a language since I only have used RPG maker, but I'm doing well... kinda.
Since April I have made 3 games. those are:

KinaInvaders (From CokeAndCode tutorial):
http://www.mediafire.com/?1mqoetqhqrr243b

Le~Dodge(My first no-tutorial game, and 1 day to finish)
http://www.mediafire.com/?067pobbak38a487

and the last one KinaFormer(4 days to finish):
http://www.mediafire.com/?8cvr4xob8zcuron

No one of them are fun, or without bugs, i made them more for learning, I save them to track my progess (And Yeah, kina invaders is the best of them =P becouse is derived from a tutorial)
I wish to learn more here, mainly collision stuff and math... Smiley so here is my intro.
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (102 views)
2013-05-17 21:29:12

alaslipknot (112 views)
2013-05-16 21:24:48

gouessej (140 views)
2013-05-16 00:53:38

gouessej (136 views)
2013-05-16 00:17:58

theagentd (147 views)
2013-05-15 15:01:13

theagentd (133 views)
2013-05-15 15:00:54

StreetDoggy (176 views)
2013-05-14 15:56:26

kutucuk (198 views)
2013-05-12 17:10:36

kutucuk (200 views)
2013-05-12 15:36:09

UnluckyDevil (206 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.155 seconds with 21 queries.