rth
Central Cavern
Posts: 2
|
Post by rth on Jan 23, 2019 8:58:05 GMT
Hello.
When I load (File -> Load project) previously saved project (File -> Save project), all events are lost. Everything from Editor section (window size, block, sprites, etc.) is loaded, but when open e.g. player script (Events -> Player), it has only EVENT PLAYER line. Same problem with other events.
Saved project also can't remember selected machine.
Are those bugs or am I doing something wrong?
|
|
|
Post by oss003 on Jan 23, 2019 11:18:46 GMT
Hi,
try loading and saving your project in the WinAGD directory.
Greetings Kees
|
|
rth
Central Cavern
Posts: 2
|
Post by rth on Jan 23, 2019 13:07:05 GMT
Hi, try loading and saving your project in the WinAGD directory. Greetings Kees Thanks. Saving right to WinAGD works fine. Now I can see my events after loading project (WinAGD saving only modified ones and uses projects name).
However it would be good if WinAGD is able to save project anywhere (i.e. project folder).
|
|
skully
Central Cavern
Posts: 2
|
Post by skully on May 17, 2019 14:41:51 GMT
Just discovered MPAGD yesterday, but I got the same problem with 0.74 (32Bit) on Win 10. Even if I save to WinAGD Dir, it complete forgets about machine setting and the script windows is on default. It still works if I just export and run it, but as soon as I want to add more sprites to the script, I have to fill in the first ones again. Any Clue yet ? Saving this : After loading :
|
|
|
Post by Jonathan Cauldwell on May 19, 2019 15:40:44 GMT
The project file is multi-platform and contains data for all machines, not just one. Try loading the demonstration game and switching between the platforms, you'll see what I mean. The machine setting is just the machine you're currently working on so I didn't think it was worth saving that.
The script generator settings aren't saved with the project file, but the scripts created with it are. I could add this data if you like, it would only extend the file size by 46 bytes.
|
|
skully
Central Cavern
Posts: 2
|
Post by skully on May 20, 2019 13:19:22 GMT
The project file is multi-platform and contains data for all machines, not just one. Try loading the demonstration game and switching between the platforms, you'll see what I mean. The machine setting is just the machine you're currently working on so I didn't think it was worth saving that. Just realized that myself, ok Problem is, if I return to my game after some days (weeks) and will add lets say in this case Sprite No 7 and click on "Generate Scripts", it will overwrite those settings for Player and Sprite 1 or does it extend the script with new information ?
|
|
|
Post by Jonathan Cauldwell on May 20, 2019 16:06:40 GMT
Problem is, if I return to my game after some days (weeks) and will add lets say in this case Sprite No 7 and click on "Generate Scripts", it will overwrite those settings for Player and Sprite 1 or does it extend the script with new information ? It depends what you select for Player and Sprite 1. If you select "(existing)" for these then they will not be overwritten so your code is safe. If you select anything else, they will be overwritten and you'll lose the code already there once you click "Generate Scripts". Generally, it's best to generate all the scripts at the same time as the tool can insert code wherever it needs to. A sprite might want to know the player's coordinates so the tool can insert the code to store the player's position in global variables then make use of those in the other sprite event. As another example, you can get it to generate the menu code at the same time as the player event. MPAGD will realise your game needs 3, 4, 5 etc keys and generate the key redefinition code automatically.
|
|