Alice Community

Alice Community (
-   How do I...? (
-   -   How do I put JPEGS in Alice? (

frigging_n00b 09-22-2005 08:56 PM

How do I put JPEGS in Alice?
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

gabe 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! ;)

frigging_n00b 10-01-2005 07:01 PM

1 Attachment(s)
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)

gabe 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.

frigging_n00b 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)

gabe 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.

frigging_n00b 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

All times are GMT -5. The time now is 09:46 PM.

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