Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (686)
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 3870 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?

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.

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):




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 »


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:

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?

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

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

Dwinin (69 views)
2015-11-07 13:29:08

Rems19 (78 views)
2015-10-31 01:36:56

Rems19 (71 views)
2015-10-31 01:32:37

williamwoles (105 views)
2015-10-23 10:42:59

williamwoles (92 views)
2015-10-23 10:42:45

Jervac_ (106 views)
2015-10-18 23:29:12

DarkCart (133 views)
2015-10-16 00:58:11

KaiHH (116 views)
2015-10-11 14:10:14

KaiHH (155 views)
2015-10-11 13:26:18

BurntPizza (168 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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!