Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Collision detector for an in-doors level
Old
Super Yozo
Junior Member
 
Status: Offline
Posts: 1
Join Date: May 2013
Unhappy Collision detector for an in-doors level - 05-29-2013, 09:27 PM

I'm making a simple cat-simulator game. I put together a little house that you can walk around, and a garden, and everything was looking good, except I still needed to add the collision detector.

I started making a basic collision method like I always do, but then I encountered a problem. This is an inside game, so when I set the collision detector to the room, the press play, it kicks you OUT OF THE HOUSE and onto the grass outside, because you can't be touching or even close to the floor.

Unfortunately, the rooms and corridors are not divided by section like most things, so I can't set the collision detector to the walls only. I have to either have a game where the room you're in kicks you out, or a game where you can run through walls.

Anyone know how to help me?
   
Reply With Quote
Old
GameKid
Senior Member
 
GameKid's Avatar
 
Status: Offline
Posts: 467
Join Date: May 2011
Location: My magnificent castle
Default 05-30-2013, 12:49 AM

Try using collision-enabled blocks along the walls of the house instead of the house itself.


[COLOR=e4eaf2]Your text here[/COLOR]
Come on, you know you want to try it.
   
Reply With Quote
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Default 05-31-2013, 09:54 AM

Quote:
Originally Posted by GameKid View Post
Try using collision-enabled blocks along the walls of the house instead of the house itself.
Or a square the cat must stay inside of on the floor....
   
Reply With Quote
Reply

Tags
collision, collision detection, environments

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.