[Gambas-user] App Path

Devin Hassan ultimamystic at ...67...
Sat Jun 12 06:19:44 CEST 2004


Hello,
This is how I load my tiles.
e = "/home/Devlin/SlayerMap/Dungeon/0073.png"

As e is the variable I use to display the tile.

My question here is how can I load the tile from the App Dir?
like "/SlayerMap/Dungeon/0073.png"

This of course does not work. and if I enter the above code it will only 
work on my computer because everyone does not have the /Devlin directory on 
there computer. So how can I load my tiles in the
/Dungeon directory using code that lets me load out of the app path.
I have over 350 tiles in my map editor so far. Thanks

Devlin

_________________________________________________________________
MSN 9 Dial-up Internet Access fights spam and pop-ups � now 3 months FREE! 
http://join.msn.click-url.com/go/onm00200361ave/direct/01/





More information about the User mailing list