Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [2D Manipulated Into 3D : FrameRate test?]  (Read 3085 times)
0 Members and 1 Guest are viewing this topic.
Offline GabrielBailey74
« Posted 2012-11-04 02:00:46 »

A project that I've been working on for the past week or more.
Hopefully a few members here are familiar with its origins.
I am bringing this game to the WIP section as a showoff game I guess, but another reason is to see the average FPS count you guys get while playing it.

There's only 2 Display Modes/Resolutions at the moment.
Full-Screen does work, but with my computer it just lags horribly.
You can disable the textures, but it really doesn't make a difference for rendering time.
Each texture at the moment is 32 x 32.
Infinite space?

Movement:
W - Move Forward.
S - Move Backward.
A - Move Left.
D - Move Right.
Left Arrow - Rotate Left.
Right Arrow - Rotate Right.
Shift - Sprint.
Ctrl - Crouch.
Space Bar - Jump
Mouse Wheel Up - Increase Camera Y position.
Mouse Wheel Down - Decrease Camera Y position.

Other Keys:
Escape - Exit (while in game).
R - Disable/Enable Details.
T - Disable/Enable Textures.

Updates:
Start of a Entity System.
1 Hallway, 2 Corridors, and another room.

With the 800x600 Resolution selected, there is a few GUI components visible on the frame for fast in-game variable changing.
The GUI is decorated via JTattoo.

Download Link (Batch file & source files included):
http://www.mediafire.com/?f261hycc8y6lm3s

Pictures:
600x400


800x600:


Full-Screen:


You shouldn't get any errors at the moment.
If your Y position is at 0.0 (ground floor), collision to the rooms walls are applied.
If your Y position is greater than 0.0, no collision is applied, and the speed at which you move is doubled.

Any comments / questions / FPS feedback is welcome Grin

Offline gouessej
« Reply #1 - Posted 2012-11-05 00:45:32 »

Hi

I will give it a try if you use Java Web Start, an applet or an installer of your choice.

Offline Joshua Waring
« Reply #2 - Posted 2012-11-05 03:02:08 »

35 FPS normal

BUT I noticed a weird problem, when ever facing the sides right 90 degrees or left -90 degrees the frames would drop from 35 to 8 or lower, JUST from the change in yaw.

and changing the ceiling level will change the rate which it moves, when I set it to 8 from 16 and then back again weird things happened.

The world is big, so learn it in small bytes.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline GabrielBailey74
« Reply #3 - Posted 2012-11-05 03:34:43 »

Thanks joshua, that's about the same FPS that I was getting, maybe a bit lower.
The FPS drops because the walls/objects were all being double textured lol, as in the front/the back.
Removed that though, so I'm at about 45 average FPS now.

EDIT: Going to be looking into OpenGL/LWJGL over the next few days, try and get familiar with it in a 2D sense.
@Joshua: Did you try a average FPS on Full-Screen?

Offline Joshua Waring
« Reply #4 - Posted 2012-11-05 05:52:21 »

about 10 FPS and 2 FPS looking sideways Smiley


Source Code?

The world is big, so learn it in small bytes.
Offline GabrielBailey74
« Reply #5 - Posted 2012-11-05 06:29:06 »

Ehh, give me a second.
I'll upload what's currently in my IDE, collision is kinda dodgy on this one.
There's 2 hallways + another room, it's newer than the one in the opening post.
Hope you like this version: http://www.mediafire.com/?f261hycc8y6lm3s
 Kiss

Offline masteryoom

JGO Coder


Medals: 5
Projects: 2


If you look closely, you might see it turning...


« Reply #6 - Posted 2012-11-05 08:05:01 »

Hey, are you using minecraft textures?

Smiley
Offline GabrielBailey74
« Reply #7 - Posted 2012-11-05 08:12:55 »

Lol @ me, yes I am, temporarily to get rid of the plain RGB 'texture'.
I don't remember who the texture pack was from.

Offline masteryoom

JGO Coder


Medals: 5
Projects: 2


If you look closely, you might see it turning...


« Reply #8 - Posted 2012-11-05 08:51:38 »

Its probably the original one, with some slight changes.  Tongue

Smiley
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (51 views)
2014-12-03 16:27:13

CopyableCougar4 (48 views)
2014-11-29 21:32:03

toopeicgaming1999 (115 views)
2014-11-26 15:22:04

toopeicgaming1999 (103 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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