Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search


 [1/5] from: antonr::lexicon::net at: 24-Aug-2004 1:37

Boy it's quiet here at the moment. Only one thing to do - release some code! This is a rudimentary system for creating tile-based maps for games or other tesselated pictures. I plan to use it to spruce up a game I'm making similar to "Extreme Violence" as seen on the Amiga. :) view layout [image load-image/update] do I haven't released any stuff for ages, but I have definitely been working on things... Regards, Anton.

 [2/5] from: Izkata:Comcast at: 23-Aug-2004 10:48

> view layout [image load-image/update >]
> do
Erm, after that screenshot, I reeeaaally wanna try this out, but there's an error when I try that:
>> do
connecting to: Script: "Tile Mapper" (23-Aug-2004) ** Access Error: Cannot open /c/Izkata/rebol/public/ ..r ** Near: do path-thru site/freezer/wake-event-filter.r brush-face: none

 [3/5] from: antonr:lexicon at: 24-Aug-2004 2:30

Ah damn! yeah, Gregg already pointed it out.. Ok, I uploaded necessary files, try it again. Thanks for the feedback.. Anton. p.s. You liked the screenshot, did you? Features two of my *own* icons ! ;)

 [4/5] from: atruter:labyrinth:au at: 24-Aug-2004 11:29

Anton, Looks good except:
>> do
** Script Error: map-size has no value ** Where: save-state ** Near: map-size grid-chk/data map-scale origin-pe/data pos-pe/data
>> map-size: 20x20
== 20x20
>> do
** Script Error: first expected series argument of type: series pair event money date object port time tuple any-function library struct event ** Where: redraw-map ** Near: tile: first section/:pos scaled-image: get-scaled-image-thru Regards, Ashley

 [5/5] from: antonr:lexicon at: 24-Aug-2004 17:53

Hi Ashley, Umm, that's a weird one - can't reproduce it. However, it made me think of the more politically correct way to do the script (without creating a new directory, %state/, in the current directory): url: read-thru/update url ; make sure we have latest version ; move to script's directory in your cache change-dir first split-path path-thru url do %tile-mapper.r Give that a go. That should create the %state/ directory in the cache, not your current directory. By the way, I developed and tested only on View beta Sorry for all the mess, and thanks for trying. Anton.