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

Unable to use more than one Smoke tiles #110

Closed
Ghazanfar373 opened this issue Sep 16, 2020 · 9 comments
Closed

Unable to use more than one Smoke tiles #110

Ghazanfar373 opened this issue Sep 16, 2020 · 9 comments
Assignees
Labels

Comments

@Ghazanfar373
Copy link

Hi Hansolo Lovers, I have developed a JAVAFX Interface using 6 smoke tiles, when I try to pas values to each smoke tile, only one tile starts showing animation, nothing happen with other 5 tiles. What supposed to be wrong with this? I think the issue with multiple timers, Like when I opened the Tile core class I found there is a dedicated timer running to show animation. So when I start 6 tiles at same time it might be possible other timers unable to show animation. Am I right? any help would be appreciated.

@HanSolo HanSolo self-assigned this Sep 16, 2020
@HanSolo HanSolo added the bug label Sep 16, 2020
HanSolo added a commit that referenced this issue Sep 16, 2020
Due to static declaration of running variable in Fire and Smoke it was only running once.
@HanSolo
Copy link
Owner

HanSolo commented Sep 16, 2020

There have been static declarations of the running variable in Fire and Smoke. This problem was fixed with commit: d6b57f6

@HanSolo HanSolo closed this as completed Sep 16, 2020
@Ghazanfar373
Copy link
Author

Thank You Hansolo :)

@Ghazanfar373
Copy link
Author

Sorry to bother you again, I were using 'eu.hansolo:tilesfx:11.44' as gradle implementation. I rebuild the gradle file but facing same issue, How can I access updated commit on my gradle project?

@HanSolo
Copy link
Owner

HanSolo commented Sep 16, 2020

If you use it like that you will get the latest release which is 11.44 and which does not contain the fix. The fix is currently only in the repository. Meaning to say if you would like to use it you can download the sources, build the jar by using gradle build on the project folder and add the dependency to your gradle file e.g. copy the jar file to a folder in your project directory like "/libs" and add the line "implementation fileTree(dir: 'libs', include: ['*.jar'])" to your dependencies. Otherwise you need to wait until I will find time to release the next version (maybe I will do this later today).

@Ghazanfar373
Copy link
Author

I got it ! Thank you so much for your timely response :)

@Ghazanfar373
Copy link
Author

Facing Issues with gradle build, Kindly update it on https://bintray.com/hansolo/tilesfx/tilesfx

@Ghazanfar373
Copy link
Author

"Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0"
Same error every time when I tried to build the source code with Gradle 6.6
I tried to download gradle 7.0 but this released not up yet.

@HanSolo
Copy link
Owner

HanSolo commented Sep 17, 2020

That's fine, if you use the gradlewrapper it will use the gradle version that should be used to build this project. So instead of doing "gradle build" you should do "gradlew build"

@Ghazanfar373
Copy link
Author

That's fine, if you use the gradlewrapper it will use the gradle version that should be used to build this project. So instead of doing "gradle build" you should do "gradlew build"

Finally I resolved it.... Cheers 👍

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

No branches or pull requests

2 participants