|
Mojomonkey
|
 |
«
Reply #241 - Posted
2003-09-30 19:11:37 » |
|
Just played with your newest version 0.0.19a
When hitting F1 I crash to the desktop. Win 2K Geforce 3
Edit: Passed this info to you in the game.
|
Don't send a man to do a monkey's work.
|
|
|
Markus_Persson
|
 |
«
Reply #242 - Posted
2003-09-30 19:30:25 » |
|
I think I've fixed that bug now. I got a bit thead-confused, and tried to perform opengl commands from the awt dispatch thread.
Note to self:
OpenGL from the awt thread = crash awt from the OpenGL thread = deadlock
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Markus_Persson
|
 |
«
Reply #243 - Posted
2003-10-05 16:37:04 » |
|
There we go! First version of the water is FINALLY done. =D ScreenshotTry typing "/wurm.setDrawWater(true)" in Wurm now. w00t. Oh, and I've added Joal support, but couldn't find the linux or macos binaries (do they exist?), so you'll only get sound on windows. And the only sound right now are kinda quiet footssteps.
|
|
|
|
|
cfmdobbie
Senior Devvie    Medals: 1
Who, me?
|
 |
«
Reply #245 - Posted
2003-10-20 18:57:46 » |
|
Nice!
|
Hellomynameis Charlie Dobbie.
|
|
|
Markus_Persson
|
 |
«
Reply #246 - Posted
2003-10-20 19:05:32 » |
|
Thanks. =)
Z-sorting the alpha-blended particles turned out a bit trickier than I thought. A TreeSet only sorts on entry, and Collections.sort(List) is slow.. I ended up writing my own SortableList class based on some "Enhanced Quick Sort" algorithm I found after googling for some time.
|
|
|
|
Preston
|
 |
«
Reply #247 - Posted
2003-10-21 06:35:41 » |
|
Thanks. =)
Z-sorting the alpha-blended particles turned out a bit trickier than I thought. A TreeSet only sorts on entry,
Yes, the TreeSet of the the Java collection framework doesn't help if you've to sort the entire "list" again, for example... and Collections.sort(List) is slow.. Bad news for me. I intended to use this Collections.sort(..) for my alphablended surfaces too. Isn't there any faster way in the Java builtin framework? Java 1.5 maybe?
|
|
|
|
Markus_Persson
|
 |
«
Reply #248 - Posted
2003-10-21 08:19:54 » |
|
I can post the SortedList I hacked together when I get back home tonight. It seems really fast, and it doesn't create a bunch of new objects.
|
|
|
|
elias
|
 |
«
Reply #249 - Posted
2003-10-21 13:21:57 » |
|
You might be interested to know that Cas did something like that in his SPGL lib. I think he radix sorted the sprites.
- elias
|
|
|
|
Games published by our own members! Check 'em out!
|
|
princec
|
 |
«
Reply #250 - Posted
2003-10-22 16:19:51 » |
|
Radix sort is the way to go, it's an order of magnitude faster than Collections.sort() and ultimately it sorts in 5 log n speed instead of n log n which I believe Collections manages. Cas 
|
|
|
|
Orangy Tang
|
 |
«
Reply #251 - Posted
2003-10-23 07:04:14 » |
|
Radix sort.. isn't that the one where you progressivly sort numbers depending on their most significant bits? Isn't that magic '5' in your big-O dependant on how many bits you need for your numbers to be sorted?
|
|
|
|
abies
|
 |
«
Reply #252 - Posted
2003-10-23 07:04:32 » |
|
There are two problems with radix sort:
1) You need specific representation of value to be compared. Compare function is not enough, you need actual number. Think about comparing strings - if you can convert given value to string (for example number to hex representation), you can use radix sort.
2) It is memory consuming. A lot of sort routines work in place or needs at most double memory. With radix sort, if you want to be on safe side, you need multiple of n memory - and faster you want to be, more memory you need.
As for stability, AFAIK radix sort is stable, but as it is mostly used for numbers/strings, it is not important anyway.
|
Artur Biesiadowski
|
|
|
Preston
|
 |
«
Reply #253 - Posted
2003-10-23 07:15:28 » |
|
Good annotations. The memory consumption of a sort algorithm is important too in many cases.
PS: Maybe we should move our "sort algorithm"-discussion to another thread? :)
|
|
|
|
Markus_Persson
|
 |
«
Reply #254 - Posted
2003-10-23 07:19:18 » |
|
Threadjackers!! 
|
|
|
|
|
benny
Junior Devvie  
Java rocks! But then again anime rocks too!
|
 |
