Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (565)
Games in Android Showcase (151)
games submitted by our members
Games in WIP (606)
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 1110 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.

theagentd (11 views)
2015-03-27 23:08:20

wxwsk8er (52 views)
2015-03-20 15:39:46

Fairy Tailz (46 views)
2015-03-15 21:52:20

Olo (28 views)
2015-03-13 17:51:59

Olo (30 views)
2015-03-13 17:50:51

Olo (37 views)
2015-03-13 17:50:16

Olo (43 views)
2015-03-13 17:47:07

ClaasJG (56 views)
2015-03-10 11:36:42

ClaasJG (41 views)
2015-03-10 11:33:01

Pippogeek (47 views)
2015-03-05 14:36:23
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

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