Alice Community  

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

Reply
 
Thread Tools Display Modes
How do I put JPEGS in Alice?
Old
frigging_n00b
Guest
 
Status:
Posts: n/a
Default How do I put JPEGS in Alice? - 09-22-2005, 08:56 PM

I know JPEGS aren't 3-d, but can't I still import them in the world? make it look like a wall, except its 2-d....

is it possible?

EDIT: and how do you make it so that when an object touches another object, something happens (the world stops, etc), and is there a system so that each second the world starts, a point goes up, and when the world stops, the points stop

Last edited by frigging_n00b; 09-23-2005 at 03:10 PM.
   
Reply With Quote
Old
gabe
Administrator
 
gabe's Avatar
 
Status: Offline
Posts: 461
Join Date: Jul 2005
Location: Pittsburgh, PA
Default 09-26-2005, 06:11 PM

You can import JPEGs to use in your world. Go to File -> Make Billboard...

To detect when an object touches another object, play around with the proximity functions, which you can locate by select an object from the object tree and clicking the functions tab in the details window. Try creating a while loop and dragging in one of these functions. While Alice has no collision detection, with a litte work, you should be able to fake an object touching another object and something happening as a result pretty well. Good luck!
   
Reply With Quote
Old
frigging_n00b
Guest
 
Status:
Posts: n/a
Default 10-01-2005, 07:01 PM

thanks for the reply.

I tried to do this, but it ins't working....can you see whats wrong with it?

I attached a phote (it should work)
Attached Images
File Type: jpg Alice JPEG.jpg (29.2 KB, 363 views)
   
Reply With Quote
Old
gabe
Administrator
 
gabe's Avatar
 
Status: Offline
Posts: 461
Join Date: Jul 2005
Location: Pittsburgh, PA
Default 10-02-2005, 03:27 AM

What is it that isn't working? Is the JPEG not importing? Please attach or email me your world along with the image file and I will take a look at it.
   
Reply With Quote
Old
frigging_n00b
Guest
 
Status:
Posts: n/a
Default 10-03-2005, 03:06 PM

no, I'm trying to make it so that when a knife is within 10 meters of the sheriff, a 3d text "you suck" moves towards the camera (signaling the end of the game)
   
Reply With Quote
Old
gabe
Administrator
 
gabe's Avatar
 
Status: Offline
Posts: 461
Join Date: Jul 2005
Location: Pittsburgh, PA
Default 10-03-2005, 03:22 PM

Based on the code snippet, it should do exactly that. If the 3d text "you suck" is not turning to face the camera and moving towards it 15 meters, then there is something in your world which I am not seeing. Please attach your world or email it to me and hopefully we can figure out why this isn't working for you.
   
Reply With Quote
Old
frigging_n00b
Guest
 
Status:
Posts: n/a
Default 10-06-2005, 10:24 PM

here is my world.

its a game, and the objective is to dodge the knives, if you don't the pic comes up

Last edited by frigging_n00b; 10-06-2005 at 11:50 PM.
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.