«
Reply #256 - Posted
2003-10-25 20:21:57 » |
|
How do you go into the water. It seems that I am walking across it. And you seem to be able to jump incredibly high by continually pressing the jump button.
|
Windows XP Professional Pentium II 450 MHz with 256 MB of SD-RAM 64 MB GeForce4 MX-440 SE
Arnold Schwarzenegger runs for governor: Lets cut violence in half with a laser guided machine gun across the barren, charred wastelands--for the children.
|
|
|
Markus_Persson
|
 |
«
Reply #257 - Posted
2003-10-25 20:28:00 » |
|
You can't dive, so you just swim across the water.
And.. eh.. the jump button hasn't been in the game for a month or so now. Are you sure you're running the latest version?
|
|
|
|
benny
Junior Devvie  
Java rocks! But then again anime rocks too!
|
 |
«
Reply #258 - Posted
2003-10-25 20:33:40 » |
|
Hmm, maybe not. Gotta fix. 7 fps with graphics all high. Playable. Can you also make it so that you don't have to have internet in order to play offline mode?
|
Windows XP Professional Pentium II 450 MHz with 256 MB of SD-RAM 64 MB GeForce4 MX-440 SE
Arnold Schwarzenegger runs for governor: Lets cut violence in half with a laser guided machine gun across the barren, charred wastelands--for the children.
|
|
|
Markus_Persson
|
 |
«
Reply #259 - Posted
2003-10-25 20:34:52 » |
|
No, offline mode is a very unsupported feature that will be removed fairly soon. =)
In fact, I don't think it works any more.. haven't tried.
|
|
|
|
Markus_Persson
|
 |
«
Reply #260 - Posted
2003-10-30 20:25:38 » |
|
Snow! Unfortunately not visible on alpha.wurmonline.com yet.  Click the thumbnail for the full image.
|
|
|
|
swpalmer
|
 |
«
Reply #261 - Posted
2003-10-30 21:05:46 » |
|
Awesome, now you have to make the flowers wilt and the grass turn brown  Oh, and I want animated rivers when it all melts in spring 
|
|
|
|
Markus_Persson
|
 |
«
Reply #262 - Posted
2003-10-31 07:11:38 » |
|
Yeah, I'm working on a proper season interpolation engine.. should be pretty nice.
Rivers and streams are already implemented, but not used ingame yet as there are some gameplay/server performance issues. We'd LIKE for them to dynamically form new lakes, and make it possible for players to build dams and so.. but what if you flood a town or a cave? What should happen? Tricky stuff. But we'll solve it. =)
|
|
|
|
swpalmer
|
 |
«
Reply #263 - Posted
2003-10-31 13:36:36 » |
|
We'd LIKE for them to dynamically form new lakes, and make it possible for players to build dams and so.. but what if you flood a town or a cave? What should happen? The non-player characters that live there will come and break down your dam (hard code it so that they will succeed) and then attempt to kill you. Problem solved 
|
|
|
|
swpalmer
|
 |
«
Reply #264 - Posted
2003-10-31 13:39:31 » |
|
It would be quite cool if you could drown dragons hiding in caves that way  . Just build in some way for the dams to fail.. (things break, eh!) and then trigger that failure if the dam is doing to have a damaging effect on the game play. It might be tricky to determine when the dam is ruining the game though.
|
|
|
|
Markus_Persson
|
 |
«
Reply #265 - Posted
2003-10-31 15:24:28 » |
|
Are you sure you've thought these suggestions through properly? 
|
|
|
|
swpalmer
|
 |
«
Reply #266 - Posted
2003-10-31 19:12:06 » |
|
Heck no! I'm just babbling until someone lets me know I said something that makes sense. 
|
|
|
|
Markus_Persson
|
 |
«
Reply #267 - Posted
2003-10-31 19:40:29 » |
|
You're CEO material! =D
|
|
|
|
Jeff
|
 |
«
Reply #268 - Posted
2003-11-01 03:42:05 » |
|
Doesn't work on my OSX tiBook.
Are you PC specific at the moment? if so you should say that in your requirements. (or better yet, fix it. this IS java and we DO have JOGL for the mac...)
|
|
|
|
Markus_Persson
|
 |
«
Reply #269 - Posted
2003-11-01 07:57:18 » |
|
No, it's not PC specific, and the requirements clearly states that "Wurm might refuse to run". I don't have access to a Macintosh, so I haven't been able to test on it. How 'bout posting the actual error?
Then again, considering it's still alpha, I don't worry too much what devices it runs on.
|
|
|
|
|