Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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: Hopefully a basic question about lwjgl/slick2d on: 2012-09-18 08:16:05
Well I want the resolution to be at 1024x768 without actually changing the screen resolution. The only way I know of doing that it to create at image of that size, then draw everything to that image and when you show it on screen u just draw it full screen. The only thing I can do in slick it seems is change the resolution. I basically, in pseudo code, app.setGameResolution(1024, 768);
App.setDisplayMode(1920, 1080);
2  Game Development / Newbie & Debugging Questions / Hopefully a basic question about lwjgl/slick2d on: 2012-09-17 01:10:55
      Dimension dim = new Dimension(1024, 768);
      minWidth = (int) dim.getWidth();
      minHeight = (int) dim.getHeight();
      camera = new Camera(dim);
      GraphicsConfiguration gc = gd.getDefaultConfiguration();
      bi = gc.createCompatibleImage(minWidth, minHeight);

      if(g2d == null)
         g2d = bi.createGraphics();
      Graphics2D g = (Graphics2D) buffer.getDrawGraphics();

      //later this will be used for scaling purposes
         g.drawImage(bi, 0, 0, sWidth, sHeight, 0, 0, minWidth, minHeight, null);
         g.drawImage(bi, 0, 0, sWidth, sHeight, 0, 0, minWidth, minHeight, null);
      if(screenShot) {
         screenShot = false;

the above code is from my game that DOES NOT use lwjgl/slick2d.

what i am trying to do in slick2d is set the displayMode to the users screen size and make it full screen but have the graphics object that is drawn onto be 1024x768, then depending on a boolean, either draw the image to the users screen size, draw to the highest resolution with the aspect ratio of 4:3, or draw the image in the center of the screen at 1024x768. so basically i need access to when the image is actually displayed on the screen if that makes any sense, just like how i have done it in the above snippet. when the game starts it made it full screen but created a compatible image of 1024x768 and i draw everything in the game to that image then just draw the whole image to the size of my screen. (I really hope this made sense)

I guess a better way of asking this question is, is there a way to setDisplayMode() to fullscreen but have all the graphics be drawn onto an image that is 1024x768, then depending on an option either scale the image to fullscreen, scale it as big as a can keeping the aspect ratio, or centering the image and keeping the original size?

NOTE: I do not want to change the users screen resolution.
3  Games Center / Archived Projects / Re: retro style RPG - CONCEPT on: 2012-09-16 04:48:37
currently only java2d. when things start getting heavy (if they do) then i will move to lwjgl and slick2d but for now I am just trying to see how far i can get with writing things from scratch. I will be trying to keep as active as possible since i believe in letting the community know whats going on from the very beggining, that way I can get suggestions and feed back from basically the start. as for help, if anyone wants to help with anything just let me know and we can discuss stuff. I also have a github for this project i just haven't pushed anything there yet. i will start doing that more frequently. In the coming weeks I will be setting up a site and all that other fancy jazz so it is easier to follow development and read more about the story/game play. Thanks for looking Smiley
4  Games Center / Archived Projects / retro style RPG - CONCEPT on: 2012-09-15 19:13:12
Hello everybody my name is Ryan Harrington (krooked590) and I just wanted to show you all the project that I started a few days ago called Church Wars 2D. This game is based upon the older style of games for the snes such as Zelda and Final Fantasy. The video that I am going to post is just a concept of how I want the character creation to work. This is still a VERY VERY VERY early work in progress so everything you see is subject to change. I am going to working on this game mainly by myself but I assure you that I will be working on this game full time and I won't stop until it is as epic as I can make it. My future plans for this game are to make it completely free and also let people have a copy of the server side so people can set up their own servers just like how Minecraft does it. I'm not 100% sure will all the details but just something that I have planned for the future. Here is a link to my channel where there is more information on the game and I will be posting the development process every time I complete a milestone.

If you have any questions/comments/concerns/suggestions feel free to email me either or

Pages: [1]
EgonOlsen (42 views)
2018-06-10 19:43:48

EgonOlsen (22 views)
2018-06-10 19:43:44

EgonOlsen (43 views)
2018-06-10 19:43:20

DesertCoockie (197 views)
2018-05-13 18:23:11

nelsongames (124 views)
2018-04-24 18:15:36

nelsongames (123 views)
2018-04-24 18:14:32

ivj94 (863 views)
2018-03-24 14:47:39

ivj94 (124 views)
2018-03-24 14:46:31

ivj94 (768 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!