Hi I'm currently in production of Dragon's Flight, my first game. I was wondering I've tried many ways of getting your character to move up, but I can't! Please help, Dragon's Flight will be a fun game.
Offline
If you want the dragon to move up, use this block:
<change y by(
[/blocks]If you set it to a positive number, the dragon will move up. If you make the number negative, it'll move down.
Instead of using the move _ steps block, try using this:
<change x by(
[/blocks]There isn't much of a difference, but the move _ steps block just makes you move the direction you're pointing.
And if you want smoother movement, try this script. It's a lot more complicated than what you had, though:
<when green flag clicked>
<forever>
<if><key[ left arrow ]pressed?>
<change x by( 3
<end>
<if><key[ right arrow ]pressed?>
<change x by( -3
<end>
<if><key[ down arrow ]pressed?>
<change y by( -3
<end>
<if><key[ up arrow ]pressed?>
<change y by( 3
<end>
<end>
[/blocks]At first might look like a lot (especially if you've only started using scratch), but you'll get used to having much larger scripts.
Last edited by hmnwilson (2008-11-27 20:43:03)
Offline
Thanks a lot! I should have this game done by the end of the weekend thanks to you! Second beta has arrived!
Last edited by Xkhaoz (2008-11-27 21:08:55)
Offline
Xkhaoz wrote:
Thanks a lot! I should have this game done by the end of the weekend thanks to you!
You're welcome. If you need anything else just ask
Last edited by hmnwilson (2008-11-27 21:12:38)
Offline
Well, I just made Dragon's Flight: Burnage, a spinoff of Dragon's Flight, but it's also a spinoff of FishChomp, but the dragon won't burn the demons. Could you tell me why?
Offline
Try changing "if color _ is touching _" to
<if><touching[ Dragon
Last edited by hmnwilson (2008-11-27 23:10:31)
Offline
Um, I have two problems. 1. I'm working on Dragon's Flight, and I'm trying to get the background to animate. The animation I want is like having lighting strike, but my script is all messed up! I'll put the game up and hopefully you can fix it. sorry for asking you a lot of questions, I'm just starting! Oh, and another thing, this version will have enimies. Could you please improve on that too? Thanks!
Offline
Just too many things that needed fixing. Fixed project submitted.
EDIT: Hang on, Another glitchfix needed.
EDIT 2: Done. http://scratch.mit.edu/projects/bhz/335007
Last edited by bhz (2008-11-28 11:34:44)
Offline
Yes thats pretty good, but I wanted it to be when you press space and the fire hits the skull guy he vanishes. Not when you just touch him. But at least you got the background animation working! Thanks.
Offline
Xkhaoz wrote:
Yes thats pretty good, but I wanted it to be when you press space and the fire hits the skull guy he vanishes. Not when you just touch him. But at least you got the background animation working! Thanks.
Need help with that?
Offline
Yes, I do. I need the skull guy to vanish when you blow fire on him. If I could figure out how to do that and use scrollx, the game would be finished!
Offline
Xkhaoz wrote:
Yes, I do. I need the skull guy to vanish when you blow fire on him. If I could figure out how to do that and use scrollx, the game would be finished!
Done. http://scratch.mit.edu/projects/bhz/335050
Offline
Yeah, a lot has. hmnwilson, you should try Dragon's Flight Beta 3 v2 by bhz, he is helping me a lot. Dragon's Flight is supposed to be a side-scrolling shooter in where your dragon fights the evil skull guys. So, if you can help improve it, post it on here or on thy new thread Dragon's Flight Series.
Offline
O.K. I have released a new game called Breakdance Brawl Beta, in the full version, when you breakdance, the robots are supposed to vanish and a new one would fall out of the sky, but I don't know how to to that. Please help. Oh, and another thing, I don't want the robots to turn upside down when the bounce back.
Offline
Fixed.
It's more complicated than yours because I had to use variables.
Last edited by hmnwilson (2008-11-28 16:21:58)
Offline
Xkhaoz wrote:
Thanks, I'll make the full version right now.
You might need to get the newest version of the project, sorry about that.
Last edited by hmnwilson (2008-11-28 16:26:33)
Offline
O.K. I put in your settings, put they keep on turning upside down. Ah well, they can be breakdancing. P.S. This is my first project made from the ground up, Dragon's Flight used the side scrolling demenstration, and Dragon's Flight: Burnage was made using FishChomp.
Last edited by Xkhaoz (2008-11-28 16:39:48)
Offline
I'll show you how to fix the turning upside-down problem, if you want:
Select a robot sprite and look where the tabs are. (scripts, costumes, sounds.) Right by the sprite's name and icon, there are 3 buttons stacked up. Click on the bottom one:
That should stop it from turning.
Offline