I'm trying to start work on my own side scroller, and I hit a road block...
http://scratch.mit.edu/projects/soccrplyer4life13/29966
Offline
Road block? What is wrong with it?
PS: check out my side scroller engine @ http://scratch.mit.edu/projects/archmage/28903
Offline
yeah, i'm looking at yours, but i really want to try and create a full level of "contra" as seamlessly as possible...on my example, my first two are fine, and the third one shows when it's supposed to, but doesn't want to move to the left until the other sprites are off the screen
Offline
Man it's obvious, you made it to repeat the "test" broadcast constantly until x position <-428. So sprite 3 constantly goes to the place where it begins it's scrolling.
Last edited by archmage (2007-08-17 22:23:44)
Offline
oops, lol, well, i might have found a better way in the process of not realizing that...thanks
Offline
http://scratch.mit.edu/projects/soccrplyer4life13/29983
Which one do you think I should go off of, I think both ways would work, but I'm guessing that this way will run slower with all the costume changes, but what do you think?
Offline
Well if you make them work correctly they are both pretty much the same, just do whatever is easier for you. But I recommend that you don't use glide to blocks because it's pretty much impossible to get side scrolling games working using them.
Last edited by archmage (2007-08-17 23:21:53)
Offline
alright, I just can't figure out a healthy way of making this work right, my first 3 sprites, my "backgrounds" just won't make things easy for me. I want to have roughly 20 of these different maps put together to form one long level for my game, but I'm a bit frustrated by it to be honest. If you can help, please do, I would greatly appreciate it.
Thanks,
Soccrplyer4life13
Offline
You can reuse the same 2 or three sprites, but have them change costume when they go off the edge of the screen so that they show the next part of the level when they come back on the other end.
Offline
That's pretty much what I'm going with, but its getting to be pretty ugly code and I'm just trying to see if anyone can help me find an easier way than what I'm doing right now.
Soccrplyer4life13
Offline