It's a fairly good piece of code. you have to do something like if you press the L button then a variable is equal to 1. then if that variable is equal to one it makes the arrows Y location stay the same but the X location is increased each tick. then once the arrows X location is like 400 greater than the characters X location when fired the variable at the beginning is equal to 0 setting up the
Hey Josiah, I was going to add one more thing before I release the beta for this game, knowing that you are a very experienced programer, I was wondering if you are willing to help me. cx
Ever since mid March I think.
Anyways, I want to make it so when I type in a color for the slime (The only available colors now are Blue Red Green and Yellow), it'll stay that color forever until you restart the game. So say I pick red, then the slime would be red the whole game, and it's the same for the other colors. Do you know how to do that?
You could make the program load a new sprite sheet with the slime colored different in each or I believe you can use the spcolor command at different areas in your code (tell me if this helps).
And yes, I am a Christian :)
Well, I already have spcolor, I was just wondering how you would make it so that it stays the color you choose stay that color until you reset it.
Btw Happy Easter! :)
Mine is going great! My brother brought over his puppy. x)
Its not the coloring I need help with, its how to make it that color I pick stay the same for the rest of the game.
So, what I am guessing is that you must have a clearing command of some sort like ACLS. I tried the spcolor command in a program of mine and it stayed the same color the whole time. so I am guessing it must have a clear in there somewhere and if you don't know how to keep the same color after a clear try making the color code a variable. I think this explains it? tell me if so :)
Nvm, I think I screwed it up. xD
I need help, not with the colors, but how to make the color last until I restart the game.
Here's an example: "What color do you want your slime to be? (RED, GREEN, BLUE, or YELLOW) _" (The "_" is where you type your color) And when you pick that color, thats the color of the slime. And if I want to change it, I restart it and go back to this message.