Epic graphics for main menu. However the menu And the game graphics mismatch. The menu looks like emerald and the game graphics looks like pkmn gold. Also, fonts mismatch in combat menu and inventory...
@Quirqful What exactly do you mean by a tutorial? All you need to know is java, and if you don't know any java then this would not be a good first experience with it.
@Quirqful There is less going on than there appears to be. Nothing but a bunch of cheap tricks really. Basic for loops traversing arrays and painting is all that is happening for the most part. If you can learn that then that is 90% of the engine.
@DrkstrInc I like to keep my code as object-orientated as possible. haha eclipse isn't that great but it's better than any other IDE i've used. The player movement is done in the Game.movementLogic(int) and Player.move(float,float)
@MrSystemStatic I have and it's coded in a way that I would not personally code something in. Also I can tell that you use Eclipse, which is an IDE that I honestly despise. Anyway, I'm working on a few things and trying to further my understanding of your game. I will add tile movement and after that I will add tile scrolling.
@MrSystemStatic I would be glad to help. I was originally going to use 2D Arrays as well but the Map Editor program I found saved files in a manner that made 1D Arrays the easier option. Send me a message to my inbox with a download to your source and I'll look over it.
@DrkstrInk I don't understand how that helps since all that the translate method does is change the starting position of where the graphics are drawn, eg: translate(1,1) would set the starting position to 1 so if you go g2.paintWhatever(....,0,0) it would draw at postition 1,1
@DrkstrInc Well, in my game. How i draw everything is i have maps, and each map has tiles, i draw all the tiles on the map and then i draw all of the objects and then the player. I'm not sure where to use the Graphics2D translate method :S
@MrSystemStatic Just take a look at my source code because I draw tile based maps from files and hardcoded objects but mostly in the same manner. Go to my paint method and note the translation code (I believe it involved g casted to 2D named g2, been awhile since I looked over my code) If you get compile errors make sure that you're importing Graphics2D. You will need to have variables set up that keep track of the position of the player and the map if you do it my way. Let me know if you get it
Epic graphics for main menu. However the menu And the game graphics mismatch. The menu looks like emerald and the game graphics looks like pkmn gold. Also, fonts mismatch in combat menu and inventory...
MrDeathJockey 1 week ago
Is there a tutorial for this? Are you able to make one? I would very much like one! Thanks in advance!
Quirqful 2 weeks ago
@Quirqful What exactly do you mean by a tutorial? All you need to know is java, and if you don't know any java then this would not be a good first experience with it.
DrkstrInc 2 weeks ago
@DrkstrInc I know Java, but I am just getting into the 2D side of things, so no tutorial for this then I take it.
Quirqful 1 week ago
@Quirqful There is less going on than there appears to be. Nothing but a bunch of cheap tricks really. Basic for loops traversing arrays and painting is all that is happening for the most part. If you can learn that then that is 90% of the engine.
DrkstrInc 1 week ago
@DrkStrInc Just wondering....
MrSystemStatic 8 months ago
hows it coming along?
MrSystemStatic 9 months ago
@DrkstrInc I like to keep my code as object-orientated as possible. haha eclipse isn't that great but it's better than any other IDE i've used. The player movement is done in the Game.movementLogic(int) and Player.move(float,float)
MrSystemStatic 9 months ago
Just wondering if you had time to look at my source yet.
MrSystemStatic 9 months ago
@MrSystemStatic I have and it's coded in a way that I would not personally code something in. Also I can tell that you use Eclipse, which is an IDE that I honestly despise. Anyway, I'm working on a few things and trying to further my understanding of your game. I will add tile movement and after that I will add tile scrolling.
DrkstrInc 9 months ago
Nice Video
TundraWhip 9 months ago
@DrkstrInc Also, my map is in a 2-dimensional array rather than one like yours, maybe if i send you my source you could give me some pointers?
MrSystemStatic 9 months ago
@MrSystemStatic I would be glad to help. I was originally going to use 2D Arrays as well but the Map Editor program I found saved files in a manner that made 1D Arrays the easier option. Send me a message to my inbox with a download to your source and I'll look over it.
DrkstrInc 9 months ago
@DrkstrInk I don't understand how that helps since all that the translate method does is change the starting position of where the graphics are drawn, eg: translate(1,1) would set the starting position to 1 so if you go g2.paintWhatever(....,0,0) it would draw at postition 1,1
MrSystemStatic 9 months ago
@DrkstrInc Well, in my game. How i draw everything is i have maps, and each map has tiles, i draw all the tiles on the map and then i draw all of the objects and then the player. I'm not sure where to use the Graphics2D translate method :S
MrSystemStatic 9 months ago
@MrSystemStatic Just take a look at my source code because I draw tile based maps from files and hardcoded objects but mostly in the same manner. Go to my paint method and note the translation code (I believe it involved g casted to 2D named g2, been awhile since I looked over my code) If you get compile errors make sure that you're importing Graphics2D. You will need to have variables set up that keep track of the position of the player and the map if you do it my way. Let me know if you get it
DrkstrInc 9 months ago
Same as MrSystemStatic here. Was wondering, do you draw (when mving 1 step to the rigth) everything else 1 step to the left?
Btw: Please fix souce link :)
bartjuh10 9 months ago
@bartjuh10 I have added a download link. It has been on Google Code for a couple of months though.
DrkstrInc 9 months ago in playlist Java Pokemon Engine
Same as MrSystemStatic here. Was wondering, do you draw (when mving 1 step to the rigth) everything else 1 step to the left?
bartjuh10 9 months ago
@bartjuh10 Check my response to MrSystemStatic
DrkstrInc 9 months ago in playlist Java Pokemon Engine
I'm working on a similar game, but I don't know how to do the scrolling. Can you help please?
MrSystemStatic 9 months ago
@MrSystemStatic Graphics2D Translation
DrkstrInc 9 months ago in playlist Java Pokemon Engine
Dude holy crap this is good. o_O Hey if its still possible, could you give me the link for your source code? I really wanna check it out. Thanks.
Dottaiwan 10 months ago
@Dottaiwan code.google.com/p/pokemon-java-engine/
DrkstrInc 10 months ago