Hi Guva,Thank you for sharing.Trying to compile from source with FPC (no Lazarus) and seem to be missing the create method for TVector2 record.Code: Bash [Select][+][-]fpc -Mobjfpc -B -Furaylib DuckHunt.lprFree Pascal Compiler version 3.2.3 [2024/09/23] for x86_64Copyright (c) 1993-2024 by Florian Klaempfl and othersTarget OS: Linux for x86-64Compiling DuckHunt.lprCompiling ./raylib/raylib.pasCompiling ./raylib/raymath.pasCompiling ray_sprite_engine.pasCompiling ray_math2d.pasray_math2d.pas(114,19) Warning: function result variable of a managed type does not seem to be initializedray_math2d.pas(156,19) Warning: function result variable of a managed type does not seem to be initializedray_math2d.pas(181,19) Warning: function result variable of a managed type does not seem to be initializedDuckHunt.lpr(379,10) Error: identifier idents no member "Create"DuckHunt.lpr(380,22) Warning: Local variable "target" does not seem to be initializedDuckHunt.lpr(730,20) Error: identifier idents no member "Create"DuckHunt.lpr(734,52) Warning: Local variable "fontPosition1" does not seem to be initializedDuckHunt.lpr(812) Fatal: There were 2 errors compiling module, stoppingFatal: Compilation abortedError: ppcx64 returned an error exitcode Most probably something simple that I've overlooked...
Hi Guva,Thanks to share.the game seems nice but, on Windows 10 machine, one can see the landscape with the text 'LEVEL 1', we can move the target with the mouse but nothing append. Duck don't appears, no dog.
VCS best practice:Don't commit binaries, put them (alongsize resources in expected directory structure, compressed) in Releases page insteadDon't commit compiled files: *.compiled, *.o, *.ppu, put them in .gitignore will prevent future accidents
Do you have an old version? replace the Target := Vector2Create(GetMousePosition.x - 75/2, GetMousePosition.y - 75/2 )