Alice Community

Alice Community (
-   Works-In-Progress (
-   -   Collision Detection! (

x2495iiii 12-01-2009 06:53 PM

That's odd. I've heard a bunch more people have the same problem as me. I wonder what triggers it, exactly...

Oh well. Either way, it is a good example of creative code. Great job, Dameria.

Dameria 12-01-2009 07:04 PM

Hmm, maybe I have a more updated version of 2.2? When I open 2.2 it says in the beginning,

"version 2.2: 8/1/2009"

Does it say that for you? Or might you have an earlier version?

dubastot 12-01-2009 07:32 PM

That is no different from anyone else's version. All that date means is when you downloaded and installed alice.

Dameria 12-01-2009 08:35 PM

Sorry this thread is about a specific part of Alice (collision detection) and your project has nothing to do with this thread. Post your own thread please in another part of the forum asking for help with your problem.

Dameria 12-04-2009 07:43 PM

1 Attachment(s)
I have created my final version of the Collision Detection Test (2.0). I have replaced the 2d box with a 3d Rectangular Prism, so it is more realistic. I have also fixed it so that it detects collision from all sides, and not just when trying to move through the front of it. Check it out!

I have deleted my first version in the first post and replaced it with 2.0. I will also have it available in this post, so you can download it from here. I created this to help give people a different perspective in collision detection, although this is mainly only good for when you need collision detection on only 1 building (unless you want to do a lot of work).

I hope you like it, please tell me what you think:

[i]If this program produces an error for you, please use x2495iiii's version, but it is not as up-to-date as Collision Detection 2.0[/i]

x2495iiii 12-04-2009 10:12 PM

Looks great and seems to work great, though the error persists for me.

Dameria 12-13-2009 06:59 PM

Does this help anybody else understand how to put in collision detection? I think I might even make another world where there are multiple objects, but still only 4 collision detection methods (one for each arrow key movement) in which there is an object parameter in the methods, so you have just have those methods for every object in your game that you want to have collision detection with.

Do you think I should work on that?

Delpenator 12-13-2009 07:14 PM

Whether or not you think my compliment is good or not,:rolleyes:especially since I don't know how to code collision detection at all, I'm gonna tell you anyway. That is the most complex do together - loop - while statement i have ever seen! And it worked perfectly!:D

Since i'm not really sure if thats a compliment, how's this. You rock!:p

But I still don't understand collision detection at all. :(

Dameria 12-13-2009 07:21 PM

Yea thats why I was thinking of making a simpler version of it that could work with more than just one object. Like where you can just enter the object that you want to have the collision detection, and it will work. I am thinking of making something like that (or trying to at least) but I am a lazy person so I would need to see if people want me to do it first.

Delpenator 12-13-2009 07:32 PM

I'd love that! ;) That would really help alot! Especially if you had a lot of comments... lol.:D

All times are GMT -5. The time now is 06:18 PM.

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