I recently have a scholar project about making game "Mummy". At first my prof just demand an algorithm, so i made it in text interface like this :
| +-----+-+---+--+--------------++++-++++---------
|J| |X| | | ++++M++++ X
| | --- --+ -+ +- | | | --+ +-+- X+
| | | |X | | |XXX| +X --- | |
| | +-- +-+ +X XX | | | --+ + | | ---+
| | | | +-+- -+ | | -+ X-++ X X|
| | | | | |X |X| --- | | + +X| ++ +X++ +XX -+
| | | | +- X |X| X +XXX+-+ ++ ++ --
| |X| ++ ++ +++XX| --
+---+-+---------------------++-++------+++--+--V
After that, the prof told me that since i have free time, i better off implement a graphic interface.
And then i choose SDL for my project ('cause it's cross-platform, since I use Mac at home, but they use Ubuntu and Win in my school). Following the tutorials over Internet, everything was neat up to now, but, when i try to run it in Ubuntu or window, it's not working. The file .app in the directory "Debug" is treated as it's a directory but an executable file. So now i don't know what to do. What must I do to make it run in Ubuntu or Window ? Plz help me
Thanks in advance.
NGUYEN Quang Anh
| +-----+-+---+--+--------------++++-++++---------
|J| |X| | | ++++M++++ X
| | --- --+ -+ +- | | | --+ +-+- X+
| | | |X | | |XXX| +X --- | |
| | +-- +-+ +X XX | | | --+ + | | ---+
| | | | +-+- -+ | | -+ X-++ X X|
| | | | | |X |X| --- | | + +X| ++ +X++ +XX -+
| | | | +- X |X| X +XXX+-+ ++ ++ --
| |X| ++ ++ +++XX| --
+---+-+---------------------++-++------+++--+--V
After that, the prof told me that since i have free time, i better off implement a graphic interface.
And then i choose SDL for my project ('cause it's cross-platform, since I use Mac at home, but they use Ubuntu and Win in my school). Following the tutorials over Internet, everything was neat up to now, but, when i try to run it in Ubuntu or window, it's not working. The file .app in the directory "Debug" is treated as it's a directory but an executable file. So now i don't know what to do. What must I do to make it run in Ubuntu or Window ? Plz help me
Thanks in advance.
NGUYEN Quang Anh