Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (576)
Games in Android Showcase (154)
games submitted by our members
Games in WIP (626)
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 ... 12
1  Game Development / Newbie & Debugging Questions / How Do i Random Generate Something like this on: 2015-05-03 11:59:29
is there a way of random generating an image like this (real time) then load it into the game

like real time change 1 image to be like 100+ dungeons real time once



for ex i got this image

dungeon.png (just a blank image)

the code opens it somehow
random generates pixels to what ever they need to be
saves the image
then loads in into the game


(how i load map)
i check the pixels on the image then add blocks to different pixel colours
2  Discussions / Miscellaneous Topics / Re: TheDungeonLooter (LiveStream Coding) (Online!!!!) on: 2015-04-29 18:11:28
we live again
3  Discussions / Miscellaneous Topics / TheDungeonLooter (LiveStream Coding) (ONLINE!!!!) on: 2015-04-19 07:47:37
http://www.twitch.tv/pijellypin


4  Games Center / WIP games, tools & toy projects / Re: GNetLib V0.0.0.3 (A Simple Java Networking Library) on: 2015-04-10 14:39:34
yeah, or just make a new project that is kinda similar to this so its easy to send and receive packets! Smiley
5  Discussions / Miscellaneous Topics / Re: java2D more dynamic lightning WIP on: 2015-03-26 19:28:49
<a href="http://www.youtube.com/v/2rD61qt4mGE?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/2rD61qt4mGE?version=3&amp;hl=en_US&amp;start=</a>

video =D
6  Discussions / Miscellaneous Topics / Re: java2D more dynamic lightning WIP on: 2015-03-25 20:21:18
i cant modify posts for some reason coos i'am still in padded room or what ever so here

the x over the screen defines the side you can click in with mouse to attack the 1.0 is the attack time when the first true is false
the other false goes to true when that is true the timer goes down when the timer == 0 the first true goes back to true Smiley
the dots just shows what blocks are being changed during lighting up Smiley
7  Discussions / Miscellaneous Topics / Re: java2D more dynamic lightning WIP on: 2015-03-25 20:19:52
the x over the screen defines the side you can click in with mouse to attack the 1.0 is the attack time when the first true is false
the other false goes to true when that is true the timer goes down when the timer == 0 the first true goes back to true Smiley
8  Discussions / Miscellaneous Topics / java2D more dynamic lightning WIP on: 2015-03-25 17:37:51
tell me what you think Smiley



forgot to render the light map above player xD
9  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-03-20 21:48:55
get it humble bundle for 1$ with 3 other games =D
10  Game Development / Newbie & Debugging Questions / Re: ingame consol?? on: 2015-03-04 21:23:57
ok that helps little bit thanks =D
11  Game Development / Newbie & Debugging Questions / ingame consol?? on: 2015-03-04 21:14:41
how would i create so players can for example do commands like /help /commands /tp x y z

12  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-27 15:59:00
why the f**k would i sell it on g2a when i say i want it -.-
Ah, always pleasant to have you around. The padded room is on your left.


-.- rly....
13  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-27 09:46:01
i'll take Startopia please =D

No.
Given your history, I can't trust you to not go and do something stupid like sell it on a dodgy marketplace such as g2a.
And I'm not going let someone who has a complete disregard for personal ownership to walk off with two of my keys.

why the f**k would i sell it on g2a when i say i want it -.-
14  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-26 15:28:03
i'll take Startopia please =D
15  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-23 21:37:21
Thanks @NegativeZero for "Plants vs Zombies" =D
16  Game Development / Newbie & Debugging Questions / Re: Minimap using tilemap! on: 2015-02-16 19:20:50
what if i want to move it so it follows where i'am on in the big map?
17  Game Development / Newbie & Debugging Questions / Re: Minimap using tilemap! on: 2015-02-16 13:44:56
could you make an example?
18  Game Development / Newbie & Debugging Questions / Re: Minimap using tilemap! on: 2015-02-16 12:04:05
i use normal java 2d
19  Game Development / Newbie & Debugging Questions / Minimap using tilemap! on: 2015-02-16 11:55:09
this is how i get the tiles


i have an image with different colors in it then i run this code to check what the colors are then add blocks on different colors

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  
      for(int x = 0; x < 100;x++){
         for(int y = 0; y < 100; y++){
           
            int col = map.getRGB(x, y);
           
            switch(col & 0xFFFFFF){
               case 0x808080:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.STONE_1));
               break;
               case 0x404040:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WALL_1).isSolid(true));
               break;
               //////////////////////////////////////////////////////////////////////////////////////////////
               case 0x664A36:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_MID_MID));
               break;
               case 0xFFBB87:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_MID_TOP));
               break;
               case 0xE5A879:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_MID_BOTTOM));
               break;
               
               
               case 0xD89F72:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_RIGHT_TOP));
               break;
               case 0x997051:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_RIGHT_MID));
               break;
               case 0xBF8C65:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_RIGHT_BOTTOM));
               break;
               
               case 0xCC956C:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_LEFT_TOP));
               break;
               case 0x7F5D43:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_LEFT_MID));
               break;
               case 0xB2825E:
                  tiles.blocks.add(new Block(new Vector2F(x*48, y*48), BlockType.WOOD_DOWN_LEFT_BOTTOM));
               break;
               ///////////////////////////////////////////////////////////////////////////////////////////////
            }
           
         }
      }


