Giter Site home page Giter Site logo

The Bad Texture Error about gp-mods HOT 11 CLOSED

callowaysutton avatar callowaysutton commented on September 25, 2024
The Bad Texture Error

from gp-mods.

Comments (11)

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

It doesn't seem to come directly to come from the runtime since the Bad Texture error is not coded in the runtime. It is still possible to find it in the executables (I did it with Notepad ++).

But I didn't encounter this error for a long time and I don't remember if it happens in a particular context.
I'm currently trying to get the error, I'll tell you if I find anything.

from gp-mods.

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

Also, if you have any specific project...

from gp-mods.

callowaysutton avatar callowaysutton commented on September 25, 2024

I never could get around to finishing this small leaderboard because of the bad texture error constantly popping up and deleting all my previous work. Could it be because I'm using large bitmaps?

I was able to reproduce it by leaving this project running for ~20 seconds, stopping it, and then trying to save it to a new location.

Leaderboards.zip
(Just change extension from .zip to .gpp)

Also reproducible by going fullscreen or making the Stage have greater than a 1920x1080 resolution.

from gp-mods.

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

It seems to come (at least partially) from the takeThumbmail method.
I still don't know why.

from gp-mods.

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

Also, if anytime you see an instance that does have a costume but the costume is not shown in the instance page, press clear as fast as you can.
Changing fullscreen or windows size is also a bad idea after saving a project.

from gp-mods.

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

The bug is without a doubt linked with the instances icons disappearing. But the problem is that this disappearance might happens at multiple points of the execution of the save function, the takeThumbmail and loadPage methods
I'll try to go deeper and I'll tell you about it

from gp-mods.

callowaysutton avatar callowaysutton commented on September 25, 2024

Well that's good, if thats the case then there might be a way to fix this issue in the runtime. I was worried it could've been an issue with the actual interpreter

from gp-mods.

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

I'm currently trying to make an alternative way of saving projects that would be folder based instead of file based. Every class created by the user would have his own file for methods and scripts and images would be stored as files and not as GP object in the .gpod file. But it would still be possible to make it a file by zipping it.

from gp-mods.

callowaysutton avatar callowaysutton commented on September 25, 2024

Would that not interfere with the app maker? It uses the zipped .gpp file to embed the project

from gp-mods.

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

I think I found a possible workaround fix by creating a temporary class that is deleted after the project is saved.

from gp-mods.

Spiralo-Idioide avatar Spiralo-Idioide commented on September 25, 2024

Ok there is something even easier, there is a block ( clearLibrary ) that just solve the problem.
I'm creating the pull request

from gp-mods.

Related Issues (3)

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.