Cursor loses functionality after RestoreGameSlot

Started by GooseKult, Tue 12/12/2023 21:44:35

Previous topic - Next topic

GooseKult

Hello, I'm almost done making a little game, been lurking here for help but can't find any info on what i'm experiencing (sorry if I missed it in the manual etc).

I have a checkpoint set up before a chase scene, by using SaveGameSlot(1, "Checkpoint");

but when this checkpoint is activated, the mouse loses functionality. You can no longer interact or look (using BASS template), and the mouse is useless, but visible. Is there something obvious I'm doing wrong? I haven't messed with the global script too much, this is my first attempt at using AGS so I tried to keep it simple.

Any help would be appreciated, thanks.

EDIT: I think i see what the problem is now, feel free to delete.

Matti

It could help others if you elaborate on what the problem/solution was.

GooseKult

Quote from: Matti on Wed 13/12/2023 11:57:06It could help others if you elaborate on what the problem/solution was.

Yes my bad, the problem was silly so i didn't think to go into detail. When running the game (f5, not compiled build) I didn't realise that the game was still saving a agssave file to /user/SavedGames when i hit the checkpoint ( I assumed the save file would be temporary)and loading this save file seemed to break the mouse functionality. Deleting the old saves fixed the problem. I've been using AGS for about 3 weeks so I apologise if I have described something wrong etc.

SMF spam blocked by CleanTalk