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

#1 2011-12-16 02:40:12

UnprovenTheorem
Scratcher
Registered: 2011-02-19
Posts: 15

▶ Coding Question: Scrolling?

Hello! I'm currently working on a project (an interactive map of the Roman Forum) in which (ideally) the user will be able to control the scrolling of the map by pressing the set of arrow keys in the lower left-hand corner.

Some potential problems that factor into the mix:
- I also need to have individual sprites for each building (to change color, be clickable, etc) -- whether they sit on top of the scrolling sprites or ARE the scrolling sprites.
- There need to be boundaries beyond which the user can't scroll.

Any suggestions on how I can accomplish this? Thanks! (=

-----------------------------------------------------
And in case this helps, a brief description of how I want the entire project to function in the end:
The user controls the scrolling (gliding) of the map by pressing the red arrows. Hovering over a building will make it change color. Clicking on it will change it to a different color and bring down the info box (which has actually mostly been working!). Previously explored buildings will stay the hover-color (maybe?).

Last edited by UnprovenTheorem (2011-12-16 02:41:28)


http://scratch.mit.edu/static/icons/buddy/715361_med.png?t=2011-02-04+01%3A52%3A00 Who am I? i = sqrt(-1).

Offline

 

#2 2011-12-16 03:16:54

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: ▶ Coding Question: Scrolling?

Doesn't sound too hard. Want me to give it a shot?

If you do, send me a message at one of my projects and we can get started.


Hai.

Offline

 

#3 2011-12-16 16:17:34

UnprovenTheorem
Scratcher
Registered: 2011-02-19
Posts: 15

Re: ▶ Coding Question: Scrolling?

Really? Oh, that would be great!

Sorry, I'm a bit new to this -- does "send me a message at one of my projects" mean leave a comment on one of your projects, or something else? If it does mean leave a comment, does it matter which project I leave it on? I don't want to accidentally spam your project comments!


http://scratch.mit.edu/static/icons/buddy/715361_med.png?t=2011-02-04+01%3A52%3A00 Who am I? i = sqrt(-1).

Offline

 

#4 2011-12-16 16:21:37

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: ▶ Coding Question: Scrolling?

UnprovenTheorem wrote:

Really? Oh, that would be great!

Sorry, I'm a bit new to this -- does "send me a message at one of my projects" mean leave a comment on one of your projects, or something else? If it does mean leave a comment, does it matter which project I leave it on? I don't want to accidentally spam your project comments!

It means to leave a comment of one of her projects. :)


Why

Offline

 

#5 2011-12-16 16:30:19

UnprovenTheorem
Scratcher
Registered: 2011-02-19
Posts: 15

Re: ▶ Coding Question: Scrolling?

RedRocker227 wrote:

UnprovenTheorem wrote:

Sorry, I'm a bit new to this -- does "send me a message at one of my projects" mean leave a comment on one of your projects, or something else? If it does mean leave a comment, does it matter which project I leave it on? I don't want to accidentally spam your project comments!

It means to leave a comment of one of her projects.  smile

Thanks! Will do.


http://scratch.mit.edu/static/icons/buddy/715361_med.png?t=2011-02-04+01%3A52%3A00 Who am I? i = sqrt(-1).

Offline

 

#6 2011-12-17 11:13:19

SilverDomination
Scratcher
Registered: 2011-11-23
Posts: 500+

Re: ▶ Coding Question: Scrolling?

Doesn't this belong in AT?


Sooner or Later. Or sooner. Not much, except for a lot. In a way. But it will come no matter what.

Offline

 

#7 2011-12-17 11:16:17

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: ▶ Coding Question: Scrolling?

SilverDomination wrote:

Doesn't this belong in AT?

I'd say no, as it isn't THAT advanced. I suppose what one person thinks is easy may be hard to another person though.  smile


Why

Offline

 

#8 2011-12-17 11:16:58

SilverDomination
Scratcher
Registered: 2011-11-23
Posts: 500+

Re: ▶ Coding Question: Scrolling?

RedRocker227 wrote:

SilverDomination wrote:

Doesn't this belong in AT?

I'd say no, as it isn't THAT advanced. I suppose what one person thinks is easy may be hard to another person though.  smile

Well it has to do with coding, but this is just my opinion.


Sooner or Later. Or sooner. Not much, except for a lot. In a way. But it will come no matter what.

Offline

 

#9 2011-12-18 00:18:58

my-chemical-romance
Scratcher
Registered: 2011-04-24
Posts: 1000+

Re: ▶ Coding Question: Scrolling?

SilverDomination wrote:

RedRocker227 wrote:

SilverDomination wrote:

Doesn't this belong in AT?

I'd say no, as it isn't THAT advanced. I suppose what one person thinks is easy may be hard to another person though.  smile

Well it has to do with coding, but this is just my opinion.

It has to do with Scratch, AT is for modding Scratch.

Offline

 

#10 2011-12-21 03:50:02

mattross13
Scratcher
Registered: 2011-12-21
Posts: 6

Re: ▶ Coding Question: Scrolling?

say[do you know any projects where i can get an idea of how to intergrate scrolling into an app?]

Last edited by mattross13 (2012-06-02 03:13:48)

Offline

 

Board footer