Show Posts
|
|
Pages: [1] 2 3
|
|
2
|
Discussions / Miscellaneous Topics / Re: Eclipse Juno
|
on: 2012-07-30 01:12:29
|
|
I'm quite happy with it D: You can change the design going to window>preferences>general>appareance and select classic. Then restart the workspace! The performance is still the same for me :/
|
|
|
|
|
4
|
Game Development / Game Play & Game Design / Re: Character customization in an mmorpg
|
on: 2012-07-27 16:18:14
|
Or should you be able to choose a new creature from defeated ones when you create a new character and start a new game?
Definitely. Also, you can make an npc(a witch or something) that can transform you from one race to another paying her a lot $$ And pay her again if you want to be normal.
|
|
|
|
|
5
|
Game Development / Game Play & Game Design / Re: Character customization in an mmorpg
|
on: 2012-07-27 15:40:15
|
|
At the begining of the game you could choose what race you want to be and then, as you said, at level 10, 20, 30 etc the appareance change (something like pokemon evolutions)!
Another idea is to have a few base races and then depending on your stats when reaching level 10, 20, 30 etc evolve into one monster or another!
|
|
|
|
|
7
|
Game Development / Newbie & Debugging Questions / Re: Weird moving around the map issue
|
on: 2012-07-27 02:02:40
|
Sorry for the semi-hi jack: Is there a way to insert "system.out.println()" kind of like a break point?
In Eclipse you can write Sysout and then press ctrl+space and it will automatically write system.out.println()! I'ts not what you want, but hey, it's much faster! And with ctrl+D you can delete an entire line! Try it! Hope it helps! 
|
|
|
|
|
8
|
Java Game APIs & Engines / OpenGL Development / Re: Drawing Text using Slick 2D library
|
on: 2012-07-26 15:22:00
|
I've not used slick2d lately but I think I can remember how to do this  -First of all download and install Bmfont: http://www.angelcode.com/products/bmfont/-Open it, press options>font settings and select the font and the size, press ok. -At the main screen you can see checkboxes, press the first one. -Now options>export options in textures select png, press ok. -If you press options>visualize you can see how the image will look. -Finally press options>save bitmap font as... It will give you a png file and a fnt one. Now in Java: -Load the png Image: 1
| public static Image theImage= new Image("/data/images/font.png",false,Image.FILTER_NEAREST); |
-Load the AngelCodeFont: 1
| public static AngelCodeFont font= new AngelCodeFont("/data/images/font.fnt",theImage); |
And then just render it: 1
| font.drawString(x, y, "It's easy!"); |
Hope it helps  EDIT: someone posted before me :c Well if you are using slick2D keep it simple, don't use the lwjgl methods because you don't need to
|
|
|
|
|
10
|
Discussions / Miscellaneous Topics / Re: Preferred OS?
|
on: 2012-06-15 10:46:38
|
I've been using windows since my first computer (12-13 years... and I'm only 19  ) , but a few days ago due to some problems with my laptop(it's 4-5 years old T_T) I formatted it and installed Ubuntu 12.04 and all I can say is: I Love it!  It's a great OS for programmers! But I'm also a musician and I miss some programs of windows(Ableton Live) And the major fail: drivers for hardware. I have a sound card that I've recently bought and I can't use it because there are no drivers for Linux T_T So: -Windows for music edition and also gaming. -Linux for programming. And because I can't choose between music or programming, my preferred OS it's still Windows!
|
|
|
|
|
12
|
Game Development / Newbie & Debugging Questions / Re: Slick2d Loading font images from glyphs
|
on: 2012-06-09 10:12:43
|
What I walways do is use AngelCodeFont class. Take whatever font you want, open it in BMFont play with the parameters and export. The program will export a png/tga file and a fnt file. And then in java: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| private Image img; public static AngelCodeFont font;
public void init(GameContainer gc){
img= new Image("data/fonts/font.png",false,Image.FILTER_NEAREST);
font= new AngelCodeFont("data/fonts/font.fnt",img);
} |
Once you learn to use it is very easy and fast to use it! And for render it just this: 1 2 3 4 5
| public void render(Graphics g){
font.render(10,10,"Hello World!");
} |
And so...where do you want to render the string if not from the render method?o.O Take a look at the javadoc too: http://slick.cokeandcode.com/javadoc/org/newdawn/slick/AngelCodeFont.html Hope it helps 
|
|
|
|
|
14
|
Game Development / Newbie & Debugging Questions / Re: Single Minecraft-like tileset
|
on: 2012-06-08 00:04:57
|
If you are using slick is very simple: Load your image and make a spritesheet: 1 2 3 4 5 6 7 8 9 10 11 12 13
| public class Resources{ private Image img; public static SpriteSheet tiles;
public static void load(){ img=new Image("data/images/tiles.png",false,Image.FILTER_NEAREST); tiles= new SpriteSheet(img,16,16); } } |
Call it in the main class: 1 2 3 4 5 6 7 8 9
| public class Main extends BasicGame{
public void init(GameContainer gc){ Resources.load(); }
} |
And for draw one image of the spritesheet is very simple. Once you have loaded it you can call it from wherever you want: 1 2 3 4
| public void render(Graphics g,GameContainer gc){ g.drawImage(Resources.tiles.getSubImage(x,y),0,0); } |
I hope it's understandable 
|
|
|
|
|
17
|
Discussions / Miscellaneous Topics / Re: The miscellaneous projects image thread
|
on: 2012-05-21 03:31:48
|
Wow guys those screens look awesome!  Something I made: [ img width=640 height=401]http://d3j5vwomefv46c.cloudfront.net/photos/full/562785010.png?key=901565&Expires=1337564758&Key-Pair-Id=APKAIYVGSUJFNRFZBBTA&Signature=AOjUra2SnzTbHbX78b6TeJ~CHfVA92gNPIfihTMtZH~3uUk0ezeBK0p8WHdzeNwfIs5qml4alf7qltoHCqbmwQ9S7lwIHzfG81TUZH5-ppgpsof~yc~CkxiITGqVtkH1gFjHekiL7EXmxy-~CYAkkclDyNvwBJUSvGGEC-6PXIc_[/img]
|
|
|
|
|
25
|
Games Center / WIP games, tools & toy projects / Re: [WIP] Mining Adventures!
|
on: 2012-05-14 23:28:55
|
Isn't that diamond hexagon thing from the Legend of Zelda: Link's Awakening?
It looks cool. Do you plan procedural generation? Also, how large is the map? Do you have the ability to destroy and place stuff like in minecraft, as your game's name suggests?[EDIT] Opps, I just read you blog. It had answers to all my questions.  Ahá!  I don't know yet if I'll do procedural generation but I have that in mind 
|
|
|
|
|
27
|
Games Center / WIP games, tools & toy projects / Re: [HARDLY WIP] WorldOfCube
|
on: 2012-05-14 19:56:02
|
So, I just uploaded the Graphical version of the Updater. The updater is really not very special. And I won't work much more on that one now. Maybe, if someone want's to draw some nice things about this game... There are some things planned for the Patcher, but I will mainly work on WorldOfCube itself now. First, klick on "Download", then klick on "Play". Thats all. Download here: http://dl.dropbox.com/u/45530199/Games/WorldOfCube/WorldOfCubePatcher.jarFor more infos, I'll write a Blog Post just now. Just look at my Signature  And, I'm updating the Topic. Everytime I play it I love it more! You could add more kind of blocks so that we can build awesome things and show you some screenshoots of what we build to keep you motivated!
|
|
|
|
|
28
|
Game Development / Newbie & Debugging Questions / Re: Where to start learning game programming
|
on: 2012-05-13 22:23:10
|
Take those videos as a reference and start playing around with the code! I (and a lot of people) learned from messing around! Learn how to make a basic game loop. Draw a rectangle as a player, make it move. Draw some text. Every little thing you learn will be very useful in the future! And of course...not hurry! Rome was not built in a day!  Good luck 
|
|
|
|
|
30
|
Games Center / WIP games, tools & toy projects / Re: [HARDLY WIP] WorldOfCube
|
on: 2012-05-13 19:46:26
|
This is awesome! I love Terraria so obviously this too  Can you explain a bit your map generation? Once I made some random map generation for a game like this but it was very simple and I don't liked it at all xD And what about the caves, can you explain that too?  Thank you and keep working!  That map generation is really unique i think... Cause I'm creating a planet...  For the caves: thats easy (with some little extras): Cellular Automata (sounds kinda strange.. tomato ..  ) I tried to implement this but never got it working xD I love random generation really!<3 But it's a bit hard to get it working and make it look good. When I become more experienced I'll try again! xD
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|