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

Please add delta and now functions to make more advanced time-based games #17

Open
justgook opened this issue Jan 28, 2020 · 2 comments · May be fixed by #18
Open

Please add delta and now functions to make more advanced time-based games #17

justgook opened this issue Jan 28, 2020 · 2 comments · May be fixed by #18

Comments

@justgook
Copy link

justgook commented Jan 28, 2020

now there is only spin, wave, and zigzag, but if you would like to make some more advanced games, add physics, animations, particles, you need to know delta from previous frame..

now is needed when you want to create some schedule events, and now we cannot do that as we don't know time what is now, and do that based on counting frames not really good way..

@Snaker1
Copy link

Snaker1 commented Jan 28, 2020

I agree. I just wanted to try this package but had to give up because there is no way to get the delta. I hope this can be implemented soon as this package seems pretty great for learning how to use Elm.

@justgook justgook changed the title Please add delta and time functions to make more advanced time-based games Please add delta and now functions to make more advanced time-based games Jan 28, 2020
@justgook justgook linked a pull request Jan 28, 2020 that will close this issue
@mahidul-islam
Copy link

I agree. I just wanted to try this package but had to give up because there is no way to get the delta. I hope this can be implemented soon as this package seems pretty great for learning how to use Elm.

Hey @Snaker1 I think you can now use this package https://package.elm-lang.org/packages/justgook/webgl-playground/4.1.3/ to have this feature. and start building advance stuff...

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

Successfully merging a pull request may close this issue.

3 participants