Bit Blot Forum
Aquaria => Modding => Topic started by: Kasofa on December 08, 2009, 07:04:47 pm
-
Is it doable? I would like to figure out Lua, and had this idea. I can't quite figure out how to accomplish this.
Sorry if this post isn't that clear, I can't figure out what I'm trying to say.
-K
-
I forget the specifics, but it should be possible. (there are objects that Naija can cling to in the game that move... for instance the moving ice chunks in the frozen veil)
-
Check out the Grouper script- I know it has different in-game effects when you sing depending on whether you're clinging to it or not, though I don't know how this was implemented.
- Edwards
-
you mean this?
function songNote(me, note)
bone_alpha(eyeglow, 0.5, 1)
bone_color(eyeglow, getNoteColor(note))
end
function songNoteDone(me, note, timer)
if timer > 1 then
entity_setState(me, STATE_OPEN, 2)
end
bone_alpha(eyeglow, 0, 1)
end
I'm thinking something like this.
(This might not be the correct code, because I do not know the tags for this.)
avatar_isOnWall(me)
vibrate, then
entity_addVel(me, 0, -10)
entity fade
end
[/code
-K