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

#1 2011-03-06 10:15:14

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

anyone know a swinging script?

i'm trying to make the jungle vine toon town trolley game.

Offline

 

#2 2011-03-06 10:29:10

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: anyone know a swinging script?

that would be like rhy scripting


3

Offline

 

#3 2011-03-06 10:30:31

rufflebee
Scratcher
Registered: 2008-10-15
Posts: 1000+

Re: anyone know a swinging script?

http://i51.tinypic.com/nzqgxc.png
and you'd have to set the costume center to like the top of the vine

puppetadventurer wrote:

that would be like rhy scripting

:OOO


http://i44.tinypic.com/34e9cab.png

Offline

 

#4 2011-03-06 10:45:24

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

Re: anyone know a swinging script?

rufflebee wrote:

http://i51.tinypic.com/nzqgxc.png
and you'd have to set the costume center to like the top of the vine

puppetadventurer wrote:

that would be like rhy scripting

:OOO

and what about the player holding it

teh toon as i might say

Last edited by guyman55 (2011-03-06 10:46:39)

Offline

 

#5 2011-03-06 11:25:35

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: anyone know a swinging script?

I have a string engine but having a person swing on it makes it a bit glitchy.

Give me a second to write you a simpler, glitch free engine.

Here, put this script into your pendulum:
http://i51.tinypic.com/vexfsn.gif
Just replace the PersonOnIt variable with the condition of when your player is on the vine.

Or if you want it like a real vine take a look at this engine and mess around with the velocity variables and add <when right arrow key pressed> stuff.

Last edited by Kileymeister (2011-03-06 11:32:09)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

Board footer