Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Fencer

Pages: [1]
1
Support / 2D games
« on: November 23, 2012, 06:20:36 pm »
Hi guys,

I am quite new to jPCT-AE and my question is, can it be used for 2D games as well? (displaying sprites, transformation, collision detection etc.)  I am currently developing a 2D game for Android but it becomes laggy on standard SurfaceView when several thousand objects are shown (FPS drops below 10) and I would like to avoid to call OpenGL methods directly (it's quite a mess to me), so a good engine that encapsulates them would be handy.

Or is it possible to make a 3D scene and set a camera to simulate a 2D view? (cubes would be projected to squares etc.)

Thanks for any help.
Filip

2
Support / Heightmap terrain
« on: April 05, 2009, 07:43:14 pm »
Is there a simple way how to create a terrain based on a heightmap, using jPCT API? Ideally something that would take an int[][] grid (or similar) containing height values and generate a terrain with some kind of interpolation (to make it smooth) and using provided textures and/or alpha maps to make it look nice?

I hope my request is not too confusing. :-)  But I would like to make a simple "run and fight" game and it would be great if a broken terrain makes it more strategic etc.

Thanks for any tips.

3
Support / MemoryImageSource vs. BufferedImage
« on: May 01, 2008, 05:14:52 pm »
I have noticed that jPCT takes advantage of BufferedImage (if available), otherwise is uses a MemoryImageSource for software rendering (in Java 1.1, right?).

This point caught my attention because I would like to know which method is the best (fastest) one to make a software rendering with an ability to manipulate pixels directly. I read many articles about this topic, some of them say that a MemoryImageSource with an ImageProducer is still the fastest one, some of them claim that BufferedImage is preferred on Java 1.4+, etc. The conclusion is that I am just confused and I am not sure about anything.

Would someone know the answer to this issue?

4
Feedback / RSS?
« on: December 19, 2006, 12:46:33 pm »
Hello,
is it possible to read the jPCT forums via a RSS reader?
It is not too convenient to visit the index page just to find out there is nothing new in the topics I am interested in.

Thanks,
Filip

5
Support / The car demo as an applet
« on: September 25, 2006, 08:00:15 pm »
I would like to use the Car Demo as a classic applet (because I've seen it in this thread) but when I try to convert the existing example to the applet, it doesn't work. Actually, the Java console says all resources have been loaded correctly but the applet window shows nothing, only a black screen.

Since the full code is too long to post it here, would it be possible to download the car demo applet source code? I just want to learn how to use jPCT features in an applet context and working examples are always the best way.

Thank you.
Filip

6
Support / Supported VMs?
« on: September 24, 2006, 01:58:51 pm »
Hello,
I have downloaded the latest jPCT version yesterday and developed a simple applet to try it out. It works great with the Sun's Java plugin but when I try to use Internet Explorer with Microsoft VM (Java 1.1), it throws this exception:

java.lang.NoSuchMethodError: java/lang/Runtime: method availableProcessors()I not found
at com/threed/jpct/FrameBuffer.<init>

Does it mean that jPCT is not compatible with Java 1.1? Or is the problem in the FrameBuffer class?

Thank you.
Filip

http://BrainKing.com

Pages: [1]