now how do i create a minimap? i have never done one so would be cool to know how to create one =D
20  Games Center / Showcase / Re: Spaceport Hope on: 2015-02-15 18:40:31
looks awesome!
21  Games Center / WIP games, tools & toy projects / Re: GNetLib V0.0.0.3 (A Simple Java Networking Library) on: 2015-02-14 20:31:14
Im thinking of giving up on kryonet and giving this a go xD
this is awesome it really helps!
22  Java Game APIs & Engines / Java 2D / Re: Simple Bump Mapping in Java 2D + Download on: 2015-02-11 09:09:50
ikr
23  Game Development / Articles & tutorials / Re: Java 2D Game Programming Tutorial For Beginners! on: 2015-02-10 18:25:00
that is true i would watch some more advanced tutorials if there was any =P
24  Game Development / Articles & tutorials / Re: Java 2D Game Programming Tutorial For Beginners! on: 2015-02-10 17:26:01
i have coded for a long time! i'am not a beginner you need to learn the difference between beginner, goodish, tolerable and advanced programmer!

i'am absolutely not advanced programmer but also not beginner!
25  Game Development / Articles & tutorials / Re: Java 2D Game Programming Tutorial For Beginners! on: 2015-02-06 19:01:33
there is 17 tutorials now go and check em out!
https://www.youtube.com/user/InidDevo
26  Java Game APIs & Engines / Java 2D / Simple Bump Mapping in Java 2D + Download on: 2015-01-28 11:55:55
dunno where to post this think it was cool so wanted to share it =D

download is in desc
Made by: ForeignGuyMike
<a href="http://www.youtube.com/v/-uCgyI4t1MU?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/-uCgyI4t1MU?version=3&amp;hl=en_US&amp;start=</a>

27  Game Development / Articles & tutorials / Re: Java 2D Game Programming Tutorial For Beginners! on: 2015-01-26 08:39:40
yup.... *giggles of laughter* used... all my fanta.. *breaks out to laughter* *irl he just looks at screen and ask him self wtf is that about :/ (the giggles/laughter)*
28  Game Development / Articles & tutorials / Java 2D Game Programming Tutorial For Beginners! on: 2015-01-25 15:18:30
For beginners Cheesy

OBS: i forgot to put up a blanket on my wall the sound is little Eco but not much! its really good Smiley next video will have better audio + quality , i recorded in 720p when i was suppose to record in 1280p xD

[EDIT]
forgot to make the video bounds to the screen to i will fix that next time to =/

please leave some feedback, really helps me out and point out if there is anything i can do better, to make the tutorials easier to follow Cheesy


Installing JDK + Eclipse

<a href="http://www.youtube.com/v/r1AbyCeOKNc?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/r1AbyCeOKNc?version=3&amp;hl=en_US&amp;start=</a>


Learning Eclipse Little Better

<a href="http://www.youtube.com/v/kB6fsq6Qpf8?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/kB6fsq6Qpf8?version=3&amp;hl=en_US&amp;start=</a>


GOP

<a href="http://www.youtube.com/v/JTEI9AOPpaw?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/JTEI9AOPpaw?version=3&amp;hl=en_US&amp;start=</a>


Setting up JFrame with GOP

<a href="http://www.youtube.com/v/h8WRWJ4gL9Q?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/h8WRWJ4gL9Q?version=3&amp;hl=en_US&amp;start=</a>





Fullscreen Modes (GOP)

<a href="http://www.youtube.com/v/ND543iriRuE?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/ND543iriRuE?version=3&amp;hl=en_US&amp;start=</a>


Reading Errors

<a href="http://www.youtube.com/v/0FeQi3O_3yQ?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/0FeQi3O_3yQ?version=3&amp;hl=en_US&amp;start=</a>


SpriteSheets (GOP)

<a href="http://www.youtube.com/v/NVURLHtCcD0?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/NVURLHtCcD0?version=3&amp;hl=en_US&amp;start=</a>
29  Game Development / Newbie & Debugging Questions / Re: when i scale game mouse does not scale with frame on: 2015-01-06 09:45:23
i made the window fullscreen instead to solve the problem worked to xD
30  Game Development / Newbie & Debugging Questions / Re: My Gameloop is messing with me!!! Stuck at 30FPS on: 2015-01-05 18:13:05
SomeTimes the player laggs forward coos of deltaTime it goes from 0 up to 5 any fix for that besides fixed TimeStep?
Pages: [1] 2 3 ... 12
 
ClaasJG (37 views)
2015-04-30 20:33:25

Riven (23 views)
2015-04-30 13:25:12

ClaasJG (42 views)
2015-04-27 13:36:51

BurntPizza (49 views)
2015-04-23 03:42:11

theagentd (51 views)
2015-04-22 16:23:07

Riven (61 views)
2015-04-16 10:48:47

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

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

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

bus hotdog (85 views)
2015-04-10 02:39:32
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!