Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (521)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (589)
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 3 ... 7
1  Discussions / General Discussions / Re: my art good no? on: 2014-11-20 13:56:57
thanks :3 well it the UI was made before the other am doing new sprites for that and new sprites for player
as well so it fits in with the rest =D
2  Game Development / Newbie & Debugging Questions / Re: Arraylist removing when 2 of the same object collide!!! on: 2014-11-20 07:59:15
yeah to remove flowers that are on top off etch other!
3  Game Development / Newbie & Debugging Questions / Re: 2D Destructable Terrain / Lemmings / Worms... The easiest way? on: 2014-11-19 14:19:52
here is something cool
<a href="http://www.youtube.com/v/NdHhwXzRfR4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/NdHhwXzRfR4?version=3&amp;hl=en_US&amp;start=</a>
4  Game Development / Newbie & Debugging Questions / Re: 2D Destructable Terrain / Lemmings / Worms... The easiest way? on: 2014-11-19 14:07:22
yeah probs!
5  Game Development / Newbie & Debugging Questions / Re: 2D Destructable Terrain / Lemmings / Worms... The easiest way? on: 2014-11-19 12:10:39
manipulate pixels for terrain and set pixel rgb to what ever when blowtorch is near pixels
6  Game Development / Newbie & Debugging Questions / Re: Arraylist removing when 2 of the same object collide!!! on: 2014-11-19 09:26:06
here!

all flowers has
1  
2  
   protected double xpos;
   protected double ypos;


and
1  
   private Rectangle objectRect;


the objectRect is init like this in tick

1  
objectRect = new Rectangle((int)xpos,(int)ypos,width,height);


so if 2 flowers x and y are = and that flower objectRect is intersecting with the other objectRect then remove it
7  Game Development / Newbie & Debugging Questions / Arraylist removing when 2 of the same object collide!!! on: 2014-11-19 08:03:17
so what i do is i spawn in 1000 flowers with different Colors
and the flowers goes to the block its colliding with!

what i want to do is to check if there is a flower already colliding with that block and remove it from the list if this 2 diffrent flowers
are colliding!

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
         for(Block b : PlayingState.blocks){
            if(getObjectRect().intersects(b)){
               
               if(this.xpos < b.x){
                  xpos = b.x;
               }
               if(this.xpos > b.x){
                  xpos = b.x;
               }
               if(this.ypos < b.y){
                  ypos = b.y;
               }
               if(this.ypos > b.y){
                  ypos = b.y;
               }
               
               if(xpos == b.x && ypos == b.y){
                  //LOOK IF THERE IS 2 IN THE SAME PLACE
                  //THEN REMOVE THE FIRST ONE AND MOVE SECOND ONE THERE INSTEAD
                  choosedLocation = true;
               }
            }
         }
      }


8  Discussions / General Discussions / Re: my art good no? on: 2014-11-19 05:56:20
ty =D for telling me
9  Discussions / General Discussions / Re: my art good no? on: 2014-11-18 19:00:54
thanks =D
10  Discussions / General Discussions / Re: my art good no? on: 2014-11-18 18:56:59
thank you =D
11  Discussions / General Discussions / my art good no? on: 2014-11-18 18:42:06


tell me what you think =D

btw am not good with layers in the game will try to fix that for later =D
12  Games Center / WIP games, tools & toy projects / Re: KeepMeBusy Java2D Game!!! - AI Movement + Pause The Game on: 2014-11-18 07:05:29
Make it say wasted when you die.  Pointing

why not xD
13  Games Center / WIP games, tools & toy projects / Re: KeepMeBusy Java2D Game!!! - AI Movement + Pause The Game on: 2014-11-18 07:05:01
that's a really good idea will totally implement that =D
14  Games Center / WIP games, tools & toy projects / Re: KeepMeBusy Java2D Game!!! - AI Movement + Pause The Game on: 2014-11-17 12:01:37
NEWS!

  • deltaTime added!
  • Particle Effects to health bars for both AI and Player
  • AI has a radius to choose blocks from
  • can now render over 8000 particles at the same time no lag!
  • learning pixels manipluation so i can change from summer to winter fast!
  • you can pause the game
  • pause screen with animation
  • AI dont render if its outside the screen
  • AI has a walking path by random
  • AI follows the player if it hits player detection radius
15  Game Development / Newbie & Debugging Questions / Re: Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 18:12:14
fixed the teleport it was that i was checking all blocks at the same time * speed

that made me teleport to a wall =/ perfect!
but i dont want to teleport
xD
16  Game Development / Newbie & Debugging Questions / Re: Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 17:09:32
could you give me an example? once i learn this i wont need to learn it agine! =D
17  Game Development / Newbie & Debugging Questions / Re: Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 14:33:16
this is how i do it now!

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
      for(Block b : PlayingState.blocks){
         if(b.isSolid()){
           
            //CHECKS
            for (int i = 0; i < speed; i++){
               if(isLeft() && PlayingState.checkCollision(xpos + 1 + PlayingState.xOffset, ypos + height + PlayingState.yOffset)
                     || PlayingState.checkCollision(xpos + 1 + PlayingState.xOffset, ypos  + PlayingState.yOffset)
                     ){
                  left = false;
               }
            }
           
         }
      }
