I cant figure out how to make a flash game on scratch i only know how to make dressup games:( me nor my mom (Bannapple) can figure i out
and i cant find any tutorials about it
...so can someone give me the link to the tutorial (if there is one) or explain it please!!
Offline
Hi monkeygurl101,
I don't know if I understand your question, could you please explain what you mean with "flash game". Is this a special kind of game (as opposed to dress-up game) or are you referring to a game using the shockwave flash browser plugin?
I just had a look at your dress-up project. You seem to know quite a lot about programming in Scratch already! Maybe it would be best if you searched this site for a 'flash game' project similar to the one you would like to create, download it, and try to understand how it was done.
Else, if you could manage to be little more specific, I'd be glad to try answering your questions.
Offline
Hmmmm.... i think the best way i can explain it is....: some people can make games where you can use your mouse or the arrow keys to make a character walk around, go through doors, and lots more stuff. i mostly want to know how to make a character move with the arrow keys or mouse. because i have alot of ideas but i just dont know how to make characters move and walk through doors. so if you still dont get what i mean i can show yo\u some examples.
Offline
You can't convert scratch into swf (AKA flash files) format.
But if you want to move a sprite around that totally can be done in scratch.
<when green flag clicked>
<forever if> <key[ left ]pressed?>
<change x by( -10
<when green flag clicked>
<forever if> <key[ right ]pressed?>
<change x by( 10
<when green flag clicked>
<forever if> <key[ up ]pressed?>
<change y by( 10
<when green flag clicked>
<forever if> <key[ down ]pressed?>
<change x by( -10
Just experiment with the blocks and try downloading some projects
Offline
That's a very good explanation, archmage!
monkeygurl101, if you want your character to be animated, you might also want to switch between at least two different costumes while moving it around the screen, e.g. one costume could show the character's left foot in front, the next one the character's right foot. This would create a 'walking' impression.
Offline
Also, I can offer some help with rooms. Here's the system I've been using on the RPG I've been building. First of all, create a variable for Each of your rooms. Now just have the backround and sprites change how you want depending on if the variable is 1 or 0. Also, you'll need to make and invisible sprite as a hotspot for getting in and out of the room. Now, if you have serveral rooms, you will have to create if else scripts inside of forever scripts. If this was too confusing, Download the demo of my RPG here:
http://scratch.mit.edu/projects/ririri123/37546
Hope that helps you create a cool flash game!
Offline
ririri123, you might find it easier to have just one variable "room number". You can then do things like setting the background to the room number. In v1.2.1 you can even use the background number of the stage in a sensor, and not need to declare a variable!
Offline
another way to make the character move with the arrow keys is
<when[ left arrow ]key pressed>
<change x by( -10
<when[ right arrow ]key pressed>
<change x by( 10
<when[ up arrow ]key pressed>
<change y by( 10
<when[ down arrow ]key pressed>
<change y by( -10
Offline
hmmmm im starting to get it better
Offline
Ok now i get how to make a picture animated or just move it but now i kinda dont get how you can make a person go through a door......
Offline
Break it down into smaller steps. What exactly do you want to have happen? What will the person look like? what will the door look like? where will they be?
Offline
Hmmm i was gonna create a mini version of club penguin so here are all the answers to those: i want my character to walk through doors. like click on the door and it will bring me too the room maybe. The character will be a penguin. just a regular door. different places like.. a town with building you can go into...
those r my answers. i hope they were a little help
Offline
for the main penguin, here are some scripts:
<when green flag clicked>
<forever>
<if> <mouse down?>
<go to[ mouse pointer
<end>
<end>
then for going to a room:
<when green flag clicked>
<forever>
<if> <touching[ door
<broadcast[ go into room
<end>
<end>
for the stage:
<when I receive[ go into room
<switch to costume[ room
Last edited by funkymonkey (2007-12-12 08:03:31)
Offline
Excellent answer, funkymonkey, seems like we were writing up our answers at the same time, so there might be some redundancies in mine:
If you want your "rooms" to be different backgrounds for you stage you could draw several backgrounds and a "door" sprite with two costumes (1: 'closed' and 2:'open). Then you might script something like:
[in sprite named "door"]
when 'door' is clicked
if costume# = 1
switch to costume 'open'
else
broadcast 'next room'
switch to costume 'closed'
[in the stage scripting area]
when I receive 'next room'
next costume
Using something like this you could let your character (or your first person player) loop through the rooms in your game. Each time you click on a closed door, it will open. Each time time you click on an opened door, it will take you into the next room and close the door again.
If you want the door to be at a different location in each room, don't forget to move it (you can find out which room you're in by checking the background# system variable of the stage).
You could also build a script that can close an opened door again, e.g. when you press a certain key.
Hope that helps to get you going. Please let me know, when your project is finished, I'm very curious about your ideas!
Offline
ok i have 1 more question for now...how do you make more then 1 room?
Offline
nevermind i figured it out!!
Offline
HELP ME I WANT TO MAKE A GAME OR DRESS UP GAME TO HELP ME PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:C
Offline
monkeygurl101 wrote:
Hmmmm.... i think the best way i can explain it is....: some people can make games where you can use your mouse or the arrow keys to make a character walk around, go through doors, and lots more stuff. i mostly want to know how to make a character move with the arrow keys or mouse. because i have alot of ideas but i just dont know how to make characters move and walk through doors. so if you still dont get what i mean i can show yo\u some examples.
So you mean... a game? Uh... download some of mine & try to learn from them. Id make it easier if I could, if the comment block was still here & if I had the time, but I dont. Sorry.
Last edited by Mick (2007-12-14 11:10:04)
Offline
dressupgamesrule wrote:
HELP ME I WANT TO MAKE A GAME OR DRESS UP GAME TO HELP ME PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:C
Have you used scratch at all yet?
Offline
well i just can't find out how i can make a game.
Offline
i still have no idea how to create a game!
Offline
Hi everyone, I am trying to learn how to make games on Scratch but I can't even figure out how to make anything move on this website (like if you were going to make a game). I don't even know how to make a dress-up game. Can someone please let me know? Or can someone send me a link to something, please??? If you do, THANK YOU SOOOOO MUCH!
But if you're reading this [B-Man!];
Thanks,
~ Bri96
Offline