ok this is what i got so far:
1) create map module
2) this is the only line i got:
echo "<center><img src='{$webBaseDir}modules/map/home.jpg'></center><br>";
3) i added .htaccess file:
<FilesMatch "\.(png|jpg|gif|js|css)$">
allow from all
</FilesMatch>
i ran it and all i see is a broken image. i tested the image by uploading it to the location module inside the game, it works! But how do i get it to work inside my map module?
And how do i get it to work when using the Enable text editor?
how do i add image?
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: how do i add image?
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
Re: how do i add image?
Is that new on wiki? Kool! That Should Be easier. I love your engine so much, I wonder if I can use it for something instead of a game. For example: shopping cart, etc...
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: how do i add image?
It was there since I added the feature (long time ago) inside the engine. And yes you could use the engine for other things than a game 
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer