Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
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  Games Center / Showcase / Re: [Android][Libgdx] Undetected on: 2014-05-30 17:15:40
I copied/pasted the thread from another forum JBAE was pn haha. But yeah the controls are bein fixed and the back button for how to play is at the top left. And the lighting shouldn't affect the visibility of the arrows 0.o
2  Games Center / Showcase / [Android][Libgdx] Undetected on: 2014-05-30 16:55:33


Undetected is a game I have been working on for 3 weeks using Java and Libgdx. I am working along side JBAE who is creating the artwork for the game. The game places you in a maximum security prison where your number one goal is to get away from the many guards patrolling the hallways. You also need to look out for keys that will unlock doors and blueprints that will increase your score! The maps are created by me using my map editor and more will be added weekly!

If you guys find the time, please be sure to try out the app which can be found here or can be found by clicking the image above. Be sure to rate the game and give me some feedback and suggestions for it! Thanks a lot guys!

-Baseball435
3  Game Development / Networking & Multiplayer / My Online RPG Game - Update 2 on: 2013-12-06 03:13:23
Update #2 is finally out! I have added a lot in the past 4 hours or so in my free time and I am very proud and excited of what I've done! Its definitely getting closer to being a full game.

Things Ive Added:
  • Chat
  • Animations
  • Resized the tiles
  • Added in NPC's
  • Added in dialogs for quests and such
  • Reduced lag of the player when moving
  • Redid some code to make it run smoother

Hope you guys like it and please let me know what you all think!

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

-Baseball435
4  Game Development / Networking & Multiplayer / My Online RPG Game on: 2013-12-02 15:50:47
Hey everyone! So about 2 days ago I decided I would start programming an online game because of a video I saw of a very well-done online RPG programmed in Java. It gave me some determination and confidence and led me to what this video is going to show you.

I use the networking library called Kryonet to assist with the networking and keep the code for the networking as clean-looking as possible. I also use the game library LibGDX to help assist with graphics and also the ability to support multiple platforms.

I hope you guys like what I have done so far, it was all coded from scratch by me and I would love to hear you feedback, comments, and suggestions! Thanks a lot!

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

-Baseball435
5  Java Game APIs & Engines / Android / Libgdx Resizing Problem on: 2013-01-17 02:24:15
I am trying to fill the resize function that comes with Libgdx to fit all of the android screens.

I have been searching for a solution for about an hour and a half but have none. The best solution so far is this tutorial: http://www.java-gaming.org/index.php?topic=25685.0 but when I run it on my Galaxy S3 the buttons are really tiny and just overall the whole game is tiny where on the desktop version it is big and the way I want it to be. My resize code right now is:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
        @Override
   public void resize(int width, int height) {
        float aspectRatio = (float)width/(float)height;
        float scale = 2f;
        Vector2 crop = new Vector2(0f, 0f);
        if(aspectRatio > ASPECT_RATIO)
        {
            scale = (float)height/(float)VIRTUAL_HEIGHT;
            crop.x = (width - VIRTUAL_WIDTH*scale)/2f;
        }
        else if(aspectRatio < ASPECT_RATIO)
        {
            scale = (float)width/(float)VIRTUAL_WIDTH;
            crop.y = (height - VIRTUAL_HEIGHT*scale)/2f;
        }
        else
        {
            scale = (float)width/(float)VIRTUAL_WIDTH;
        }

        float w = (float)VIRTUAL_WIDTH*scale;
        float h = (float)VIRTUAL_HEIGHT*scale;
        viewport = new Rectangle(crop.x, crop.y, w, h);
    }

My render code is:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
        @Override
   public void render() {
      // update camera
        camera.update();

        // set viewport
        Gdx.gl.glViewport((int) viewport.x, (int) viewport.y,
                          (int) viewport.width, (int) viewport.height);

        // clear previous frame
        Gdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
       
       ScreenManager.updateScreen();
       
       sb.begin();
       ScreenManager.renderScreen(sb);
       sb.end();
   }

And my variables are:
1  
2  
3  
4  
5  
6  
7  
8  
9  
        private static final int VIRTUAL_WIDTH = 600;
   private static final int VIRTUAL_HEIGHT = 800;
   private static final float ASPECT_RATIO = (float)VIRTUAL_WIDTH/(float)VIRTUAL_HEIGHT;
   
   public static BitmapFont FONT;
   
   private OrthographicCamera camera;
   private Rectangle viewport;
   private SpriteBatch sb;

Like I said, when I run the desktop version it works fine but when I run it on my Galaxy S3, the game is zoomed out a lot, and it crops out the tops and sides of the game which is not what I want at all. If someone could help me that would be great. Thanks!
6  Java Game APIs & Engines / Java 2D / Re: Java 2D - My Rpg Game So Far on: 2012-03-26 19:22:58
You designed the map maker?

Yes I did, I made all of this from scratch with no 3rd party libraries.
7  Java Game APIs & Engines / Java 2D / Re: Java 2D - My Rpg Game So Far on: 2012-03-25 19:27:30
Thats cause it is Tongue
8  Java Game APIs & Engines / Java 2D / Java 2D - My Rpg Game So Far on: 2012-03-25 16:09:33
Hey everyone, this is my first post on this forum and I thought I would start it off by showcasing something I've been working on. Here is a game I've been working on for 1-2 weeks now using Java 2D and here is the two videos that I posted showing what I've made so far! Hope you guys like it so far!

Update Video 1 - Game And Map Editor:
http://www.youtube.com/watch?v=cCXcUX59Evg

Update Video 2 - Game And Map Editor Again :
http://www.youtube.com/watch?v=IwuNoIh6ShE

Update Video 3 - Shops:
http://www.youtube.com/watch?v=41FucmA6HCw

Update Video 4 - Enemies:
http://www.youtube.com/watch?v=5ayfpO0zzZw

~Baseball435
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.

Longarmx (36 views)
2014-10-17 03:59:02

Norakomi (28 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (27 views)
2014-10-15 16:18:58

TehJavaDev (52 views)
2014-10-14 00:39:48

TehJavaDev (54 views)
2014-10-14 00:35:47

TehJavaDev (42 views)
2014-10-14 00:32:37

BurntPizza (63 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (77 views)
2014-10-11 22:30:10
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

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
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!