18  Game Development / Newbie & Debugging Questions / Re: Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 14:20:22
i got it to work but now there is another problem....


| = wall
[] = player

when i walk in to it, it some times stops at different places! and sometimes inside the wall!

|[]
| []
|  []
|[]
|  []
|[]
19  Game Development / Newbie & Debugging Questions / Re: Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 14:02:27
its written in lwjgl ,opengl
20  Game Development / Newbie & Debugging Questions / Re: Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 13:55:50
thanks but i dont use openGL or libGDX i use java2D
21  Game Development / Newbie & Debugging Questions / Re: Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 13:40:12
want me to post my movement code? and block class? and input class?

and you might be able to help me ?
22  Game Development / Newbie & Debugging Questions / Well i have tried but cant get it to work "Prevented Collision Detection" on: 2014-11-16 08:21:40
ok first you might wonder what "Prevented CD" is!

"Prevented CD"
you are walking towards a wall and the wall stops the player/you from walking through it!

"Event CD"
you shoot a bullet at a wall "The Bullet" can go through the wall but you most likely remove it and make it disappear

my problem is that i never understand how to create this checks i have tried some tutorials but the collision just makes me go in to the wall then be stuck there i don't get it perfect as i want it and i cant move it back or set new player location then it makes the player sometimes just go on top or at the bottom off the block

i have tried many tutorials so if you could create a good tutorial down below that is easy to read and understand! then thanks!

please help me i just want to move on i have had this problem for over a year now i want to learn how to do it so i don't need to struggle with it anymore!

- VirtueeL
23  Games Center / WIP games, tools & toy projects / Re: KeepMeBusy Java2D Game!!! + Lightning added - Buggy! on: 2014-11-14 06:23:46
made me laugh xD yeah its true will update to devlog 3 today have added alot might do it an open sorce project so ppl can see my code =D
24  Games Center / WIP games, tools & toy projects / Re: KeepMeBusy Java2D Game!!! + Devlogs on: 2014-11-11 05:42:17
is it cause off the collision detection? or some else reason coos i'am gonna do a video explaining how i did it Wink
25  Games Center / WIP games, tools & toy projects / KeepMeBusy Java2D Game!!! - Badass Damage System!!! on: 2014-11-10 12:11:25
Sorce Code will be here on later make sure to follow me on there and so on so you get then new sorce code all the time =D
or just go here and click link xD

follow me on twitter =D for fast updates!
https://twitter.com/Indie_Devoloper

Sorce Code: https://github.com/TheIndieDeveloper/KeepMeBusy

Sorce Code is not added yet Smiley will try to fix that today

hello this game is a game i'am in making off when i got bored feel free to check my devlog out underneath

this game will be kinda rpg looking game
                         """"""
health
mana
special upgrades
spells
shops
upgrades
items
level
ranks
money
energy
quests

the game is in really early stages i have only spent like a night or 2 on it so yup Wink



[Java2D] KeepMeBusy Devlog part 3 - Badass Damage System!!!
<a href="http://www.youtube.com/v/gmilIXM2lWU?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/gmilIXM2lWU?version=3&amp;hl=en_US&amp;start=</a>
shud be up soon!

Subscribe to my youtube!
my goal is 1000 i now have 146
can you help me with it?

feel free to subscribe and share the video so other ppl can see it to =D
26  Games Center / WIP games, tools & toy projects / Re: GNetLib V0.0.0.3 (A Simple Java Networking Library) on: 2014-10-31 21:59:12
when is the demo coming =D
27  Games Center / WIP games, tools & toy projects / Re: GNetLib V0.0.0.3 (A Simple Java Networking Library) on: 2014-10-29 11:42:50
thats a really good function for sending movement and other stuff like msg to all players
really good! keep up bruh! cant wait for the demo =D
28  Games Center / WIP games, tools & toy projects / Re: ZomGame Puzzel Game Update [38] - F#ck Counter or Death Counter ??!!! on: 2014-10-28 14:46:42
well that game looks so mutch better doh xD but in a couple off years i might be able to do a game like that =D
29  Games Center / WIP games, tools & toy projects / Re: ZomGame Puzzel Game Update [38] - F#ck Counter or Death Counter ??!!! on: 2014-10-28 14:05:39
devlog 38 is out and the game starts to look good =D

i now have 133 subs

so here is my goal

[133/1000] subs
30  Games Center / WIP games, tools & toy projects / Re: GNetLib V0.0.0.2 (A Simple Java Networking Library) on: 2014-10-24 04:59:15
put players that you want to kick in hashmap or arraylist
then get ex

name
id
Player
and then kick all players in that arraylist or hashmap
Pages: [1] 2 3 ... 7
 

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

The first screenshot will be displayed as a thumbnail.

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

digdugdiggy (35 views)
2014-11-12 21:11:50

digdugdiggy (29 views)
2014-11-12 21:10:15

digdugdiggy (23 views)
2014-11-12 21:09:33

kovacsa (46 views)
2014-11-07 19:57:14

TehJavaDev (50 views)
2014-11-03 22:04:50

BurntPizza (50 views)
2014-11-03 18:54:52

moogie (65 views)
2014-11-03 06:22:04

CopyableCougar4 (63 views)
2014-11-01 23:36:41

DarkCart (148 views)
2014-11-01 14:51:03
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!