I think he could shave off 1-3 mm to keep it from scrolling though Wink
Yeah, no idea what's up with the scrollbar; I carefully calculated heights so that that wouldn't happen. Meh.
what progess on the back end?
I don't think you included the mm or so at the end of the graphic
It's precisely 2 pixels off; I'm working on figuring out wth.
Backend: substantial progress. Most of the script needed for clients to download map data in place.
awesome. hows map gen coming? you using diamonds-and-squares algorithm?
I'm probably gonna end up with an algorithm I've written myself. Check out a sample output block:

Quote:
169186109.28 s

8 1 0 0 0 -0 0 0 0 0 0 0 0 -0 0 0 0 -0 -0 -0 -0
3 4 0 0 -0 -0 0 0 0 0 0 -0 0 -0 0 0 -0 -0 -0 -0 1
1 1 4 -0 0 -0 0 0 0 0 0 -0 0 -0 -0 0 -0 -0 1 -0 -1
1 0 1 2 0 -0 0 0 0 0 0 -0 0 -0 -0 -0 -0 1 1 1 -1
2 1 1 0 -1 0 -0 0 0 0 0 -0 0 0 -0 0 1 -0 -0 -1 1
3 1 1 0 1 -0 0 0 0 0 0 -0 0 0 -0 0 2 0 -2 -0 0
1 2 1 1 0 -0 0 0 0 0 0 0 0 0 0 -1 0 0 1 1 0
2 0 1 1 0 -0 -0 4 0 0 -0 -0 0 1 -0 1 0 -1 -1 0 -1
1 0 0 0 -1 -0 1 3 5 0 0 -0 1 2 0 -0 1 -0 -0 1 -0
1 0 1 1 1 -1 1 2 0 4 0 1 0 1 -0 -0 -1 -1 0 1 1
1 2 1 0 0 0 0 1 2 1 1 0 -0 1 -1 0 1 0 -2 -0 0
2 1 0 -0 -0 -1 0 1 1 0 0 1 2 1 -1 0 1 0 0 -0 -1
1 1 1 0 1 -1 -0 0 1 0 0 0 -0 -1 1 -1 -0 -1 0 -1 -2
1 1 -0 -0 -0 -0 -1 0 0 0 0 0 0 -0 -1 -0 0 0 -1 0 1
3 1 1 0 0 -0 0 0 0 0 -0 -0 0 -0 -0 -1 -1 -2 -1 1 0
2 2 1 1 1 0 0 0 0 0 0 -0 0 -0 -0 -0 1 -1 -1 0 1
2 1 2 0 0 -0 -0 0 0 0 0 0 0 -0 0 -0 0 -1 0 0 1
2 1 1 -0 0 -0 -0 0 0 0 0 0 0 -0 -0 0 0 -1 2 -1 -1
1 1 1 0 -0 -0 0 0 0 0 0 0 0 -0 0 0 0 -0 -0 -1 -1
2 1 -0 0 -0 -0 0 0 0 0 -0 0 -0 -0 -0 0 -0 0 -0 -0 -1
1 0 0 0 -0 0 0 0 0 0 -0 0 0 -0 0 -0 -0 0 0 -0 -0
scrollbar doesnt bother me. and what is it multiplicity supposed to be about
Not sure yet, to tell you the truth. Smile

Anyway, check it out! Map view now active:
http://multiplicity.cemetech.net/
All I see is the blue square there, does it work in Opera?

lt me try in firefox...


EDIT: ah, I needed to reload the image Wink
And how can I do that?

I have that blue screen...
On your calc? XD
I'm talking about the thing to the right of the blue box. Still working on the applet.
NEVER use <applet> tags. they've been deprecated for as long as I can remember......I could see if you were an old Java head, but someone who's just starting to make applets should not pick up that habit. and Javascript should always be contained with HTML comments. and despite declaring yourself to be XHTML you forgot to close all your param tags with />


various other no-no's as well, but the complete list is here:

http://validator.w3.org/check?uri=http%3A%2F%2Fmultiplicity.cemetech.net%2F


if you get me a copy of your applet source I can check that for any potential bad habits/violated taboos as well.


[edit]


and applets should be packaged in JAR files, not sitting as loose class files on your server.
Fair enough, I added all that stuff since my last checkin with the validator. Smile The <object...> code is pretty ugly though... Razz
KermMartian wrote:
Fair enough, I added all that stuff since my last checkin with the validator. Smile The <object...> code is pretty ugly though... Razz



oh yeah, and you don't have to have the javascript Java check either, you can do that with pure html, similar to the <noscript> tag. The best way to do it is just to make it auto download the plugin if its missing, although there are also ways to specify text to show if the plugin is missing.
elfprince13 wrote:
KermMartian wrote:
Fair enough, I added all that stuff since my last checkin with the validator. Smile The <object...> code is pretty ugly though... Razz



oh yeah, and you don't have to have the javascript Java check either, you can do that with pure html, similar to the <noscript> tag. The best way to do it is just to make it auto download the plugin if its missing, although there are also ways to specify text to show if the plugin is missing.
You didn't actually mention what the <noscript> equivalent tag is...
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html


codebase is the directory where the .jar is stored, archive is the name of the .jar and and code is the name of the .class. everything else is explained there.
Aye, I got it now. It's compiling and executing without errors, which pwns. I'm now making actual progress on this. Map reading from the server works, and I'm working on breaking it into an array.
*bump* With the immensely valuable help of Elfprince and the moral support of a friend lending me a second pair of debugging eyes, I managed to get terrain loading and translation to terrain working. I added a "waterblock" and an orbiting ViewingPlatform for testing purposes. Check out the screenie below; this corner corresponds to the upper-right of the minimap on the screen.

  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 5
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement