Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (113)
games submitted by our members
Games in WIP (563)
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  Game Development / Newbie & Debugging Questions / Re: Render tiles for RPG game on: 2012-04-27 20:34:14
I managed to draw the tiles and now I'm working on the player.

And I have a green bg in the tiles file can I remove it when it renders or is it better to remove the bg from the image file?
2  Game Development / Newbie & Debugging Questions / Re: Render tiles for RPG game on: 2012-04-25 20:07:23
OK,
in the videos I saw they draw a whole image but I'd like to draw only a part of a picture.
In Notch's live he uses only 4 colors in a tile and colors it so it's not good for me.

So I load a picture:
1  
image = ImageIO.read(Game.class.getResourceAsStream("/icons.png"));

And I think I can't do what Notch made because it works only with 8 bit:
1  
pixels = image.getRGB(0, 0, width, height, null, 0, width);

And I need somehow to make a function which gives the tile e.g. getTile(int column, int row);

And then draw it somewhere
I don't know if it's better to make a new function to render 1 tile and call it in the loops or just simply make a function which draws all the background tiles.

edit: I think I found but I'm didn't try it
3  Game Development / Newbie & Debugging Questions / Re: Best way to make a 2D RPG game on: 2012-04-24 18:47:44
Thank you,
Now I'm watching the tutorial of thenewboston: http://www.youtube.com/watch?v=5jb3rOeIiOQ&feature=bf_next&list=SPA331A6709F40B79D
and the live of notch when he was at the ludum dare 22: http://www.twitch.tv/notch/b/302823358
4  Game Development / Newbie & Debugging Questions / Re: Best way to make a 2D RPG game on: 2012-04-21 18:13:08
Ok but what library sould I use?
5  Game Development / Newbie & Debugging Questions / Render tiles for RPG game on: 2012-04-21 16:31:26
Hello,
I'm quite new in Java but I made some Minecraft modding!

And I decided to learn something new.
I think I should make a top view 2D RPG game like Pokémon Cheesy or something like that.
But I don't know where to start.
I think Catacomb Snatch is pretty similar to the game I want but with new textures of course. I don't know if it's easier to modify it or start from the basics.
And I don't know - if I need any - which game engine or library should I use.

So please help me and if I missed something just tell me Wink
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (16 views)
2014-09-12 09:08:26

Norakomi (50 views)
2014-09-10 13:57:51

TehJavaDev (58 views)
2014-09-10 06:39:09

Tekkerue (27 views)
2014-09-09 02:24:56

mitcheeb (50 views)
2014-09-08 06:06:29

BurntPizza (34 views)
2014-09-07 01:13:42

Longarmx (20 views)
2014-09-07 01:12:14

Longarmx (23 views)
2014-09-07 01:11:22

Longarmx (22 views)
2014-09-07 01:10:19

mitcheeb (31 views)
2014-09-04 23:08:59
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!