Alice Community  

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

Thread Tools Display Modes
Video Gaming
Junior Member
Status: Offline
Posts: 3
Join Date: May 2010
Question Video Gaming - 05-12-2010, 04:59 PM

I need to make and interactive video game Role Playing Game for a class challenge. However, I cannot stop the player from walking through objects. I could use some help.
Reply With Quote
Senior Member
Dameria's Avatar
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-12-2010, 06:57 PM

Its called collision detection. It depends on what the objects are that you want to stop from colliding into. If they are mostly just people, or things that are not walls, then it is a simple If statement with all of the objects in a list.

If you want you can upload the world and I can see if I can put a collision detection in for you. If there are more than 50 objects though then I don't know if I will do it for you.

Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ...................
Alice Paint ...........................
Real-Time Clock ..................
Maze Game .........................
Reply With Quote
Senior Member
labtek9's Avatar
Status: Offline
Posts: 122
Join Date: Aug 2009
Location: Pluto
Default 08-08-2010, 12:40 PM

Dameria is someone to trust, my games also don't have collision detection (Only Once) It's annoying but I would give it to Dameria

Roar Face! >:O

Circle Buddy!
Reply With Quote

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.