gurkenlabs / litiengine

LITIENGINE 🕹 The pure 2D java game engine.
https://litiengine.com/
MIT License
718 stars 94 forks source link

Enhance sprite dimension determination in sprite import panel #779

Closed nightm4re94 closed 6 months ago

nightm4re94 commented 1 year ago

Instead of providing pixel dimensions for the frames, let the user simply provide column and row counts. This way, one doesn't necessarily have to know what size their image file has. Also it's less typing and slightly more intuitive. Pixelorama does this, for example: pixelorama-spritesheet-import

bkebir commented 9 months ago

Hello,

We're 2 students on an IT Masters course and we'd like to contribute to your project on this issue. Is this possible ?

nightm4re94 commented 9 months ago

Hi @bkebir and welcome! I think this makes for a great first issue :) Please make sure you've read the contribution guide before getting started. Do you need additional information to get started or are you confident enough to dig around on your own?

bkebir commented 9 months ago

Hi @nightm4re94, Yes, we'd like to know a little more about how to get started with the project, and if you have any tips or advice about the feature to be created. Example : where the existing system is located and how to test the functionality

nightm4re94 commented 9 months ago

So this is the current situation: spriteImport In utiLITI's SpritesheetImportPanel, there are two spinners that configure the spritesheet width and height. When the spinners are updated, the grid preview, the keyframe table, and the animation preview are also updated.

What we want: Instead of specifying the spritesheet width and height in pixels, we want instead to pick the image width and height in frames. I think a good example of the intended behaviour can be found in the "Pixelorama " software: pixelorama-spritesheet-import

bkebir commented 7 months ago

@nightm4re94 Hello, can you go and see the issue we have encountered a problem, impossible to run 0.6.0 litiengine #793

bkebir commented 7 months ago

@nightm4re94 Hello, can you go and see the issue we have encountered a problem, impossible to run 0.6.0 litiengine, problem with JAVA 21, but it works again when you go back to an earlier version of the project https://github.com/gurkenlabs/litiengine/issues/794

nightm4re94 commented 7 months ago

Thank you, I am getting notified for all issues created. No need to mention them here, please keep this thread exclusive to this issue.