Many thanks dop2000, this is really helpful.
Hi,
A playable character sprite has five different costume animations. The costume is currently determined by a global variable. So far the only way I can get the correct animations to play is by adding individual "set animation" events. I know there's a much more efficient way of doing this but can't get it to work.
I'm having an issue with a global sprite with platform behaviour. It's visible in all the layouts it's supposed to be, and is then set to have platform behaviour disabled and to become invisible for layouts where it's not used. Whenever I return to a layout where it's supposed to be displayed it's always invisible. Debug mode states it's visible and it's on the topmost layer. How do I fix this?
Develop games in your browser. Powerful, performant & highly capable.
Hi oosyrag,
It's working now. I'd been using both X and Y coordinates in the action block, using only X is displaying the animations. Thanks, this issue had been bugging me for a while.
Thanks dop2000.
I have the animation names in the Y1 row beneath the dialogue at Y0. I'm still fairly new to arrays and can't work out what action I need to use to get the animations to play. I'm assuming it's Array.At and the sprite object but am clearing missing something.
I'm trying to make a character sprite's animation change during a dialogue scene. The dialogue is contained in an array, and so far the only way I've been able to do this is by using separate "set animation" events, which is very inefficient. I've tried using loops and loopindex but don't have enough experience to go it to work. Any help would be really appreciated.
The game I'm working on uses the 'save' and 'load' actions. On the title screen, how would I get the game to check if a save file already exists when a 'new game' option is selected?
I know it's confusing. I don't really have the experience to get it working, so a small example would be very helpful if possible.
I've tried to recreate what I had yesterday, I didn't save as it wasn't working so I've almost certainly missed several things out.
Thanks lionz.
Could you provide a screenshot of the array setup? I probably putting the right things in the wrong places as I can get the dialogue to display but not cycle through.
Thanks lionz,
I'm still new to this, what do I put in the "()" after array.at?
If I wanted to make a character sprite's animation change during a dialogue scene and the dialogue is contained in an array, is there a quicker way to do this other than using separate "set animation" events?
Member since 9 Jul, 2019