Important question java heap

Hi all.

I work with many fullhd png images(about 100) and often recieve Java Heap Error in Editor. I can extended this heap?

I use 1.2.96

I second the second paragraph :slight_smile: Often have to restart in order to build.

yes for build, for change atlas, for make game object :slight_smile:

The first question gave me a lot of answers when searching in here on ā€œalpha spriteā€. (Yes you can)

Thank you :slight_smile: I try test with set_constant.

If you search for java heap in the forum you get multiple questions and answers about this! :slight_smile: Hereā€™s a good answer: Editor crash: ā€˜java heap spaceā€™

You can control the alpha channel of a sprite. The sprite material has a tint constant. This allows you to change the tint (including alpha) using sprite.set_constant("#sprite", "tint.w", 0.5) or go.set("#sprite", "tint.w", 0.5) or go.animate("#sprite", "tint.w", go.PLAYBACK_ONCE_FORWARD, 0.5, go.EASING_LINEAR, 1).

2 Likes

@britzl thank you.