STGraves Posted June 27, 2015 Share Posted June 27, 2015 Hello, is there a possible way to detect the collision of a player with a specific part of the playfield, not the entire one though, just the very right side of it. Quote Link to comment Share on other sites More sharing options...
ZackAttack Posted June 27, 2015 Share Posted June 27, 2015 Couldn't you just check the X coordinate in addition to the collision flag? Quote Link to comment Share on other sites More sharing options...
STGraves Posted June 27, 2015 Author Share Posted June 27, 2015 Well I tried but it doesn't allow me to jump back to the previous screen, basically what I want to do is on the main screen which has 4 paths, it is in the shape of a cross, I've only done the left screen so far, as soon as the player touches an specific coordinate on the x axis it takes you to the left screen, it works, but it doesn't when I try to return to the main screen, I think I added the correct code for that to happen, though I'm not sure. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 27, 2015 Share Posted June 27, 2015 can you post the code? what it should do, would be if player0x>165 then goto another_screen Quote Link to comment Share on other sites More sharing options...
STGraves Posted June 28, 2015 Author Share Posted June 28, 2015 Here is the code, I've encountered that bblint says that I'm missing one end command, but I can't find where it goes, maybe it has something to do with the game not working properly, well anyway, I've only added the left screen, when you get to the left from the main screen it takes you to that screen, and what I want is that when you touch the very right of the new screen to get the character returning to the main one, sounds confusing and I don't know if you understand me etsrevstg.bas 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.