Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 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.


(')>
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 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?
   
Reply With Quote
Old
dubastot
Senior Member
 
dubastot's Avatar
 
Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
Default 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.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 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.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 12-04-2009, 07:43 PM

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:

ALICE VERSION 2.2 NEEDED TO VIEW THIS PROGRAM --- USING ALICE 2.0 WILL PRODUCE AN ERROR
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
Attached Files
File Type: a2w CollisionDetectionTest 2.0.a2w (342.9 KB, 47 views)

Last edited by Dameria; 12-04-2009 at 10:43 PM.
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 12-04-2009, 10:12 PM

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


(')>
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 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?


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
Delpenator
Guest
 
Status:
Posts: n/a
Default 12-13-2009, 07:14 PM

Whether or not you think my compliment is good or not,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!

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

But I still don't understand collision detection at all.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 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.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
Delpenator
Guest
 
Status:
Posts: n/a
Default 12-13-2009, 07:32 PM

I'd love that! That would really help alot! Especially if you had a lot of comments... lol.
   
Reply With Quote
Reply

Tags
collision detection

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.