Hi :-),
I'm creating a Grafoscopio interactive notebook for learning Lua and
making a small video game with the LÖVE 2D game engine, following the
excellent SheepPollution video series[1]. My first video game is now
working (the old classic Pong) and the notebook contains actionable web
links, text notes and code playgrounds for making clerical work
(creating the initial empty .lua files, downloading the libraries,
packaging all as zip files).
[1]
https://www.youtube.com/watch?v=TUPbSJ5wF0k&list=PLM5EvDHhpyTcThnWfeP1459KelemQOBdG&index=1
Precisely, while trying to package the game as a zip file I'm having the
problem that files are archived with their relative path, and so,
they're in a zip with a lot of nested folders (like in my hard disk)
instead of being just zipped in the root of the zip file. The script I'm
using for that is at [2]. There is any way to tell ZipArchive or
ZipNewFileMember that members are not stored with their full path?
[2] http://ws.stfx.eu/OOW0539JDHH2
Thanks,
Offray
Ps: Learning Lua has been a pleasant experience now that I have the
Pharo/Smalltalk foundation and interactive notebooks, powered by it, and
the Lua language is pretty neat also.