Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   GK's World Template (Collision detection included!!) (http://www.alice.org/community/showthread.php?t=7939)

GameKid 01-17-2012 01:23 PM

GK's World Template (Collision detection included!!)
 
1 Attachment(s)
This is a world template for people who are new to alice.
It comes with five built-in methods and four built-in functions, all with parameters, so you can use them with any object.
Methods are, and in parentheses are the parameters:
Jump (Thing to jump) (How high) (What direction) (How far) (How slow)
Backflip (What to flip) (How many flips) (What to land on)
Hurt (What to hurt) (What subpart to hurt) (Normal color)
Nod head (Head to nod) (How many nods) (How many seconds)
Shake head (What head to shake) (How many shakes)
Functions are, and in parentheses are the parameters:
B is closer to A than C (A) (B) (C)
A is colliding in width with B (A) (B)
A is colliding in height with B (A) (B)
A is colliding altogether with B (A) (B)
I hope this helps!

dakota95 01-18-2012 09:47 PM

yes it helps. I've always had a problem with parameters and such ilk.


All times are GMT -5. The time now is 07:46 AM.

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