Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
GK's World Template (Collision detection included!!)
Old
GameKid
Senior Member
 
GameKid's Avatar
 
Status: Offline
Posts: 467
Join Date: May 2011
Location: My magnificent castle
Talking GK's World Template (Collision detection included!!) - 01-17-2012, 01:23 PM

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!
Attached Files
File Type: a2w GK's World template.a2w (232.6 KB, 59 views)


[COLOR=e4eaf2]Your text here[/COLOR]
Come on, you know you want to try it.
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Default 01-18-2012, 09:47 PM

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


<Insert_Signature_Here>
   
Reply With Quote
Reply

Tags
collision detection, template

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.