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

array for class #1218

Closed
bo-ku-ra opened this issue Apr 18, 2023 · 5 comments · Fixed by #1256
Closed

array for class #1218

bo-ku-ra opened this issue Apr 18, 2023 · 5 comments · Fixed by #1256

Comments

@cyborg-ts cyborg-ts added this to D2 Apr 18, 2023
@bo-ku-ra
Copy link
Contributor Author

bonus (d2 v0.4.1)
d2_mario-run

@alixander
Copy link
Collaborator

giphy (4)

@alixander
Copy link
Collaborator

can i get the source code for that hahah

@bo-ku-ra
Copy link
Contributor Author

bo-ku-ra commented Apr 18, 2023

#1000 (comment) and #905 (comment)

d2_mario-run.zip

@bo-ku-ra
Copy link
Contributor Author

d2.exe (windows)


> d2 d2_mario-run.d2 d2_mario-run.gif

�[31merr�[0m: bad usage: -animate-interval must be greater than 0 for .gif outputs.
�[31merr�[0m: You provided: 0
�[31merr�[0m: Run with --help to see usage.

correct : --animate-interval


>d2 --animate-interval=120 d2_mario-run.d2 d2_mario-run.gif
(no message & don't output gif-file)


>d2 --animate-interval=120 d2_mario-run.d2 d2_mario-run.svg
�[32msuccess�[0m: successfully compiled d2_mario-run.d2 to d2_mario-run.svg in 181.8273ms
ok


>d2 d2_mario-run.d2 d2_mario-run.pdf
success: successfully compiled d2_mario-run.d2 to d2_mario-run.pdf in 2.2247553s
ok (also ansi escape sequences)

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

Successfully merging a pull request may close this issue.

2 participants