In developing Rimscape, my designer's been thinking, "since so many people are having trouble with the layout built for small scales, let's have another one available for the PC version that'll be good on the large scale."

He's done up some shots for what the new scheme will look like, and while it looks nice, it screams "I eat Java2D for breakfast muhahaha". I'm really gonna need to abstract my rendering code so that I can use either Java2D or OpenGL. I need to have working code using standard Java2D because of the need to support machines that won't handle OpenGL, but I'd like the new layout to be connected to it.

As much time as I'm putting into developing the gameplay aspect of the project, I just cringe thinking about not only having to abstract the rendering code, but to also have to learn LWJGL in order to make this happen. Is anyone interested in perhaps helping make my game render with the option of OpenGL or Java2D?

My initial thought is that I'd probably be willing to pay someone $150 to do it, but don't quote me on that However, to anyone who agrees, I'll be sure to have a price finalized before you undertake the project. Discussions are very welcome. I'm in much need of help :-D Volunteer services are even more welcome, as I'm a broke college kid with nothing more than dreams and a tight budget and like 30,000 lines of code for one game on which I'm the only developer I'm in need of some help here. Thanks!

I have looked at that in the past, but it does so very little. I'd probably have to develop so much it wouldn't be worth the time. Last time I tried it it was essentially useless. I informed the developers of the problems, and when I check the site, their last posted update was a response to my information. That shows that they're really not developing it at all. Also, it's under the BSD license, which totally removes my interest.

Hmmm I'll give J2DA another look then My discussion on their forums gave me the impression that because of the BSD license I would have to pay them royalties for using it. Maybe that was just me misunderstanding.

After re-reading through their forums, the problem, I remember now, was that they plan on re-licensing under GPL after getting mp3 support with a project under GPL. Aside from that, I ran their example, and it was beyond slow, like, literally painful to play under JOGL. It also has no LWJGL support, which always works better for me (and as I've seen in the forums for everyone else also).

So with that said, J2DA is still completely useless. I am still open to anyone who will help me enable LWJGL for Rimscape. I'll pay you AT LEAST $150 and am open for negotiations further.

After re-reading through their forums, the problem, I remember now, was that they plan on re-licensing under GPL after getting mp3 support with a project under GPL.

Damn. Should have licensed original under a "viral" BSD and copied the GPL idea.

The GPL gained ground largely because it prevented other people from "un-GPL'ing" the project at a later date. To "un-BSD" the project and turn it into the GPL (which can never be "un-GPL'd") is real nasty.

The new maintainer seems a bit useless, going by his forum posts: he wants to un-BSD the project (no mention of this on front page, anyone could start using the proejct now and find the project suddenly disappears if they were relying on BSD license) and can't think of a point to having proprietary classes like J2DAColor, and implies that "people who have any expreience of Graphics2D should not be using this library". Maybe not, maybe he's just a bit terse or simply too busy to think before he types, but he just seems unhelpful.

And in my case I don't want a direct link. For Java2D there are a LOT of times when I want to buffer some stuff I've drawn that I should only have to redraw occasionally, whereas in OpenGL that's a BAD thing to do and I wouldn't want to buffer anything. If I just have one code source going straight to J2DA, I can't get any balance of the two strategies, I'd just have to draw everything all the time, making my Java2D mode way slower than it is now. So essentially I really DO need separate rendering code for each mode, especially considering I'd like to throw in some OpenGL effects in here and there when available

Cas has tried a bit to get my started with the Shaven Puppy Gaming Library, but unfortunately the most he has time for is to throw some things at me that he's created which I can't make heads or tails of. I'm completely overwhelmed and unfortunately he just doesn't have the time to give the help his good intentions are trying to give

So essentially... I'm still willing to pay one of you guys to help me Each little tidbit Cas shares with me makes me less hopeful that I can figure this out. Way too much conversion between the two sources is just boggling my brain. As I explained up top, I need someone comfortable with how the LWJGL resources work so that I can create a compatible link. Otherwise I'm afraid I'll just be tugging at Cas's arm all day long trying to get him to baby me along. I don't want to waste anyone's time It's not as simple as me just learning to use basic LWJGL features. It's much more. I have to use them and make all of my GameLizard mess work both ways. That means when I modify Rimscape, I want to be able to upload the same Rimscape code to update the Applet version and the Webstart + OpenGL version.

actually I've just been pondering the idea of how to best organize that. I could go ahead and do the separation/abstraction work so that you could just make parallel classes to go along side the stuff.

I was thinking of a design sorta like...public class Projectile implements ProjectileRenderer {}

and have a ProjectileRenderer that used OpenGL and also a ProjectileRenderer that uses Java2D, right? How exactly would I implement that? I imagine I'd have a big static RenderDistribution class or something that I would call every time I need a new object that has a renderer. But I don't know how the RenderDistribution class would be required to act in terms of the actual code for creating a Projectile with the proper renderer.

holy hell I remember now why I want to pay someone $200 to do this What a mess! This is hard as crap and I have no idea if it's going to work or if I'm doing it right. Big complicated project + never having done this before = big desire to pay someone better with this concept to do it for me.

OK I've organized what the responsibilities of all the Classes I have that have any connection with rendering and tried to catalog what exactly they need to do. Maybe this'll give you a better idea of what I'm dealing with. This should help ME most of all to decide how to organize the code for abstracting all of this. Here it is:

AlloftheMenuimplementations- drawsprites- drawlines- beabletodoallofthiswithincertainClipregionsifnecessary- Java2Dmodeshouldbecachingstuffthatdoesn't change like it currently does, OpenGL mode could juts ignore the state variables deciding whether or not to update and just draw everything every frame- NavMenu o Draws sprites, and lines both saturated with various colors o Draw text of various colors

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