exporting project issues

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stubbsy345
:warning: Old Version Published before Godot 3 was released.

Hi, I have just tested exporting my project for OSX. The project exports and loads but it doesn’t appear to be registering any input (i.e. when I press the arrow keys the character isn’t moving).

Any help would be great.

Thanks

What Godot version are you using, and are your export templates in sync with that version?

Akien | 2017-05-04 11:16

Godot 2.1.3.

I believe what is actually happening is that the fixed_process and process isn’t working but I may be wrong. I’m wondering if I am exporting it incorrectly? I.e. is there any options I should change. I’m not from a programming background so am still playing catch up on a lot of these aspects.

stubbsy345 | 2017-05-04 11:26

And did you install the 2.1.3 export templates? People often forget to update those when updating the editor, which results in buggy exports.

You can try to run your game from a terminal and see what errors it returns.

Akien | 2017-05-04 11:29

How would I run the game from a terminal on mac. I’m struggling with other apps I have just tested. For example on another project a scene won’t load in the exported version so I am definitely doing something wrong.

stubbsy345 | 2017-05-04 12:33

I’ll ask again: Did you install the 2.1.3 export templates?

It definitely sounds like the usual “templates out of sync” issue.

Akien | 2017-05-04 12:34

Yes I downloaded the templates from your web page today and installed them. The ones at Download - Godot Engine.

stubbsy345 | 2017-05-04 12:38

Ok. To run from the terminal, you should likely unzip the archive and extract the Godot binary and the data.pck. Put them in the same folder, and run the Godot binary with ./Godot in the terminal.

Akien | 2017-05-04 12:40

So I have the exported app which is type unix executable and the data.pck in the same file. Do I then type the file path followed by ./Godot. Sorry the terminal I can’t get my head around.

stubbsy345 | 2017-05-04 13:12

The syntax is ./path/to/file, the leading ./ will tell the shell that you want to execute the file. So you can do either:

cd /path/to/files/folder
./file

or

./path/to/files/folder/file

It should be equivalent.

Akien | 2017-05-04 13:22

Thanks, I have figured out my issue. Certain files were not being exported with my export. To fix this I went through every file and checked them to export. Is there a quicker way of doing this for when I export it in the future?

Thanks for your help

stubbsy345 | 2017-05-04 14:02

You can choose to export all files, or add specific filters: Exporting projects — Godot Engine (stable) documentation in English

Akien | 2017-05-04 14:06

I thought Godot export all files by default?

Zylann | 2017-05-04 17:09

By default it exports all resources, but if you load some files manually from script (e.g. .txt files), they may not be seen as resources, and thus not exported.

Akien | 2017-05-04 17:10