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

#1 2009-04-27 14:57:27

TheWizKid
Scratcher
Registered: 2009-04-27
Posts: 3

So Many Questions, Where to start????? (I need tutorials)

I'm Working on a game where you can draw whatever you want and walk around it.
This is sort of like Line rider, except you can walk around on the lines.

I have Completed the pen and have a sprite with all the costumes needed.
Costumes:
---Face Right     (A.K.A. Walk Right 0)
--Walk Right 1
--Walk Right 2
-Jump Right 0
-Jump Right 1
-Jump Right 2
---Face Left     (A.K.A. Walk Left 0)
--Walk Left 1
--Walk Left 2
-Jump Left 0
-Jump Left 1
-Jump Left 2

And that is all I need.

But I Have Questions.
The Answers are pretty much tutorials.
Here they are:

1) Gravity (Fall when not on a line)
2) Jumping (and making the sprites change)
3) Eraser (How to make / assign button)
4) Moving the camera (Assign Button)


LINE RUNNER - A work in progress
A game where you DRAW levels!!!!!

Offline

 

#2 2009-04-27 15:01:54

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

Re: So Many Questions, Where to start????? (I need tutorials)

This project should answer alot of your questions:

http://scratch.mit.edu/projects/archmage/72848


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

 

#3 2009-04-27 15:30:12

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

Re: So Many Questions, Where to start????? (I need tutorials)

This shows how to animate your sprites http://scratch.mit.edu/projects/archmage/291819

I don't userstand Qs 3 and 4.

What does this eraser do and what is its purpose?
What do you mean by moving the camera and what does it mean?

I should also mention that assigned buttons to preform actions is kinda hard in scratch. Normally you would just set a variable and say if (variable pressed) or something of the sort. Too bad you can't put variable into the if key pressed blocks.


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

 

#4 2009-04-28 01:07:20

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: So Many Questions, Where to start????? (I need tutorials)

Here's a topic on jumping: http://scratch.mit.edu/forums/viewtopic.php?id=16077


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#5 2009-04-28 07:41:56

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: So Many Questions, Where to start????? (I need tutorials)

by assign buttons, do you mean user selected keyboard buttons? if so, i made a project containing 4 directional movment with buttons of your choice (a-z) http://scratch.mit.edu/projects/yambanshee/339158
although its useless in a proper game as it uses 338 diffrent if statments!

Offline

 

#6 2009-04-28 12:06:30

TheWizKid
Scratcher
Registered: 2009-04-27
Posts: 3

Re: So Many Questions, Where to start????? (I need tutorials)

ok, let me try to clear this up. in my game i want an eraser tool. example, the pen tool needs to be erasable. i want it so you can move the camera around when you are building stuff so u can have bigger levels. and when you move the character it will center on the sprite. does this help at all? i have the pen made to follow the mouse and work when the mouse is held down. and i need to know how to make gravity. this is a side scroller kinda game and should make you fall until you land on a line. is there a script to make an object that the sprite will walk on? and can i make a toolbar on screen that will follow the camera and look like it doesn't move? and i don't want it to interfere with the game. on this toolbar i want to make things like currency that you just drag and drop (kinda like the buttons on scripting) so if you don't want it you can drag it back to the toolbar and it'll disappear. and if you can make different lines like accelerated lines and trampoline lines? and make objects that kill the sprite. and a respawn point (so you don't have to reset the whole thing) oh and maybe a vehicle system where, say, a bike, will accelerate as it goes and you can make HUGE jumps! and a button to get on it (but you have to be in front of it). maybe like a helicopter or a plane & cars and stuff. How much of that can i do?


LINE RUNNER - A work in progress
A game where you DRAW levels!!!!!

Offline

 

#7 2009-04-28 12:20:29

TheWizKid
Scratcher
Registered: 2009-04-27
Posts: 3

Re: So Many Questions, Where to start????? (I need tutorials)

ok here's a challenge. i have sprites for jumping in both directions but i want it to know what direction it last went. Confused? I want it so when you are facing right and jump, you jump facing right, and visa verse. HOW?????


LINE RUNNER - A work in progress
A game where you DRAW levels!!!!!

Offline

 

Board footer