Into The Sky 【WIP】
Root / Submissions / [.]
CosmicTacoCatCreated:
Download:KE3VJCYVersion:Size:
-+-+-+-+ THIS IS STILL A WORK IN PROGRESS -+-+-+-+
This was more of a learning project for me so it's still not anywhere near complete.
The current menu is temporary, items will eventually be a thing, I'll eventually figure out how to loop my background layers smoothly, there will be a space level (probably with a cool transition animation.
Replying to:SwanBot
btw to loops it just do something like
INC BGX (or Y lol)then find the max distance you can go before going off screen and set an if like:
IF BGX>(MAX BG) 500 THEN BGX=0anyways if done right it can make some really nice stuff, and even easy to change like for different backgrounds
What would I be using bgx in? Like, bgofs or something?
Replying to:SwanBot
btw to loops it just do something like
INC BGX (or Y lol)then find the max distance you can go before going off screen and set an if like:
IF BGX>(MAX BG) 500 THEN BGX=0anyways if done right it can make some really nice stuff, and even easy to change like for different backgrounds
so the thing that moves the background will be bgofs, so when setting it put
BGOFS 0,BGX,BGYThis makes the two variables control the position so to test this do the following, make a map of water, land or something, save it then load the map in a program, make a while loop, do the bgofs and inc the way you want it to go, then make a if like the one above and tweak it a bit until its spot on. if done right you will have a working looping bg oh and remember to put this at the top after ACLS BGX=0:BGY=0
Replying to:SwanBot
btw to loops it just do something like
INC BGX (or Y lol)then find the max distance you can go before going off screen and set an if like:
IF BGX>(MAX BG) 500 THEN BGX=0anyways if done right it can make some really nice stuff, and even easy to change like for different backgrounds
I feel like BGANIM would be more practical in this case
Replying to:SwanBot
btw to loops it just do something like
INC BGX (or Y lol)then find the max distance you can go before going off screen and set an if like:
IF BGX>(MAX BG) 500 THEN BGX=0anyways if done right it can make some really nice stuff, and even easy to change like for different backgrounds
Also, it isn't necessary to initialize BGX or BGY in this case unless it is with VAR; then again, that should only really be needed in a case where you use OPTION STRICT (trust me, you may feel tempted to make random variables as indicators for loops or other statistics -- but initializing all of them allows you to use scope better and you know what you are using[also be sure to use comments when you initialize them as you want to know what everything is when you get back to them])
Replying to:SwanBot
btw to loops it just do something like
INC BGX (or Y lol)then find the max distance you can go before going off screen and set an if like:
IF BGX>(MAX BG) 500 THEN BGX=0anyways if done right it can make some really nice stuff, and even easy to change like for different backgrounds
I'll look into both of your guys's recommendations.
I think I thought of BGANIM once but I didn't think I could use it for something like offsetting the background.