phew, I can't beleave I read the entire topic in one go.
anyway, to get to the point, here are my ideas (althouh some are already suggested).
function 1, the drawsprite function, has an option to flip it horizontal. could you include a vertical flip option. IMO that is usefull for walking sprites. you would only need one sprite for both left and right.
for the drawmap function, couldn't you create string support for it. I mean, a 10*10 matrix is 911 bytes and a string with a length of 100 is 111 bytes. this would mean people could use 8 strings (one for tiles, one for hit detection, one for events, ect) instead one matrix and stil it would be smaller. you could even use 3 tokens for one tile. example:
"000001002003......098099100->str1
you could even treat non-number tokens as 0, so people could stil hide information in it.
function 8, the getkey function, to support multiple keypresses with 2nd and alpha. it would be usefull as a running button, shooting or as a charge beam while walking or as a sword and shield with zelda like games.
a execasm( command. this way, people can use small routines like the ones found
here. other asm programmers could help with making small hex programs, and people will bug you less with functions for xlib. this will also allow you to delete some functions like the runindicator to make some room, since people can use a hex code for it.
and if you are afraid people will misuse this to create virus programs, then don't be. it is not your responcebility and there isn't anything you can do about it. if someone has the hex code of a virus program, then he/she can just put in a program and use it that way, or they can use omnicalc or celtic3 or something.
and people should make sure that they type the hex code correctly and test it before sharing it.
a linking function. currently, it is really hard to create linked games and a good linking function would really help.
a music function. music in basic would be a bit hard, and not that many people has the right equipment for it, but it would be cool to do.
that are all the functions for xlib, but I do have some other stuff.
does the tokens for the hacked pics work with archive/unarchive. if so, could you tell me/us how to get those tokens, (or create a small asm program that gets the tokens). since
celtic3 includes a group unpacking function, people could use it to create a installing program that ungroups a group with hacked pics and then archive the pics so the user wouldn't need to do it. and if the asmexec( function will be included, people could use
this to archive programs to.
edit: I forgot that celtic included an option for archiving programs
could you explain the screen buffer and the lcd_update in the readme, since I feel a lot of beginning xlib programmers don't know what it is and that it is confusing them.
same go's for the AND, OR and XOR logic to draw a sprite.
could you also include a routine in the readme to detect if xlib is installed, I think a lot of people would find that handy.
maybe update the demo, there are some improvements that can be done.
if backward compatabillity will be broken, then so be it. there are already great games out using xlib, but if there will be more great games with the new version, then IMO it is only a good thing. however, if you decide to break compatabillity, then:
-eather give it a new name (like xlib2 or xlib+), or change the version to 2.00 or something (and chance this version to 1.00)
-name the app itself something different than it now is, so people can have both version on there calc at the same time (just swith a lowercase or an uppercase letter)
-put the download as a new program, instead of updating the current one, so people can still download the old one.
edit: if the links are broken, than it is becouse h t t p somehow is a spamword.