Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
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  
  Platformer WIP  (Read 1016 times)
0 Members and 1 Guest are viewing this topic.
Offline Epitaph64

Junior Member


Projects: 1



« Posted 2009-05-13 06:20:04 »

I've been working on a platformer, since I want to transition away from just using grids to manage game interactions Smiley Anyways, here's the result of a couple days meanderings: http://www.mediafire.com/download.php?ommu3zetimk

I still am working out some things with it, and it's mostly a tech demo, but I did make a very crude level editor that does work. Also, a screenshot is available here: http://validopinion.wordpress.com/2009/05/12/java-platform-game-experiments-continue/

Offline CyanPrime
« Reply #1 - Posted 2009-05-13 07:31:16 »

Uses a lot of processing power, but it's fun. Starts out slow though.
Offline Epitaph64

Junior Member


Projects: 1



« Reply #2 - Posted 2009-05-13 18:23:41 »

Thanks, yeah. I use an AMD 3000+, haha, but since I have an 8800GTS is runs really smooth for me, but I didn't realize the high graphics card requirement of the skybox. I made a boolean switch for now to turn off the advanced skyboxish thing for a static one, and that upped the frames on my laptop from 25, to 85. I might upload that one soon, but I'm at school atm.

I'll look into optimizing it a bit too, but since I'm quite new at Java, it may be hard for me ^_^

On my laptop I use about 21% of both cores, which is quite a lot, so I'm pretty sure there are some optimizations I *could* make. If I turn on the dynamic background the processing stays the same, but the fps drops considerably, so I think it's probably something else. I'll probably go through it with hotspot later and try some noob-like optimizations Evil

EDIT: this method is taking, by far, the most CPU usage. Of course, it's the main draw method for all the tiles in the game. If anyone has any recommendations to speed it up, I'm all ears. As of now, I get a box around the player, and draw tiles from the map [][] to the screen that are visible. http://epitaph64.pastebin.com/m58620729

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.

Riven (11 views)
2014-07-29 18:09:19

Riven (8 views)
2014-07-29 18:08:52

Dwinin (9 views)
2014-07-29 10:59:34

E.R. Fleming (25 views)
2014-07-29 03:07:13

E.R. Fleming (10 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (27 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!