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

Add missing scripting API for Bullet "step" #479

Open
2 tasks done
Wackytoaster opened this issue Feb 21, 2025 · 0 comments
Open
2 tasks done

Add missing scripting API for Bullet "step" #479

Wackytoaster opened this issue Feb 21, 2025 · 0 comments

Comments

@Wackytoaster
Copy link

Reviewed guidelines

  • I have read and understand the suggestion guidelines

Checked for duplicate suggestions

  • I checked for existing similar suggestions

Summary

There does not appear to be a way to access a bullets "step" in javascript.
https://www.construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/behavior-interfaces/bullet

Possible workarounds or alternatives

Don't think there's a way other than build it in events or code the bullet behavior from scratch... or somehow jerry-rig a stepping behavior onto it

Proposed solution

Fire a behavior event "step" (like moveto behavior "arrived")

Why is this idea important?

I like javascript

Additional remarks

This is a bit off-topic but I also noticed that the setting "Set angle" of the bullet behavior cannot be changed at runtime, neither in events nor in script. Not sure if that is intended. It's not super important for me tho but I thought I'd mention it here.

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

1 participant