Has this ever been done before? I'm trying to figure out how, but I wanna make sure it would be a "scratch breakthrough" kinda thing. Thanks!
Offline
Can you explain your idea in more detail? I think what you are getting at is that you would compute the position of the sprite as a multiple of the number of window widths and, based on whether that number is odd or even, show a different background sprite (or background sprite costume). Is that what you had in mind?
Offline
Well, I wanna make a 2 sprite scroller, but it is infinite. This part:
[blocks]<when green flag clicked>[/blocks]
[blocks]<forever>[/blocks]
[blocks]<set x to( (( <{ scrollx }> <+>(( 480 <*><{ determine if odd or even }> )) ))[/blocks]
Does that help?
Offline
Wait, I thin kI have the Right side. Ill post the link here http://scratch.mit.edu/projects/CFCRubiks/174476
Last edited by CFCRubiks (2008-05-27 17:30:06)
Offline
CFCRubiks wrote:
Has this ever been done before? I'm trying to figure out how, but I wanna make sure it would be a "scratch breakthrough" kinda thing. Thanks!
I made up a scrolling code that uses 2 sprites and scrolls infinetly.
http://scratch.mit.edu/forums/viewtopic.php?id=2440
Check method 2.
Offline
archmage wrote:
CFCRubiks wrote:
Has this ever been done before? I'm trying to figure out how, but I wanna make sure it would be a "scratch breakthrough" kinda thing. Thanks!
I made up a scrolling code that uses 2 sprites and scrolls infinetly.
http://scratch.mit.edu/forums/viewtopic.php?id=2440
Check method 2.
I've tried it. Doesn't work.... Plus, this one is easier. Only 2 variables and not complicated mathematics
Offline
Offline
CFCRubiks wrote:
archmage wrote:
CFCRubiks wrote:
Has this ever been done before? I'm trying to figure out how, but I wanna make sure it would be a "scratch breakthrough" kinda thing. Thanks!
I made up a scrolling code that uses 2 sprites and scrolls infinetly.
http://scratch.mit.edu/forums/viewtopic.php?id=2440
Check method 2.I've tried it. Doesn't work.... Plus, this one is easier. Only 2 variables and not complicated mathematics
Ok, firstly, it does work. I even gave a demonstration project.
http://scratch.mit.edu/projects/archmage/82995
It doesn't use complex mathematics. You just have to be a relatively experinced programmer to make it work. It works fine and I used it in a scrolling game called "Archknight's Adventure".
http://scratch.mit.edu/projects/archknight/80465
And if your method doesn't use costumes, how can you make large areas using just 2 sprites and 2 costumes?
Offline
archmage wrote:
CFCRubiks wrote:
archmage wrote:
I made up a scrolling code that uses 2 sprites and scrolls infinetly.
http://scratch.mit.edu/forums/viewtopic.php?id=2440
Check method 2.I've tried it. Doesn't work.... Plus, this one is easier. Only 2 variables and not complicated mathematics
Ok, firstly, it does work. I even gave a demonstration project.
http://scratch.mit.edu/projects/archmage/82995
It doesn't use complex mathematics. You just have to be a relatively experinced programmer to make it work. It works fine and I used it in a scrolling game called "Archknight's Adventure".
http://scratch.mit.edu/projects/archknight/80465
And if your method doesn't use costumes, how can you make large areas using just 2 sprites and 2 costumes?
Last time I tried, it didn't work, but you might have updated it. And I figured out that, this method witches costumes EASILY by the odd or even variable. I figured that AFTER I posted...
Offline
The best way to show off your new method is to make a good demonstration project with smooth transitions that displays a fairly large piece of real estate, maybe 3 or 4 windows width. Seeing is believing, right?
Offline
Paddle2See wrote:
The best way to show off your new method is to make a good demonstration project with smooth transitions that displays a fairly large piece of real estate, maybe 3 or 4 windows width. Seeing is believing, right?
I'm working on a Starfox kinda game
Offline
http://scratch.mit.edu/projects/CFCRubiks/175171 - Here it is. Unlimited scrolling (with some velocity help).
Offline
http://scratch.mit.edu/projects/CFCRubiks/175282 Now has 2 directions
Offline
CFCRubiks wrote:
Has this ever been done before? I'm trying to figure out how, but I wanna make sure it would be a "scratch breakthrough" kinda thing. Thanks!
i think it is, but make sure you credit bluestribute and that cyclone person for the smooth scrolling and the even/odd project.
Offline
funkymonkey wrote:
CFCRubiks wrote:
Has this ever been done before? I'm trying to figure out how, but I wanna make sure it would be a "scratch breakthrough" kinda thing. Thanks!
i think it is, but make sure you credit bluestribute and that cyclone person for the smooth scrolling and the even/odd project.
I will. And I just figured out that the one I copied from bluestribute actually doesn't use my example (though mine does the same thing, but more options and easier). I feel stupid now...
Offline
wat do you mean it doesn't use ur example? u mean the even odd thing?
Offline
funkymonkey wrote:
wat do you mean it doesn't use ur example? u mean the even odd thing?
Right on. But like I said, they produce the same effect, but my way is easier and more efficient.
Offline