+1 vote

Hi all,

Apologies in advance if there is a simple solution that I've missed. I'm trying to export the "Dodge the Creeps" game to Windows and to HTML5, but cannot get the file to run on either platform. I'm able to get it to run in the engine. When I export it to windows, I get an .exe file but all it does it make the godot icon flash in the taskbar towards the bottom of my screen. I got this error from the console:

Loaded resource as image file, this will not work on export: 'res://icon.png'. Instead, import the image file as an Image resource and load it normally as a resource.

Please note, I've downloaded the templates and I've made sure that I'm putting the .exe and .pck files in their own separate file by themselves.

While there were few answers that worked for others on this forum/github/reddit, I've had a hard time understanding them (something about turning the .png into a resource?).

Can someone outline to me, as simply as possible, what to do to get the game to export so I can play it on windows/html5? Happy to provide screenshots; just didn't know which ones would be relevant.

Thanks!

asked Mar 17 in Engine by paulgguitar (13 points)

Try to reset the Icon field on Project Settings -> General and them assing the icon again.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.