This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-09-19 12:13:06

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

It's possible - but it takes too long.

Well some of you may know about my Level Creator Player. If you don't, check it out on my profile. Anyway recently my goal is to have it able to SIDESCROLL. Crazy, yes? I guess a bit.  But with the project on archmage's test account, I know it is DEFINATELY possible.

So I started looking at the project since I haven't seen it for about well, a long time, and although I don't really understand how the ball code works anymore lol, it doesn't require any changes for now, because my first step is to make 166 sprite for each section of the screen, instead of having the one sprite stamp everything repeatedly, like I sort of have right now. Ok, I already know how its done. I actually have it all really completed for having all sprites. But now I just need to make the other sprites...

Well the problem is that although its easy to duplicate it 165 times (it just takes a couple of minutes, and i've done it before actually), it takes longer to do the following:

-Change the sprite's name
-Change the sprite's starting location
-Change the value in the list that it will change (I have to input this into two spots)

Doesn't sound like much, but it is. first I have to change the sprite's name to tile 1, tile 2, tile 3, etc. to make it more professional. Then I have to change the sprite's starting location with a go to x:_  y:_ block. generally this will me multiples of 30 of course. Then I have to change the value to 1, then 2, then 3, in to variables up to numbers 166. Not too hard, but this all takes a long time to do for each sprite. I have an idea that might work that will shorten the process by having to put that one value in 3 times instead of 2, but that way I won't have to type in  the starting location, so that may quicken things.

FIrst of all, you should be able to decide certain variables that will change, and by how much each time, and of course how many duplicates you want to make. Definately a big help. Then, doing all of this, would just take under a minute to do this. Now I still would not be able to upload this because of some wierd problem with my computer but umm, atleast then I would be a step closer to making it sidescroll.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#2 2009-09-19 15:33:00

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: It's possible - but it takes too long.

Sounds like a cool idea.

Offline

 

#3 2009-09-23 16:11:19

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: It's possible - but it takes too long.

TheSaint wrote:

Sounds like a cool idea.

Yeah  tongue  I just wish I could uplaod it...


http://i.imgur.com/WBkM2QQ.png

Offline

 

#4 2009-09-23 16:12:50

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: It's possible - but it takes too long.

This will never run in the online player. It would be a neat tool for the offline one though.

Last edited by archmage (2009-09-23 16:13:07)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

Board footer