creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Buttons Randomly Stop?   
Papriko
Peppery One

Papriko
Germany  


  3/15/2010

Actually I feel dumb to make up a topic for such a small question, but I still do it:

I am working on my first compound agent. It has a lot of cool buttons that will do a lot (not yet, but later). Now I have a really stupid question: as animation that the CAOS Documentation calls "anim_hover" did I define [0 1 255]. The buttons stop randomly on frame 0 or 1 when I take the hand away again...
How do I define in the code that it always stops at frame 0? [0 1 255 0] did not work.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
AquaShee

AquaShee



  3/15/2010

The buttons do behave oddly. I had a similar issue with the buttons on the BSTL Machine.
Right after creating a button, have it do a simple animation, [1 0] should be enough. After this the buttons should behave properly when you hover over them and go back to pose 0 when you're done hovering.

I'm not sure if it'll work, but it worked for me.


The Community Scribble: make (y)our own metaroom!
 
Papriko
Peppery One

Papriko



  3/16/2010

The CAOS Documentation wrote that it'll return to the last animation after the mouse is away, so was it no wonder that it worked.

But without you I probably would needed ages to get that idea, so thanks ^^


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki