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

#1 2011-11-19 12:40:43

Hellchild96
New Scratcher
Registered: 2011-11-18
Posts: 5

I need some help

I am currently trying to create two games. The first is a game that is almost like pong. The player controlls 4 directional paddles, fending off projectiles that are fired from 4 sprites that are moving around the edge of the screen.
The second is the player controlling a spaceship that fires at enemy ships attempting to reach the player's ship.
My problem is that in both games, i cannot work out how to make the enemy's fire at the player, or for the player to fire. Because in both games, the sprite that fires is moving, i cannot work out how to make it fire from it's new position. Anyone got any ideas?

Offline

 

#2 2011-11-19 12:45:26

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: I need some help

please can you upload your work so far so i can help you


http://i.imgur.com/1QqnHxQ.png

Offline

 

#3 2011-11-19 12:45:41

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: I need some help

I don't really get what you're saying. Could you post what you have?  smile


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#4 2011-11-19 13:00:58

Hellchild96
New Scratcher
Registered: 2011-11-18
Posts: 5

Re: I need some help

I have uploaded both of them. What I'm trying to do is get the bricks mentioned to fire bullets/lasers/objects, but i dont know how.

Offline

 

#5 2011-11-19 18:08:43

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: I need some help

Well you can make the bullet go to the character before moving.


Hai.

Offline

 

#6 2011-11-20 06:57:12

Hellchild96
New Scratcher
Registered: 2011-11-18
Posts: 5

Re: I need some help

I guess that would work,  just dont know how to make it happen. Sorry, i only started using this 3 days ago so I don't know all hte ins and outs.

Offline

 

#7 2011-11-20 07:03:16

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: I need some help

I have a some shooting tutorials here...

http://scratch.mit.edu/galleries/view/71748


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer