It seems I'm doomed!
I think I'm using the sck program correctly, but the generated files aren't right. As I've already explained, the mouse events aren't working, and on top of that, there are lots of extra white lines appearing in the maze that don't seem to exist in the versions available on the web site???
Note:I tried to upload an image to the forum, but it seems that it isn't possible to do so directly
for example in the map_1.html the correct file from the web site is
Code: Select all
function tpT_9_0(tp, class_id){
tp.T_TITLE=tpTitle+" (X=9,Y=0)";return tpTC(tp, class_id, '', "Wall")+"<br>"+addContent("(wall actuator) Double magic missile shooter [data: Fireball]<br>");
}
the same file generated by sck is transformed into
Code: Select all
function tpT_9_0(tp, class_id){
tp.T_TITLE=tpTitle+" (X=9,Y=0)";return tpTC(tp, class_id, '', "Wall")+"
<br>"+addContent("(wall actuator) Double magic missile shooter [data: Fireball]<br>");
}
which is of course not recognized
also some slashes becomes backslashes on my generated version
Code: Select all
var img_potion = '<img src="../../resources/dungeon/images/potion.png">';
becomes
Code: Select all
var img_potion = '<img src="..\resources\dungeon/images/potion.png">';
Here it does not matter but in other places it generates errors?
I am just showing some of the differences in generated files versus files on the web site, but there are a lot of other differences
I am running sck latest version on Windows 11. What I am doin wrong? Why sck generates bad files on my system?
Edit:
As I cannot generate correct files on my machine, I have tried to download them from the Web site, but unfortunately it does not seems possible to get all the files like for example the resources or xml directories. Is there a place to get a zip files of correct output for dm and csb (atari version) ?
Edit Edit:
I have finally downloaded all the html files and fixed the ../../resources to fit the sck out put of ../resources so now I can look at the correct maps with the mouse hover working locally on my machine.
Is sck open source?
I also realize that I may not publish in the place may be
viewtopic.php?t=29028 would be better for sck problems?