Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Questions and Comments (http://www.alice.org/community/forumdisplay.php?f=9)
-   -   Fire animation is 2D (http://www.alice.org/community/showthread.php?t=7060)

simsman2011 08-06-2011 04:40 PM

Fire animation is 2D
 
I made a fire animation but it is (2D)!!!!......
Is there a way to make it 3D or download another one that is 3D?

DensetsuNoKaboom 08-06-2011 05:04 PM

Make an event that says While the world is running, fire animation turn to face camera (duration 0 seconds).

simsman2011 08-06-2011 05:13 PM

I tried that but an error (in Graphics I think) has occured

[CODE]Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException
at javax.swing.LayoutComparator.compare(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(Unknown Source)
at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(Unknown Source)
at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(Unknown Source)
at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(Unknown Source)
at java.awt.FocusTraversalPolicy.getInitialComponent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.SequencedEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
*****Running World*****
cannot invert: -3.2767592408240283E37, -1.0677159928996907E38, -1.8630757757579067E38, 0.0
-1.84993540438415E37, -1.3717754986349564E39, 3.0529909379110037E38, 0.0
-2.1393564868216234E38, -2.8661749485118448E38, -1.3448550050792897E39, 0.0
-44.247181113063334, 4.377228382636197, 46.53462835297469, 1.0

*****Stopping World*****
*****Running World*****
cannot invert: -1.44306438356451558E18, -1.40516402528759056E17, -2.9002945347871725E17, 0.0
1.47713721265725792E17, -1.50041801724972134E18, 1.0774892210714938E16, 0.0
-2.86430794110233792E17, -4.6803657685022984E16, -5.7803466106266264E16, 0.0
-50.74569957769623, 2.454589715412509, 37.05013460961413, 1.0

*****Stopping World*****
[/CODE]

DensetsuNoKaboom 08-06-2011 05:18 PM

1 Attachment(s)
?

simsman2011 08-06-2011 05:51 PM

1 Attachment(s)
?????????????????????????????? :confused: :confused: :( :(
Look....this is screenshots and my world:

Screenshot 1:






[IMG]http://img812.imageshack.us/img812/1064/unledvep.png[/IMG]







Screenshot 2 (there is a skeleton on the right side of the image):







[IMG]http://img691.imageshack.us/img691/2268/unled2vc.png[/IMG]







:( :(

DensetsuNoKaboom 08-06-2011 07:23 PM

Making the fireAnimation turn to face the camera seems to work fine for the Alice gallery's fireAnimation. Try that?

simsman2011 08-07-2011 05:48 AM

Of course!.....This animation is from Alice gallery..........
Ah!....by the way....I forgot to tell you that there is another object (ranger) in the same position of fire animations but it becomes invisible (isShowing=false) then the fire animations appear

x2495iiii 08-07-2011 07:12 AM

That's the warp glitch (at least I call it that). When you have an object turn to face a target a large number of times in a short span of time, it sometimes warps.

I get around this by putting a dummy object at the same height as the object (the fire), but above/below the camera. Then, just change "turn to face camera" to "point at dummy object"

ElectricKirby 08-07-2011 07:16 AM

I sometimes have that when I use turn to face. It's a glitch in Alice that causes object deformity. Instead, use Constrain to Face.

simsman2011 08-07-2011 07:32 AM

THANKS. I used constrain to face and it worked


All times are GMT -5. The time now is 02:29 AM.

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