Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Native mouselock for GameMaker

Constrains the mouse cursor to a rectangle at system level · By YellowAfterlife

Can't use in latest version

A topic by matthewstone218 created Jan 02, 2024 Views: 219 Replies: 2
Viewing posts 1 to 2

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'path1')

   at System.IO.Path.Combine(String path1, String path2)

   at GMAssetCompiler.WADSaver`1.WriteExtensions(IList`1 _data, Stream _s, IFF _iff)

   at GMAssetCompiler.IFFChunkHandler`1.Save(Stream _stream, IFF _iff)

   at GMAssetCompiler.IFF.WriteChunks(Stream _stream, TextWriter _out)

   at GMAssetCompiler.WADSaver`1.Save(GMAssets _assets, Stream _stream, List`1 _extraFilenames, Dictionary`2 _extraAttributes)

   at GMAssetCompiler.IFFSaver.Save(GMAssets _assets, String _name)

   at GMAssetCompiler.Program.CompileProject(GMAssets _file)

   at GMAssetCompiler.Program.Reentry(String[] _args)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

   at Igor.Program.ExecuteAssetCompiler(String _args)

   at Igor.WindowsBuilder.Compile(Boolean _exe)

   at Igor.WindowsBuilder.Deploy(Boolean _exe)

   at Igor.WindowsBuilder.Run()

Igor complete.

elapsed time 00:00:04.9939973s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.11.1.160/bin/igor/windows/x64/Igor.exe" -j=8  -options="C:\Users\matt\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 01/02/2024 15:21:38

FAILED: Run Program Complete

For the details of why this build failed, please review the whole log above and also see your Compile Errors window.


It dosen't work for 23.11.1.160(runtime) version

Developer

The latest IDE version has a bug that causes it to erase the file names in most of my extensions when you load the project (double-click on the extension and you’ll see what I mean), so I would generally suggest to roll back (you can download older IDEs from Release Notes) and re-import the extension.

Thank you!