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

#1 2009-09-29 20:07:08

samurai768
Scratcher
Registered: 2009-07-21
Posts: 1000+

How to jump smoothly with NO variables?

How do i make a character jump, (such as mario) smoothly(Like in archmage's super smash bros)with no variables(ouch!)

Offline

 

#2 2009-09-29 20:10:07

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

Re: How to jump smoothly with NO variables?

Its kind of possible, but not worth it. You need to make the sprite move higher in decreasing amounts then fall with increasing amounts. But if you want to try and avoid using variables you will never be half decent with any kind of programming.


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

 

#3 2009-09-29 20:42:33

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: How to jump smoothly with NO variables?

Why the "no variables" limitation?


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#4 2009-09-29 20:45:06

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: How to jump smoothly with NO variables?

BoltBait wrote:

Why the "no variables" limitation?

Maybe because with here smash bros game she thinks there are too many variables?

Remember samurai, you can never have too many variables.

Offline

 

#5 2009-09-29 22:42:40

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: How to jump smoothly with NO variables?

variables are complicated but worth it. it's more of a shortcut to use variables then to not use them.  smile


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#6 2009-09-29 23:37:32

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: How to jump smoothly with NO variables?

greenflash wrote:

variables are complicated but worth it. it's more of a shortcut to use variables then to not use them.  smile

Shortcuts are nice, but don't get carried away. My brother wanted me to check if there was a faster way to do something, and I found one - but it involved redoing the script some. But it saved a lot of space!  smile

Note: Grr! No actual dashes! Just hyphens!


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#7 2009-09-30 08:40:50

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: How to jump smoothly with NO variables?

floatingmagictree wrote:

BoltBait wrote:

Why the "no variables" limitation?

Maybe because with here smash bros game she thinks there are too many variables?

If a game uses a lot of variables it becomes easier to create sprite specific variables and give them distinctive names  smile

Makes that loooonnnggg lists tidier  smile

Some of my newer projects actually have silly named variables just because it helps me know which is which xD Eg: instead of Jump 1: JumpyJump


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#8 2009-09-30 19:02:10

weswesrock
Scratcher
Registered: 2009-06-25
Posts: 500+

Re: How to jump smoothly with NO variables?

Just use variables, you'll get inevicient jumping without them

Offline

 

#9 2009-09-30 20:34:45

GoogleplexPlus
Scratcher
Registered: 2009-04-16
Posts: 1000+

Re: How to jump smoothly with NO variables?

It sounds impossible, but I'll give it a try. You'll hear from me later.

Offline

 

#10 2009-09-30 20:41:30

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: How to jump smoothly with NO variables?

Well...you could cheat and do it by using Pen Color as a variable  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#11 2009-09-30 22:17:51

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: How to jump smoothly with NO variables?

Paddle2See wrote:

Well...you could cheat and do it by using Pen Color as a variable  smile

that's probably the most creative solution yet!  big_smile


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

Board footer