OK, well I've been enjoying other people's Scratch creations for some time now, and I've figured that I would like to join in on the fun of creating games. I've recently been thinking about making a Sniper-based game where I DO need scripting assistance. I'll explain how I'd like to design my game, and if you are smart with this subject, please try to explain what scripts I should use.
Description:
So it's just going to be a Beta test for now, I'll probably just draw one building with enemies popping up on the roof or in windows.
Question number one: How do I make enemies pop up, then disappear for a certain amount of time, then pop up again?
Question number two: How would I create a script where I could zoom in? I will create my own scope, and I'd like to be able to press Space to zoom in, but I'd need to know what script to use.
Question number three: How do I make numbers such as "+100" pop up when I get a kill?
Question number four: Is there a way I could create a shop where I could buy different guns or scopes?
Question number five: How do I make the stickman I am going to be sniping at look realistic? (Examples; Falling down, running, etc.,)
I know this is probably a long-shot for people to explain, but I'm really in need. Sorry to upset anyone.
Offline
Da_Marine wrote:
OK, well I've been enjoying other people's Scratch creations for some time now, and I've figured that I would like to join in on the fun of creating games. I've recently been thinking about making a Sniper-based game where I DO need scripting assistance. I'll explain how I'd like to design my game, and if you are smart with this subject, please try to explain what scripts I should use.
Description:
So it's just going to be a Beta test for now, I'll probably just draw one building with enemies popping up on the roof or in windows.
Question number one: How do I make enemies pop up, then disappear for a certain amount of time, then pop up again?
Question number two: How would I create a script where I could zoom in? I will create my own scope, and I'd like to be able to press Space to zoom in, but I'd need to know what script to use.
Question number three: How do I make numbers such as "+100" pop up when I get a kill?
Question number four: Is there a way I could create a shop where I could buy different guns or scopes?
Question number five: How do I make the stickman I am going to be sniping at look realistic? (Examples; Falling down, running, etc.,)
I know this is probably a long-shot for people to explain, but I'm really in need. Sorry to upset anyone.
Good luck on making the game
1. If the game is 2d, then you just have to make one script that chooses from a list of random starting popup positions and moves up then use a wait block, then moves back down. It's pretty simple if that's what you mean. If not, then please go more into detail.
2. There are probably several ways to do this, one way would be make the scope cover the whole screen when space is pressed except for the circle viewing area and increase the size of the sprite that is the enemy so that it seems as if you are zooming in. Another way would be to create an animation or another sprite that is bigger.
3. To make those numbers popup, if it's limited to 100, 200, 300, etc. Then just create one sprite with those costumes. If it can be something like 267, I would make three sprites with the letters 0-9 and have a variable that's set to the temporary amount scored. The numbers would be set to the amount and add a + in the front and there you have it You can add effects like ghost and color
4. Anything is possible, that's pretty simple actually. But it's long to explain.
5. The realistic effect is based on the graphics you make, if you are a good artist and make quite a few frames for each movement, then the stickman will look very realistic.
If you need me to go in detail or you need help scripting just ask
Offline
Thanks for the suggestion. I'm an expert using Macromedia FireWorks which involves creating things using multiple frames so I suppose I could make some pretty good stickman animations, and I've also been thinking about making the zoom-in of the scope last 5-7 frames, so someone could quick-scope like on CoD. But I hope you don't mind if I ask you any questions I might come across in the future.
Offline
Da_Marine wrote:
Thanks for the suggestion. I'm an expert using Macromedia FireWorks which involves creating things using multiple frames so I suppose I could make some pretty good stickman animations, and I've also been thinking about making the zoom-in of the scope last 5-7 frames, so someone could quick-scope like on CoD. But I hope you don't mind if I ask you any questions I might come across in the future.
Of Course, you can ask any questions you want, I'd be happy to help
Offline
Da_Marine wrote:
OK, well I've been enjoying other people's Scratch creations for some time now, and I've figured that I would like to join in on the fun of creating games. I've recently been thinking about making a Sniper-based game where I DO need scripting assistance. I'll explain how I'd like to design my game, and if you are smart with this subject, please try to explain what scripts I should use.
Description:
So it's just going to be a Beta test for now, I'll probably just draw one building with enemies popping up on the roof or in windows.
Question number one: How do I make enemies pop up, then disappear for a certain amount of time, then pop up again?
Question number two: How would I create a script where I could zoom in? I will create my own scope, and I'd like to be able to press Space to zoom in, but I'd need to know what script to use.
Question number three: How do I make numbers such as "+100" pop up when I get a kill?
Question number four: Is there a way I could create a shop where I could buy different guns or scopes?
Question number five: How do I make the stickman I am going to be sniping at look realistic? (Examples; Falling down, running, etc.,)
I know this is probably a long-shot for people to explain, but I'm really in need. Sorry to upset anyone.
Sorry if im late with this.
OK, here we go.
1) I can think of two ways to do this, if you just want them to appear wait disappear wait appear you can use "show" "wait X seconds" "hide" "wait X seconds" "show" OR if you want a smooth up and down with your sprites you can use "go to X,Y" "Glide X seconds to a new position" "Glide X seconds back to the start position"
2) NOT SURE but Itsmomitos methods sound good
3) I suggest using the "say" funtion to say "+100 points" when you hit someone. Or you could have a sprite which pops up with the number on it
4) Yeah its long!
5) You can make different costumes for your sprites which could be running, falling ect. And you can use the "switch costume" command to switch between them.
Hope this helps
-Willpower
Offline
Make sure there is no blood as projects with blood is frowned upon by the Scratch Team. And don't make it too violent even if it is cartoon like.
Offline