Code Monkey home page Code Monkey logo

Comments (6)

sanderfrenken avatar sanderfrenken commented on July 22, 2024

Yes indeed, the CORS issue I think affects all local runs. Not sure how to resolve it either, I usually do the same as you by adding the flag.
Alternatively, you can disable loading of the credits.csv in the sources, as the XMLHttpRequest that is done there is what is actually causing the issue AFAIK.

I can add it to the readme, or if you like, you could submit a PR as well :)

from universal-lpc-spritesheet-character-generator.

meytin1337 avatar meytin1337 commented on July 22, 2024

Okay I will open a PR. I want to first see if its fixable otherwise I will open a PR to update the README.

from universal-lpc-spritesheet-character-generator.

meytin1337 avatar meytin1337 commented on July 22, 2024

Unfortunately the only way to fix the issue would be to use a server to serve the files (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp). By the way, did anyone ever consider rewriting the frontend in a modern framework?

from universal-lpc-spritesheet-character-generator.

jrconway3 avatar jrconway3 commented on July 22, 2024

Its certainly possible, but this is more of a passion project that's done casually. As such, Sanderfrenken and others don't like making big changes. The biggest change recently was adding all the new animations which was done by me specifically.

from universal-lpc-spritesheet-character-generator.

sanderfrenken avatar sanderfrenken commented on July 22, 2024

Have to say that I'm not against big changes. But myself I am very busy with developing a new game, and I use this generator as a tool for generating characters. In game for the players, I developed a new character generator but that is written fully in Swift.

As of this project, I know the code is quite old and not ideally setup. On the other side, it gets the job done, and aside from some quirks here and there (like the CORS issue when running locally) I don't see big reasons to rewrite to some new framework like React or Vue or whatever.

There have been projects started in the past to make a rewrite happen like the most recent one here:

https://github.com/BenCreating/LPC-Spritesheet-Generator

But its quite a job to rebuild all functionality and drop in all assets as supported by the version you are looking at in this repo.

from universal-lpc-spritesheet-character-generator.

meytin1337 avatar meytin1337 commented on July 22, 2024

Understandable. Thanks for the answers. I will close this issue now.

from universal-lpc-spritesheet-character-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.