| |||
Views: 89,614,737 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 09-27-24 04:47 PM |
|
Guest: Register | Login |
Main - Posts by spel werdz rite |
spel werdz rite |
| ||
Paratroopa Level: 30 Posts: 151/156 EXP: 156244 Next: 9625 Since: 02-19-07 Last post: 4959 days Last view: 1244 days |
That is definitely the worst item for me to render. Also, the link image is clickable for a better picture. |
spel werdz rite |
| ||
Paratroopa Level: 30 Posts: 152/156 EXP: 156244 Next: 9625 Since: 02-19-07 Last post: 4959 days Last view: 1244 days |
For MushROMs, I used a rather comprehensive switch statement to break down every object, and then jump to different codes where it would determine that specific object's properties and write it to a rectangular array containing of indexes of map16 tiles. The whole system is rather complex, but it works. Also, for a map editor, using unsafe code is strongly recommended. I haven't looked through the thread in a while, so it may have already been brought up/done, but I still felt it worth mention. |
spel werdz rite |
| ||
Paratroopa Level: 30 Posts: 153/156 EXP: 156244 Next: 9625 Since: 02-19-07 Last post: 4959 days Last view: 1244 days |
Yeah, it's pretty much pointers and working with the memory directly. It's major advantage is the speed. Cuts drawing time in about half to one-fourth depending on how well executed it is done. The down sides are the limits of what you can get pointers of, and the increased complexity of drawing. Both are minimal and barely weigh down the benefit. I would totally recommend against SetPixel and GetPixel for drawing. |
spel werdz rite |
| ||
Paratroopa Level: 30 Posts: 154/156 EXP: 156244 Next: 9625 Since: 02-19-07 Last post: 4959 days Last view: 1244 days |
Once you use pointers, you'll realize how pathetic even Get/SetPixel is. There's a little more math involved, but it gets the job done if you're a competent programmer.
I may post a little tut on how to get it all done. |
spel werdz rite |
| ||
Paratroopa Level: 30 Posts: 155/156 EXP: 156244 Next: 9625 Since: 02-19-07 Last post: 4959 days Last view: 1244 days |
kinda glad to see this resurrected. I put a lot of work into it to see it die after one post. But I suppose that's the attitude with jSMB. |
spel werdz rite |
| ||
Paratroopa Level: 30 Posts: 156/156 EXP: 156244 Next: 9625 Since: 02-19-07 Last post: 4959 days Last view: 1244 days |
I was able to build your lazyshell source using only .NET framework 2.0. I'd recommend building it under 2.0 instead of 3.5 for Linux users. |
Main - Posts by spel werdz rite |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 59, rows: 77/77, time: 4.773 seconds. |