|
Post by mekanaizer on Jun 6, 2015 1:15:29 GMT -5
RustyAxe is a TXT based game that I'm developing now along side A.X.E., both now for the Mega Drive/Genesis. RustyAxe is or was a test "platform" for A.X.E. ideas and features. While showing A.X.E. to a friend I talked about the RustyAxe so he played it and he said to released it even if it's a TXT based game because it's fun and has that classic retro appeal. So here it is as is: basic.bin (17.83 KB) v1.0.0. To download CURRENT v1.2.0 see posts below.Have some more ideas, but will implement them later. Sadly some I used CUT and PAST to the A.X.E. source code, but will try to move them back to RustyAxe. While working on both I found some odd things like (that I remember): print " \\\ test ///" 'does not print correct. And since a couple of years ago PUTS does not work right too EDIT #1:New version 1.0.1 Changes since v1.0.0 - improved gameplay (for a TXT based game with a pad) - improved shops - some cheat codes added - and now digging for gold can get a lot more dangerous for you and your man. EDIT #2:New version 1.0.5 Changes since v1.0.1 - HEALTH system added - improved gameplay (for a TXT based game with a pad) - improved shops and new item added and bug fix - new cheat code added - and now digging for gold can get even more dangerous for you and your men. - improved presentation EDIT #3:New version 1.2.0 Changes since v1.0.5 - cleaner source code more flexible - improved gameplay (for a TXT based game with a pad) gfx can easy be implemented now - new cheat code added - and now digging for gold can get even more dangerous for you and your men. - improved presentation
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 6, 2015 5:30:04 GMT -5
print " \\\ test ///" 'does not print correct. The backslash is a so-called " escape character", which is used to insert special commands. So in order to print " \\\ test ///" you actually need to enter " \\\\\\ test ///" ( just like in C++, PHP, javascript etc. ).
|
|
|
Post by mekanaizer on Jun 6, 2015 5:58:49 GMT -5
Hi Titan, thought it didn't apply here, but it apply too.
Did you check PUTS? Puts <Screen Position>, <Expression 1>;<Expression 2>,......
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 6, 2015 7:13:46 GMT -5
print " \\\ test ///" 'does not print correct. The backslash is a so-called " escape character", which is used to insert special commands. So in order to print " \\\ test ///" you actually need to enter " \\\\\\ test ///" ( just like in C++, PHP, javascript etc. ). What would the purpose of the escape character be in BEX? I figured it might be an easy way to include double quotes without having to do: print "elusive said "; chr$(34); "It's party time!"; chr$(34)
But doing: print "elusive said \"It's party time!\""
Doesn't work. Doing \n showed an ASCII symbol, and doing """ will give you 2 double quotes. Just curious is all
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 6, 2015 9:11:37 GMT -5
The PUTS command doesn't seem to work ( properly ) anymore. I just checked a old version of BEX and it works just fine there, but the only difference i could find in the source was that the routine previously used a absolute address, while it now uses a register .. but the content of the register is correct, so the problem must be elsewhere. I wouldn't use any of the built-in PRINT related commands to begin with though ( apart from for temporary debugging ). What would the purpose of the escape character be in BEX? I checked the source and it doesn't seem like it's being used for anything. Since old versions of BasiEgaXorz don't use the backslash as escape character, i suspect it was added with the intent of doing something with it .. but that ( apparently ) never came to fruition. Ask DevSter
|
|
|
Post by mekanaizer on Jun 7, 2015 2:03:01 GMT -5
New version 1.0.1 released.Changes since v1.0.0- improved gameplay (for a TXT based game with a pad) - improved shops - some cheat codes added - and now digging for gold can get a lot more dangerous for you and your men. Download: basic.bin (18.63 KB)
|
|
|
Post by mekanaizer on Jun 7, 2015 15:11:26 GMT -5
New version 1.0.5 released.Changes since v1.0.1- HEALTH system added - improved gameplay (for a TXT based game with a pad) - improved shops and new item added and bug fix - new cheat code added - and now digging for gold can get even more dangerous for you and your men. - improved presentation Before next version the code needs some clean. Download: basic.bin (19.51 KB)
|
|
|
Post by mekanaizer on Jun 24, 2015 17:03:12 GMT -5
New version 1.2.0 released.Changes since v1.0.5- cleaner source code, more flexible - improved gameplay (for a TXT based game with a pad) gfx can easy be implemented now - new cheat code added - and now digging for gold can get even more dangerous for you and your men. Download: basic.bin (21.22 KB)
|
|