Can somebody help me? Im trying to make a snake game, i already made the controls and the snake (wich is just squares) but i dont know how to make it so the "tail" dissappears acording to the score (Score=1 then theres only two squares). Here are the details: -Theres a SCORE variable. -I made XE and YE variables to locate where to print a black square so the "tail" dissappears. [Character Limit]
This may at first look like the world's ugliest Hello World program, but what if I said this is the compiled code of a Hello World program in brainf---? Yes, I've made a brainf--- to SmileBasic compiler, and this is an example of the result.
Ha, you'll never get me! RPG Log 11: Missed me? Well, I've been busy with... other things... but I did add stuff. For starters, now your eyes get to stare at this wonderful BG during battles. If you have a better one, I would LOVE it. I also added circle-pad controls, new music for your house, and more data. Gotta love that android... I also added 4 battle musics, all of which are standard tracks.
I finally figured out how to word-wrap! Search for the space that's nearest to the end of line mark, break from there by printinh only the part to the left of said space, then run the rest of the text to repeat the process until it's shorter than width, then print the rest. Thanks to ZAEBRKR who pointed out the bug when I was only using 1 variable!
PUSH and MxN Arrays
I'm aware of PUSH along with its counterparts and how they work with single dimensional arrays. VAR Foo PUSH Foo, 3 PUSH Foo, 999 etc. Is it possible to PUSH (and POP) a multidimensional array? ie: VAR Foo[0,2] VAR bar: bar=111: bar=444 PUSH Foo, bar0そうだね