The McLeodGaming forums were permanently closed on April 30th, 2020. You are currently viewing a read-only archive.
View unanswered posts | View active topics It is currently Fri May 15, 2020 5:46 am

Forum rules


IMPORTANT

This Forum is for Flash related questions ONLY! Do not ask questions about spriting, Game Maker, Photoshop, or anything else not related to Flash.



 [ 4 posts ] 
[Request] Better collision detection 
Author Message

Joined: Wed Aug 20, 2008 11:40 pm
Posts: 2
On my game, I have a ball that moves from side to side, top to bottom... (simple I know) But I want it to stop at the sides of the game, so I set up 'walls', called rwall, lwall, etc. Now whenever the ball runs into the walls, it either goes into the wall a little, or doesn't go in at all. I am using "this.hitTest(_root.rwall)". So is there any way to make it so that the ball never goes in any and always stops right at the wall?


Wed Aug 20, 2008 11:44 pm
User avatar

Joined: Tue Aug 19, 2008 3:56 pm
Posts: 402
try to look at this but u got to look at it all to get ur answer hope this helps http://www.youtube.com/watch?v=7qNLiBEHsVw

_________________
Image Thanks Narikku for the sig and avi Image
Click here to feed me a Rare Candy!
Get your own at Pokeplushies!


Fri Aug 22, 2008 1:03 pm

Joined: Wed Aug 20, 2008 11:40 pm
Posts: 2
Im not using Gamemaker though. Im using Flash


Fri Aug 22, 2008 2:39 pm
User avatar

Joined: Tue Aug 19, 2008 3:56 pm
Posts: 402
o srry i use gamemaker :oh: :shifty: :O_o: i'll try to find a video to help u

_________________
Image Thanks Narikku for the sig and avi Image
Click here to feed me a Rare Candy!
Get your own at Pokeplushies!


Fri Aug 22, 2008 7:57 pm
Display posts from previous:  Sort by  
 [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.