Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Yeti's Revenge #6

Open
1 of 5 tasks
tobbi opened this issue Dec 3, 2015 · 11 comments
Open
1 of 5 tasks

Issues with Yeti's Revenge #6

tobbi opened this issue Dec 3, 2015 · 11 comments

Comments

@tobbi
Copy link
Member

tobbi commented Dec 3, 2015

  • Change clapping.wav to clapping.ogg in default.nut (sound won't play otherwise)
  • Find a way to fix Issues with Yeti's Revenge supertux#83
  • Make coins actually behave like coins (coin collect animation). I believe you can create a custom object, set coin to #t and it should work. But needs to be figured out anyway.
  • Make custom bonus blocks behave like bonus blocks
  • Remove "snowshot" from dispensers. Badguy's called "kamikazesnowball"
@Hume2
Copy link
Member

Hume2 commented Dec 4, 2015

There's nothing like custom object in SuperTux.

@tobbi
Copy link
Member Author

tobbi commented Dec 4, 2015

or maybe add an object coin and set a custom sprite?

@LMH0013
Copy link
Contributor

LMH0013 commented Dec 4, 2015

Actually there is a "custom object" it's just called a "scripted object" instead. So if changing the sprite of a coin does not work, then it should still be possible to achieve the same effect with some effort.

     ---- On Thu, 03 Dec 2015 23:58:42 -1000  [email protected]  wrote ----or maybe add an object coin and set a custom sprite?

—Reply to this email directly or view it on GitHub.

@Hume2
Copy link
Member

Hume2 commented Dec 4, 2015

The current SuperTux state:
Scripted object: Is scriptable, but hasn't any collision-script.
Coin: Has the right effect, but has no collect-script.

@Karkus476
Copy link
Member

We need to add more script triggers. For example, I think it'd be great to have a script run when a bad guy dies. Or when a timer runs down.

  • Karkus

On 4 Dec 2015, at 20:35, Hume2 [email protected] wrote:

The current SuperTux satte:
Scripted object: Is scriptable, but hasn't any collision-script.
Coin: Has the right effect, but has no collect-script.


Reply to this email directly or view it on GitHub.

@Hume2
Copy link
Member

Hume2 commented Dec 5, 2015

Dead-scripts now work for all badguys. And when a timer runs down, doesn't already wait(time) do it?

@Karkus476
Copy link
Member

How do you create a dead script? By timer I mean a timer object which the player can see

  • Karkus

On 5 Dec 2015, at 06:46, Hume2 [email protected] wrote:

Dead-scripts now work for all badguys. And when a timer runs down, doesn't already wait(time) do it?


Reply to this email directly or view it on GitHub.

@brmbrmcar
Copy link

Deadscript is deadscript= or similar. leveltime is (leveltime 300), but I am not sure about a timer to a script.

@Hume2
Copy link
Member

Hume2 commented Dec 6, 2015

For example:
(snowball
(dead-script "sector.Tux.add_coins(10)")
(direction "left")
(x 2368)
(y 320)
)

This should work.

@Karkus476
Copy link
Member

Okay, great, I will add this to the flex lay editor

  • Karkus

On 6 Dec 2015, at 06:16, Hume2 [email protected] wrote:

For example:
(snowball
(dead-script "sector.Tux.add_coins(10)")
(direction "left")
(x 2368)
(y 320)
)


Reply to this email directly or view it on GitHub.

@tobbi
Copy link
Member Author

tobbi commented Jan 5, 2016

I fixed all the sound paths, sounds play correctly now (I didn't bother changing the 0.3.5 index, only the 0.4.0 index is changed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants