Pages: 1
Topic closed
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)
Offline
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.
Offline
Here's a topic on jumping: http://scratch.mit.edu/forums/viewtopic.php?id=16077
Offline
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
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?
Offline
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?????
Offline
Topic closed
Pages: 1