catsfolly Posted October 11, 2016 Share Posted October 11, 2016 Just a small question. Why isn't if x>220 and x<35 then doesn't work. And this work around does? if x>220 then goto movethisenemy if x<35 then I think you want an "or" rather than an "and". if x>220 OR x<35 then ... I would also recommend adding some parentheses just for clarity: if (x>220) OR (x<35) then... I like the flames that chase you though. Looks cool! Catsfolly 1 Quote Link to comment Share on other sites More sharing options...
Kiwi Posted October 11, 2016 Author Share Posted October 11, 2016 I got it working. Thank you nanochess and catsfolly. if y<25 or y>230 then if x<35 or x>220 then if badx(i)>vmx then badx(i)=badx(i)-1:gosub enbgscan:if Mcard>5 AND Mcard<14 then badx(i)=badx(i)+1 if badx(i)<vmx then badx(i)=badx(i)+1:gosub enbgscan:if Mcard>5 AND Mcard<14 then badx(i)=badx(i)-1 if bady(i)>vmy then bady(i)=bady(i)-1:gosub enbgscan:if Mcard>5 AND Mcard<14 then bady(i)=bady(i)+1 if bady(i)<vmy then bady(i)=bady(i)+1:gosub enbgscan:if Mcard>5 AND Mcard<14 then bady(i)=bady(i)-1 end if end if 5 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted October 11, 2016 Share Posted October 11, 2016 I got it working. Thank you nanochess and catsfolly. TowerInf3c.gif if y<25 or y>230 then if x<35 or x>220 then if badx(i)>vmx then badx(i)=badx(i)-1:gosub enbgscan:if Mcard>5 AND Mcard<14 then badx(i)=badx(i)+1 if badx(i)<vmx then badx(i)=badx(i)+1:gosub enbgscan:if Mcard>5 AND Mcard<14 then badx(i)=badx(i)-1 if bady(i)>vmy then bady(i)=bady(i)-1:gosub enbgscan:if Mcard>5 AND Mcard<14 then bady(i)=bady(i)+1 if bady(i)<vmy then bady(i)=bady(i)+1:gosub enbgscan:if Mcard>5 AND Mcard<14 then bady(i)=bady(i)-1 end if end if I see that you turned the survivor into charcoal! By the way, if I may make one suggestion on the background, the light-blue (pastel purple) and green combination is not very subtle, so it sort of grabs your attention instead of blending into the background. -dZ. 1 Quote Link to comment Share on other sites More sharing options...
Kiwi Posted October 11, 2016 Author Share Posted October 11, 2016 I see that you turned the survivor into charcoal! By the way, if I may make one suggestion on the background, the light-blue (pastel purple) and green combination is not very subtle, so it sort of grabs your attention instead of blending into the background. -dZ. Do you have a suggestion what combonation of color goes well with the tiles? Quote Link to comment Share on other sites More sharing options...
Tales from the Game Room Posted January 5, 2017 Share Posted January 5, 2017 I like it! 1 Quote Link to comment Share on other sites More sharing options...
+nanochess Posted January 21, 2017 Share Posted January 21, 2017 Hey Chris, you've been so silent, maybe because this is going to cart? 1 Quote Link to comment Share on other sites More sharing options...
Rev Posted January 21, 2017 Share Posted January 21, 2017 yeah, is this ready for release yet? Quote Link to comment Share on other sites More sharing options...
Kiwi Posted January 22, 2017 Author Share Posted January 22, 2017 No, it isn't ready. I'm working on the 2nd building. I finished 4 floors so far. I'm trying to come up with 5th floor with new enemy and the boss on 6th floor. Then the 3rd building will have to be created and possibly the last building as space become more scarce. 48KB/84KB (or 24Kword/42Kword) filled. There's plenty of space I think that can be optimize to buy more space for the 4th building.I didn't have a lot of free time and attention span devote to programming lately. Sorry. 1 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted January 23, 2017 Share Posted January 23, 2017 No, it isn't ready. I'm working on the 2nd building. I finished 4 floors so far. I'm trying to come up with 5th floor with new enemy and the boss on 6th floor. Then the 3rd building will have to be created and possibly the last building as space become more scarce. 48KB/84KB (or 24Kword/42Kword) filled. There's plenty of space I think that can be optimize to buy more space for the 4th building. I didn't have a lot of free time and attention span devote to programming lately. Sorry. Wow, where is the space going to? As I remember, your screens are composed of reusable patterns, so it shouldn't consume too much space in graphics data. -dZ. Quote Link to comment Share on other sites More sharing options...
mthompson Posted January 23, 2017 Share Posted January 23, 2017 Glad to hear that Towering Inferno is still on the front burner (heh heh). This is looking to be a quality game and lots of fun. Quote Link to comment Share on other sites More sharing options...
+save2600 Posted January 23, 2017 Share Posted January 23, 2017 Glad it looks better than its 2600 cousin! Quote Link to comment Share on other sites More sharing options...
Kiwi Posted February 13, 2017 Author Share Posted February 13, 2017 Wow, where is the space going to? As I remember, your screens are composed of reusable patterns, so it shouldn't consume too much space in graphics data. -dZ. Majority of it, unfortunately, is code. For example, the fire enemy move in 8 direction have many lines of code. It also have to peek at the background tile to preventing it going through the wall. Then there's the boss fight where he have several moves he runs through. And the 16 directional controls will probably give another coder, reading over my code, migraine+cluster headache. I think the 2nd boss will put it to 50KB mark. I wanted the first boss to be more expressive and have more animation frames. I'll probably optimize the code when I'm near finish with the product. Then I can put that in. Plus, it need a cool title screen fit in too. Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted February 13, 2017 Share Posted February 13, 2017 Majority of it, unfortunately, is code. For example, the fire enemy move in 8 direction have many lines of code. It also have to peek at the background tile to preventing it going through the wall. Then there's the boss fight where he have several moves he runs through. And the 16 directional controls will probably give another coder, reading over my code, migraine+cluster headache. I think the 2nd boss will put it to 50KB mark. I wanted the first boss to be more expressive and have more animation frames. I'll probably optimize the code when I'm near finish with the product. Then I can put that in. Plus, it need a cool title screen fit in too. If you need help optimising your code, just post some examples and we'll see what we can do. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.