#1✎ 121ResetReloadNight PersonI like the quiet night and sleep late.Express YourselfIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthVideo GamesI like to play video games!HobbiesHello.
I'm using SCROLL X,Y to scroll the text in my text-based world. It works perfectly fine on the x-axis, but I'm having issues for the y-axis as there is seemingly no way to PRINT any text lower than y0 or higher than y29. I have the text for the environment saved to variables so I'm sure the solution lies with them, but I can't figure it out as of yet.
So, in short:
Can't PRINT text lower than 0 or higher than 29. I want a way to get around this.
I'm using SCROLL.
I'm using text variables.
Does anyone have a solution? The game's code number is 8JE423K4.
Yes, I know the game's code format is probably hideous. It's more of a personal project.
#2✎ 158MochaProbablyExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthNight PersonI like the quiet night and sleep late.Express YourselfDrawingI like to draw!HobbiesI haven't downloaded your game yet, but you can use GPUTCHR which allows you to to place text anywhere and isnt confined to to the the spots LOCATE allows for.
#3✎ 1063randomousOwnerRobotHiddenEaster EggsSecond YearMy account is over 2 years oldWebsiteDrawingI like to draw!HobbiesTry a different approach: make an 8 pixel border around the game on the graphics layer with GLINE or something so new areas are "drawn" in underneath but still within the screen. That way, players don't see the redraws at the edge of the screen but you're still within the 0-29 range.
Also don't forget that printing at the bottom requires a semicolon like PRINT "YEAH"; so it doesn't insert a new line and scroll the screen automatically.
#4✎ 121ResetReloadNight PersonI like the quiet night and sleep late.Express YourselfIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthVideo GamesI like to play video games!HobbiesI got it working. Here’s the working code for anyone interested: NRVEE373
I don’t know how to really explain how I made it work, but I made another variable and put it in the Text$. The variable is the Y value plus 1 per line. If you look at the code it will make more sense.