R
rainydaypictures
Guest
I'm new to game dev and it's my first time posting in this forum. I'm halfway through the trial period and about 40 hours deep into tutorials, free and purchased, and some playing around. Granted, this is a very short time. I'm just trying to figure out what GMS is capable of. I have a series of tasks I'm trying to create.
Currently, I want a phrase, any phrase, like "to be or not to be," to populate inside a grid in a specific way. The first letter of the phrase could appear anywhere inside the grid, say a 16x20 grid of 32-pixel squares. Then, each additional letter would appear next to the previous in any direction other than the one occupied by the previous. The entire phrase would spell out this way, ignoring spaces between words. Once the phrase is complete, all remaining blank squares would fill with random letters, essentially hiding the phrase. There are some additional functions and checks I'd like to run but that's essentially it for now.
Can GMS2 do this? I can generate the grid and fill it with random letters. I've tried storing the phrase in a 2d array letter by letter and using for loops to generate it but the code to place the next letter in a random direction escapes me. I've tried storing the code in an array to move each letter differently but haven't gotten that to work, either. Ideally, too, the phrase wouldn't be drawn but would be comprised of sprites.
Any guidance would be appreciated. Sorry for the wide gaps in my knowledge. If you can recommend any tutorials you think could get me close, I'll take those, too.
Currently, I want a phrase, any phrase, like "to be or not to be," to populate inside a grid in a specific way. The first letter of the phrase could appear anywhere inside the grid, say a 16x20 grid of 32-pixel squares. Then, each additional letter would appear next to the previous in any direction other than the one occupied by the previous. The entire phrase would spell out this way, ignoring spaces between words. Once the phrase is complete, all remaining blank squares would fill with random letters, essentially hiding the phrase. There are some additional functions and checks I'd like to run but that's essentially it for now.
Can GMS2 do this? I can generate the grid and fill it with random letters. I've tried storing the phrase in a 2d array letter by letter and using for loops to generate it but the code to place the next letter in a random direction escapes me. I've tried storing the code in an array to move each letter differently but haven't gotten that to work, either. Ideally, too, the phrase wouldn't be drawn but would be comprised of sprites.
Any guidance would be appreciated. Sorry for the wide gaps in my knowledge. If you can recommend any tutorials you think could get me close, I'll take those, too.