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

#101 2012-07-14 18:32:19

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Interesting, how would you do it?

Edit:  100th post!

Last edited by berberberber (like, a million years ago.  Where were you?)

Last edited by berberberber (2012-07-14 18:32:43)


http://i47.tinypic.com/2iaa73k.png

Offline

 

#102 2012-07-14 18:36:10

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Well, it would either add it to the list as it generates (i have no clue how to do that), or it would generate it and add a 0 or 1 to the list based on what it was touching, and move along the rows scanning.


........................................................................................................................................................................................................................................

Offline

 

#103 2012-07-14 19:12:48

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Now Hiring: Scripters Unite!

I realized that since I am menu maker, I can just make a menu for "Instructions", "solver", and "credits"


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#104 2012-07-14 20:00:41

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Now Hiring: Scripters Unite!

For the maze generator, you start out with a filled screen (a list completely filled with 1's) and then you "carve out" sections of it, with the rule that you can't intersect an already-existing tunnel.  So, in each frame, you move turn a random direction (forward, left, or right), and carve the next block, making sure there's no "0" value two spaces ahead in the direction you're traveling.

Offline

 

#105 2012-07-14 20:14:34

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Now Hiring: Scripters Unite!

I can't program until august, but I'll be sure to try this!  One thing, though.  How do you know what direction your traveling if it's a list?


http://i47.tinypic.com/2iaa73k.png

Offline

 

#106 2012-07-15 01:03:39

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Now Hiring: Scripters Unite!

You've got three variables: current x column, current y column, and current direction (you can make it simple by using 0 for right, 1 for up, 2 for left, and 3 for down).  When you "carve out" parts of the list, you increment or decrement the value of the x column or the y column (depending on the direction).  You tell the script that it is not allowed to move forward into either a tunnel that has already been dug, or any other restricted area (such as the edge of the screen). 

The list is just for storing the data.  You imagine that the list is actually a two-dimensional table of values.  You can use some fairly simple math to turn list elements into positions onscreen and the other way around.

Offline

 

#107 2012-07-15 11:03:06

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Hmmm. How would you determine which item of the list should be what?


........................................................................................................................................................................................................................................

Offline

 

#108 2012-07-15 12:04:07

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Now Hiring: Scripters Unite!

It sort of works like this:

01 02 03 04 05 06 07 08 09 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
etc.

That represents a 10 x whatever grid.  The numbers show which column/row values represent which items in the list. 

In my "Level Editor" project, it converts back and forth between screen coordinates and list position.

Offline

 

#109 2012-07-15 12:30:08

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

I think I know how to do this, but I'm going to camp and don't/won't have my laptop for about a week. I'll try when I get back, if no one has finished it yet. I'll be able to be on the forums/ main site (no project viewing) until the end of the day if anyone needs me  smile


........................................................................................................................................................................................................................................

Offline

 

#110 2012-07-15 17:52:50

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Bump. Also, over the next week, can someone bump occasionally? It would be appreciated  smile . Also, we won't be accepting people for a week, until I can look at them, so I FYI want to apply hurry up an do it now  smile


........................................................................................................................................................................................................................................

Offline

 

#111 2012-07-15 18:03:21

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Now Hiring: Scripters Unite!

I thing.  Because we're all pretty experinced, maybe we should make a 1s1s project?


http://i47.tinypic.com/2iaa73k.png

Offline

 

#112 2012-07-15 18:04:27

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Now Hiring: Scripters Unite!

berberberber wrote:

I think.  Because we're all pretty experinced, maybe we should make a 1s1s project?

Possibly.  However, we should make only a few costumes.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#113 2012-07-15 18:45:00

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

I'm making a few 1s1s projects on some other accounts right now, and they're pretty easy  smile . Yeah, I think that's a good idea. I think we should do a 3d scroller. If we do, should the buildings turn around the character, or the other way around?


........................................................................................................................................................................................................................................

Offline

 

#114 2012-07-16 10:52:09

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Buildings turn around the character.   tongue


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#115 2012-07-18 13:31:34

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Now Hiring: Scripters Unite!

bump--I couldn't find this without searching in the search bar


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#116 2012-07-22 16:10:11

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

I'm back  big_smile . We can now start development again  big_smile .


........................................................................................................................................................................................................................................

Offline

 

#117 2012-07-23 08:16:09

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

bump...


........................................................................................................................................................................................................................................

Offline

 

#118 2012-07-23 14:20:09

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Now Hiring: Scripters Unite!

bump...


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#119 2012-07-24 10:35:53

CoffeeBeans
Scratcher
Registered: 2012-07-20
Posts: 4

Re: Now Hiring: Scripters Unite!

Can I be somewhere?
It says I am a new scratcher <-- but this is a new account. Can I join?

Offline

 

#120 2012-07-24 10:50:46

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Can you send us a link to your old account? I think if you can show us some more projects, you'll be able to get in  smile


........................................................................................................................................................................................................................................

Offline

 

#121 2012-07-24 11:09:15

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Youre in  smile  What position do you want?

Last edited by zubblewu (2012-07-24 11:09:35)


........................................................................................................................................................................................................................................

Offline

 

#122 2012-07-24 22:13:18

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Now Hiring: Scripters Unite!

I will be in Grand Canyon from Aug. 3-7, so do not expect anything from me.  I will have no internet connection.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#123 2012-07-24 23:46:14

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Oh cool. I hope you have fun  smile . I want to go there some day


........................................................................................................................................................................................................................................

Offline

 

#124 2012-07-28 18:44:10

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

bump


........................................................................................................................................................................................................................................

Offline

 

#125 2012-07-29 20:00:03

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Now Hiring: Scripters Unite!

Guys, I think we're going to close down. No one is checking in, or even thinking about it. Tell me what you think of this


........................................................................................................................................................................................................................................

Offline

 

Board footer