Alice Community  

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

Reply
 
Thread Tools Display Modes
Collision Detection - ADVANCED - Glitchy
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default Collision Detection - ADVANCED - Glitchy - 04-05-2011, 05:40 PM

I made this thing last year with plans to make it into a whole first person shooter minigame, but all I got through was the collision detection part. I used a new theory of collision detection at the time that worked wonderfully but took a lot of tweaking to get right (please if you are an amateur Alice programmer looking for a simple collision detection, DO NOT TRY TO RECREATE THIS!), it is very complicated and it basically splits the map into quadrants so that depending on where you are in the map, only the walls in that quadrant of the map will be activated for collision detection. I felt that this was the best way to prevent lag from all of the walls detecting at once, and it worked just as I had hoped.

If you want, you can take this map as it is now and do whatever you want with it, add guns and enemies if you want, whatever.

Also if you are good at programming and actually understand the collision detection I used, you can try to fix the problem of going backwards diagonally through some of the walls. I fixed a lot of the glitches going past walls, but diagonally backwards is the big one I didn't fix. I gave up on this a long time ago and forgot to post it, so here I am now making up for that.

Tell me what you think of the new collision detection method!
Attached Files
File Type: a2w CounterStrike_Ice.a2w (534.4 KB, 201 views)


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
Fritz
Senior Member
 
Fritz's Avatar
 
Status: Offline
Posts: 105
Join Date: Sep 2010
Default 04-07-2011, 03:59 PM

Move at a diagonal and your method is screwed.


Working on a new Futuristic FPS game

http://alice.org/community/showthread.php?t=6734
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 04-07-2011, 04:34 PM

Quote:
Originally Posted by Fritz View Post
Move at a diagonal and your method is screwed.
Yeah I explained that in my post. Diagonally forward should be fine in most areas, but diagonally backwards almost always lets you through.


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
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 04-07-2011, 05:57 PM

Well this looks familiar.

Excellent work as always, D. This is something Nintendo would do, making something excellent with humble resources.

This is also the kind of thing that'd make a perfect FPS. That is, if Alice were meant to handle that sort of thing.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 04-07-2011, 06:54 PM

Quote:
Originally Posted by x2495iiii View Post
Well this looks familiar.
Haha its because you made a little game out of this a while back when I showed it to you exclusively. It was pretty good too, I'll post it here if anyone wants to see it.

This is just one example of a game you could make with this premade map:
Attached Files
File Type: a2w CounterStrike_Ice (x2495iiii).a2w (2.10 MB, 29 views)


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
reaper1395
Senior Member
 
reaper1395's Avatar
 
Status: Offline
Posts: 53
Join Date: Nov 2010
Default 05-02-2011, 01:51 PM

its cool but takes some time to get used to the turning system/ putting the arrow back to the center of the screen to stop turning


XBL gt: R3APER 359
   
Reply With Quote
Great job
Old
meeatpizza
Senior Member
 
meeatpizza's Avatar
 
Status: Offline
Posts: 107
Join Date: Jan 2011
Location: 'Murica
Thumbs up Great job - 05-28-2011, 05:20 PM

This is the best collision thingy in alice ever made you rock!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Current Alice Projects

WaVE fps engine
Inventory-------- NEED HELP WITH MY INVENTORY!!!!!!!!!-----------------------
GTA Alice

My Website
http://teamamazingstudios.webs.com/

My Unity 3D Game
http://www.youtube.com/watch?v=7hd__0Yyf5U
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 05-28-2011, 09:50 PM

Very nice Dameria. I can't believe I did not see this thread before..


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Deidara1BG
Member
 
Deidara1BG's Avatar
 
Status: Offline
Posts: 34
Join Date: Jul 2011
Location: Bulgaria
Default 07-17-2011, 05:21 PM

It's funny how the world is named Counterstrike_ice and the map is actually called fy_snow.And it is for player vs player only,not zombies.

God,i am such a nerd...


Yeah,thats my cat on the avatar.

If you like gaming,check out my youtube channel.(Deidara1BG)
I post different videos of gaming there,im going to start posting Alice videos soon,aswell as some commentaries.

If you say "Plz" because it's shorter than "Please" i will say "No" because it's shorter than "Yes".
   
Reply With Quote
Reply

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