-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Implement a parser for the new sprite format #1055
Comments
I would like to do this contribution. |
@Montx feel free to ask on IRC/Matrix about anything you might need. |
Please include the documentation draft in the pull request so it becomes official (as |
Sorry guys I thought I could pick this one up but I am on a mac and I can't update it to Mojave yet. So there are some functions on the game that are not supported by High Sierra. Currently I don't have my windows setup, and I can't mess with this mac, since it's not mine :/ Really frustrated with this, I could not find any work around. I hope I can still do some contributions in the future. Will continue to try and get a workaround. |
I think I can handle this one. I've implemented SpriteSheet parsing and animation in MonoGame before. Just need to smash through those Windows build errors. 😝 |
@Firearrow5235 I attached a yaml-File for appveyor that should help you setting up your own pipeline. You still need to change the file extension and change some stuff inside. But openage should be building fine with this on windows. So you don't need to smash through those build errors. ;-) |
How can I contribute to this project? please let me know. |
@Aakash10-Coder You could read a bit through our contribution guide. Also I would recommend to pass by in the developers chat to figure out with the other people what can be done. :-) |
Contributing to the new renderer:
The renderer interface is defined in headers, with the main class in
libopenage/renderer/renderer.h
.A good place to start looking is
libopenage/renderer/tests.cpp
, which presents a sample usage of the renderer. To run the test, after compiling Openage do./run test -vd renderer.tests.renderer_demo 0
.Required knowledge:
What to modify:
libopenage/renderer/resources
, using the existingTexture2d..
classes to store the actual data. The sprite could be stored in a class such asSprite2dAnimated
.libopenage/renderer/tests.cpp
, e.g. as test number1
. The animation timing logic should not be added to the renderer itself, but rather implemented on top of it.The text was updated successfully, but these errors were encountered: