Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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 1644 times)
0 Members and 1 Guest are viewing this topic.
Offline GabrielBailey74

JGO Knight


Medals: 8
Projects: 6


<3 Java


« Posted 2012-11-04 03: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

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #1 - Posted 2012-11-05 01: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

Senior Member


Medals: 4
Projects: 2



« Reply #2 - Posted 2012-11-05 04: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!
Try the Free Demo of Droid Assault
Offline GabrielBailey74

JGO Knight


Medals: 8
Projects: 6


<3 Java


« Reply #3 - Posted 2012-11-05 04: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

Senior Member


Medals: 4
Projects: 2



« Reply #4 - Posted 2012-11-05 06: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

JGO Knight


Medals: 8
Projects: 6


<3 Java


« Reply #5 - Posted 2012-11-05 07: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: 3


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


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

Hey, are you using minecraft textures?

Smiley
Offline GabrielBailey74

JGO Knight


Medals: 8
Projects: 6


<3 Java


« Reply #7 - Posted 2012-11-05 09: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: 3


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


« Reply #8 - Posted 2012-11-05 09: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (72 views)
2013-05-17 21:29:12

alaslipknot (84 views)
2013-05-16 21:24:48

gouessej (113 views)
2013-05-16 00:53:38

gouessej (108 views)
2013-05-16 00:17:58

theagentd (119 views)
2013-05-15 15:01:13

theagentd (108 views)
2013-05-15 15:00:54

StreetDoggy (153 views)
2013-05-14 15:56:26

kutucuk (176 views)
2013-05-12 17:10:36

kutucuk (173 views)
2013-05-12 15:36:09

UnluckyDevil (182 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.11 seconds with 21 queries.