westin444 Posted December 13, 2010 Share Posted December 13, 2010 ah well. I suppose that was back when I was try to draw the ES way. With huge tilesets that didn't fit into RAM. Anyways, I ended up using JOGL. Link to comment Share on other sites More sharing options...
Robin Posted December 13, 2010 Share Posted December 13, 2010 Using ES as a reference for programming _anything_ is bloody stupid. Link to comment Share on other sites More sharing options...
westin444 Posted December 13, 2010 Share Posted December 13, 2010 I know that now. This was b4 EO Link to comment Share on other sites More sharing options...
Robin Posted December 13, 2010 Share Posted December 13, 2010 @314piwm:> I know that now. This was b4 EOHow is that an excuse? If you know even the first thing about programming you should know that ES is horrible. Link to comment Share on other sites More sharing options...
westin444 Posted December 13, 2010 Share Posted December 13, 2010 I was creating a client not a client-server combo. I wanted my client to work with all the games that already had been developed, after those individuals added their own features and be able to utilize the current server, maps, and everything, just be written in Java so it could be embedded and multi-platform. Link to comment Share on other sites More sharing options...
Robin Posted December 13, 2010 Share Posted December 13, 2010 So you wanted to make a client to a shit server purely for the people who're too lazy to port their games?lolnty. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 13, 2010 Author Share Posted December 13, 2010 @314piwm:> ah well. I suppose that was back when I was try to draw the ES way. With huge tilesets that didn't fit into RAM. Anyways, I ended up using JOGL.you do know that Java support png, right?Also, you dynamically load them. It is beyond simple to dynamically allocate something in Java. HashMaps/HashTables/Vectors/LinkedLists/Stacks Link to comment Share on other sites More sharing options...
westin444 Posted December 13, 2010 Share Posted December 13, 2010 Yes, and yesI did both of those.the 10 default tilesets, optimized in png format, plus all the other graphics didn't fit.In my version of EO I was using a hashmap for the graphics, using a class that contained an opengl texture and a variable for the time it would be removed from ram. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 13, 2010 Author Share Posted December 13, 2010 you do know that if you use OpenGL, you don't want to render each tile. Try repeating Link to comment Share on other sites More sharing options...
westin444 Posted December 13, 2010 Share Posted December 13, 2010 What do you mean?I do use a linked method, so I don't have so many vertices. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 13, 2010 Author Share Posted December 13, 2010 @314piwm:> What do you mean?> I do use a linked method, so I don't have so many vertices.using uv mapping to repeat the sequence on tiles. Link to comment Share on other sites More sharing options...
westin444 Posted December 13, 2010 Share Posted December 13, 2010 I believe so, yes. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 13, 2010 Author Share Posted December 13, 2010 if I were to swap out the AWT graphics engine for the JOGL engine, it should actually improve. I think the current build of my JOGL lib gets like 800fps while AWT gets 333fps Link to comment Share on other sites More sharing options...
westin444 Posted December 13, 2010 Share Posted December 13, 2010 well the fact that I got terrible AWT speed might have something to do with my junky graphics card.JOGL is instant, didn't bother to calc fps. AWT took forever, and if I wanted to ever handle 3D or any of that I figured I would just use JOGL. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 13, 2010 Author Share Posted December 13, 2010 @314piwm:> well the fact that I got terrible AWT speed might have something to do with my junky graphics card.Im using an Intel Mobile G Series 4 (3.2 Windows score)Changelog (for next update):-removed limitations on NPCs, Player, MapItems, Items, etc-optimized Image Cache system-reduced ram consumption (~20mb max)-reduced cpu overhead-improved FPS (I get 500 now as opposed to 333)OP is updated with this Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 13, 2010 Author Share Posted December 13, 2010 Check OP for updated client.```* * *```**Instructions**Download modded EO (See OP) and run "Server-modded.exe"Client is embedded on OP```* * *```Please report back with FPS, OS, and java version (if you know how to get it)I get 500fps (Windows7 32bit, Java 1.6.0_22 32bit) and 500fps (Ubuntu 10.10, Java 1.6.0_20 64 bit) Link to comment Share on other sites More sharing options...
Marsh Posted December 14, 2010 Share Posted December 14, 2010 Looks awesome Zetta :), btw the messagebox's will pop up on the main monitor even if the client is running on another monitor. Not really a issue but thought id let you know. Its kind of wierd but awesome that it will run fine in the browser without the library files. Link to comment Share on other sites More sharing options...
Ertzel Posted December 14, 2010 Share Posted December 14, 2010 Looks rlly cool. Trying to play around with it a little now :D Link to comment Share on other sites More sharing options...
SawQuart Posted December 14, 2010 Share Posted December 14, 2010 So can Macs run on this since it goes through the Java applet? I don't have one, I'm just curious. Link to comment Share on other sites More sharing options...
westin444 Posted December 14, 2010 Share Posted December 14, 2010 They should. I have Ubuntu 10.10 and it works just fine. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 14, 2010 Author Share Posted December 14, 2010 @Jungletoeâ„¢:> So can Macs run on this since it goes through the Java applet? I don't have one, I'm just curious.as long as they have Java1.6 installed.for linux: Dont use OpenJDK; you get over 10x more fps if you us java-sun6 Link to comment Share on other sites More sharing options...
westin444 Posted December 14, 2010 Share Posted December 14, 2010 Oh yes. I found that out after I tried to be lazy and use the software center XD Link to comment Share on other sites More sharing options...
dlom Posted December 14, 2010 Share Posted December 14, 2010 Naughty. 1\. Open Software Centre –> Edit --> Software Sources2\. Go to "Other Software" Tab and select "Canonical Partners"3\. Search for " sun-java6-jre" and install this package Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 14, 2010 Author Share Posted December 14, 2010 @314piwm:> Oh yes. I found that out after I tried to be lazy and use the software center XDor just download from [here](http://www.java.com/en/download/installed.jsp?detect=jre&try=1) Link to comment Share on other sites More sharing options...
Smallbro Posted December 14, 2010 Share Posted December 14, 2010 Man, I can't believe I didn't click this. I thought it was another exe compiler thingy.Nice job. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now