Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - FacciaBianca

#1
Development / Re: Animated falling block ?
September 27, 2017, 06:43:10 PM
Thank you both for helping out. Now that I think about it, I should have named this thread "Animated falling vase/item/enemy", since this kind of block I'm using normally can't be pushed into holes unlike blocks created by the Cane of Somaria.
#2
Development / Re: Animated falling block ?
September 27, 2017, 04:37:02 PM
(Sorry for the late answer, I prefer trying to fix things myself before asking for help.)

Quote from: Diarandor on September 27, 2017, 04:04:05 PM
Do what Chris says. You only need to define the events once, for the block metatable.
Alright I'll do this. Though am I brainstorming too much, or does it actually work with local variables ?
#3
Development / Re: Animated falling block ?
September 27, 2017, 02:17:53 PM
Thanks a lot for answering Christopho, I'll do that, however I'm trying to figure out which method/event would allow me to get the position of the hole in which the block falls/disappears, so that it would create the animation wherever it should be happening. (I'm a newbie in lua, so I'm quite toying with anything that could work according to my own "logic" ^^)

Edit : or maybe that could be done with sensors ? Nevermind, I think that only works with the hero.
#4
Development / Animated falling block ?
September 27, 2017, 01:23:24 PM
Hello everyone~

I've been making a "push-block-to-switch" puzzle in Solarus, along with a script which creates another block after you've pushed it in a hole, then re-entered the room.

However, it appears that when I push said block in a hole, it immediatly disappears halfway between the ground and the ravine.

So, I've been wondering if I needed to create the rest of the block's moving and falling animation, or if I did something wrong. Of course, I can provide the script if required !

In advance, thank you very much and have a nice day.
#5
Development / Re: Underwater distortion effect possible?
September 15, 2017, 02:26:41 PM
I apologize for replying in a 2-years-no-post topic (even though I've been searching for the forum rules but couldn't find anything), but if anyone's still interested by the French document about special effects, then I'd gladly translate it to English.