« Return to Thread: new features in Pipmak

new features in Pipmak

by Aidan Gauland :: Rate this Message:

Reply to Author | View in Thread

Hello,

  I have reached a point with my game where I can't think of a way to do what
I want with Pipmak's current capabilities.

1.
Problem: Running Lua code immediately after a certain sound stops playing.

Specific instance: In node 122, I want to make the a button pulse to a
heartbeat sound, which is started by moving the mouse over a hotspot, and then
started again when the sound stops playing.  I could use Pipmak schedule, but
I'd have to hard-code the duration of the sound file, and, besides, that would
leave a little more room for accumulated time-sync errors.

Possible Solution: Giving sounds something like the onenternode handler for nodes.

2.
Problem: Restoring engine settings from variables in the state table (specific
to a particular Pipmak project file).

Specific instance: I have a settings node (121), but the settings don't
persist between sessions (i.e. they're lost when you save and resume a game).

Possible Solution: Adding a handler equivelant to onopenproject that is run
when opening a saved game.

  Would anyone else find features like these useful?  Could these be easily
implemented in Pipmak?  Do we just have too much spare time on our hands? :)

  -Aidan


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pipmak-Devel mailing list
Pipmak-Devel@...
news://news.gmane.org/gmane.games.devel.pipmak.devel
https://lists.sourceforge.net/lists/listinfo/pipmak-devel

 « Return to Thread: new features in Pipmak