Alice Community  

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

Reply
 
Thread Tools Display Modes
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-15-2010, 09:06 PM

Don't even start the collision on that world then, it won't be able to handle it. There is a way that I know where you can put every tree in quadrants of forests, and it would be able to run successfully without much lag. I am currently testing it right now with my own game (results are very good), but I only have 4 quadrants in the game that I am making it in. To make a game with 50 quadrants would take a very, very, very long time (it has taken me about 2 hours just to place all of the walls, and another 2 hours to figure out and create the code, and now I am testing it to make it better).

If I were you, I would just let the people walk through the trees, its not worth the time you would have to invest on making the collisions.

Edit: Hmm, well if all of the trees are already within a "forest" object, it might not be too hard putting them all in groups, but it would still take probably 5-10 hours just to create the collision.


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

Last edited by Dameria; 05-15-2010 at 09:13 PM.
   
Reply With Quote
Old
Watsamax1
Senior Member
 
Watsamax1's Avatar
 
Status: Offline
Posts: 155
Join Date: Aug 2009
Default 05-16-2010, 09:32 PM

I already got collision. I just downsized everything again. castles got it with ability to enter it. church shacks windmills. Dameria do you know a good wood texture i could get in game. Or a decent wooden barn. a red barn in a medieval world just kinda ehhh. And good luck on your test world .


___________________________________________________

Watsamax Industries
Games Produced for Watsamax Industries Inc. 2010
Watsamax Industries: New York
Watsamax@gmail.com
http://www.facebook.com/profile.php?id=100001253371874#!/profile.php?id=100001253371874&v=wall
http://www.youtube.com/user/Watsamax
___________________________________________________
   
Reply With Quote
Old
Watsamax1
Senior Member
 
Watsamax1's Avatar
 
Status: Offline
Posts: 155
Join Date: Aug 2009
Default 05-16-2010, 09:37 PM

ill probably go with no collision on the forest. at-least the buildings got it so. Do you got a idea for collision on a barn, shack? im pondering to just use cones but do you got a idea?


___________________________________________________

Watsamax Industries
Games Produced for Watsamax Industries Inc. 2010
Watsamax Industries: New York
Watsamax@gmail.com
http://www.facebook.com/profile.php?id=100001253371874#!/profile.php?id=100001253371874&v=wall
http://www.youtube.com/user/Watsamax
___________________________________________________
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-16-2010, 09:39 PM

Is this a good wood texture for you?

http://www.photoshoptextures.com/woo...od-texture.jpg


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

Last edited by Dameria; 05-17-2010 at 05:23 PM.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-16-2010, 09:42 PM

Quote:
Originally Posted by Watsamax1 View Post
ill probably go with no collision on the forest. at-least the buildings got it so. Do you got a idea for collision on a barn, shack? im pondering to just use cones but do you got a idea?
For the barn, you could always just use the collision method I used in the maze game and just put 2d squares on the outsides of the barn. You can make it only do collision when you are close to the shed by putting in an infinite method looping every 2 seconds saying "If(camera is within 15 meters of barn), do barnCollision" and then have the collision method for each square of the barn. You can do this for every building in the game (hmm, I guess I just thought of another good method of collision detection without causing lag )


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
Watsamax1
Senior Member
 
Watsamax1's Avatar
 
Status: Offline
Posts: 155
Join Date: Aug 2009
Default 05-17-2010, 04:06 PM

Thnx for the collision idea. . I found a wood texture near perfect. wish the doors matched though. I used the battle axe handle.


___________________________________________________

Watsamax Industries
Games Produced for Watsamax Industries Inc. 2010
Watsamax Industries: New York
Watsamax@gmail.com
http://www.facebook.com/profile.php?id=100001253371874#!/profile.php?id=100001253371874&v=wall
http://www.youtube.com/user/Watsamax
___________________________________________________
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.