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 (688)
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 1204 times)
0 Members and 1 Guest are viewing this topic.
Offline Epitaph64

Junior Devvie

Projects: 1

« Posted 2009-05-13 04: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:

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:

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

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

Junior Devvie

Projects: 1

« Reply #2 - Posted 2009-05-13 16: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.

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

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

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

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

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

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

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

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

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

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

BurntPizza (173 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!