Hello, this is my first time posting here. I've been using Game Maker up until version 6.1, then stepped out due to being busy with work. I'm currently giving this software a try and found something that might be worth reporting.
The tl;dr version right ahead saving in .gmx"1200" format causes errors when using scripts. When saving in the 810 format, there are no errors.
The detailed version The problem is very easy to reproduce. I've tested this under: Linux Mint 17 64bit Windows XP via Virtualbox
What to do: Launch enigma create a sprite "spr_0", e.g. a simple empty white 32x32 box, no changes create a script "scr_0", type "walk = 2" create an object "obj_0", set the sprite to spr=0, execute "scr_0" in the creation event add a keyboard event for e.g. "right" with this code "x += walk" create an empty room, insert obj_0 somewhere save the file in "1200" format (810 format didn't give me this problem) click on the green run arrow. The game will compile and run without issues. The white block in the game will move right when the key is pressed,just as planed close engima, start again load the gmx file click play In the progress windows, errors will show up, The game will still run, but not function properly.
Here is the full error output
Building for mode (0) Cleaning up from previous executions - Cleared parsed objects - Cleared room entries - Cleared shared locals list - Cleared event info Loading shared locals from extensions list Location in memory of structure: 0x7f4abcbec5d0 Copying resources: Copying sprite names [1] Copying sound names [0] Copying background names [0] Copying path names [0] Copying script names [1] Copying shader names [0] Copying font names [1] Copying timeline names [0] Copying object names [1] Copying room names [1] SYNTAX CHECKING AND PRIMARY PARSING: 1 Scripts: Parsed `scr_0': 1 locals, 0 globals "Linking" scripts `Linking' 1 scripts in 0 passes... Completing script "Link" Linking `scr_0': Done. "Linking" timelines `Linking' 0 timelines in 0 passes... Completing timeline "Link" Done. 1 Objects: obj_0: 12 events: Event[0]: Parsing 1 sub-events: Check `obj_0::create... Done. Parse... Done. Event[5]: Parsing 1 sub-events: Check `obj_0::keyboard_39... Done. Parse... Done. Creating room creation code scope and parsing "Linking" scripts into the objects... "Link" complete. Tabulating maximum argument passes to each script Finished Writing executable information and resources. Writing modes and settings Writing object switch Writing resource names and maxima Writing timeline control information Writing events Linking globals Running Secondary Parse Passes Add dot accessed local walk var Writing object data Writing local accessors Writing font data Writing room data Writing shader data Running make from `make' Full command line: make Game WORKDIR="/home/fsr2525/.enigma/" GMODE=Run GRAPHICS=OpenGL1 AUDIO=OpenAL COLLISION=Precise WIDGETS=None NETWORKING=None PLATFORM=xlib CXX=g++ CC=gcc COMPILEPATH="Linux/Linux" EXTENSIONS=" Universal_System/Extensions/Alarms Universal_System/Extensions/Timelines Universal_System/Extensions/Paths Universal_System/Extensions/MotionPlanning Universal_System/Extensions/DateTime Universal_System/Extensions/ParticleSystems Universal_System/Extensions/DataStructures" OUTPUTNAME="/tmp/egm8611956223946510421.tmp" eTCpath="" /usr/bin/make -C ENIGMAsystem/SHELL make[1]: Betrete Verzeichnis '/home/fsr2525/ENIGMA/enigma-dev/ENIGMAsystem/SHELL' g++ -Wall -s -O3 -fno-rtti -fno-exceptions -DPATH_EXT_SET -IPlatforms/xlib/Info -IGraphics_Systems/OpenGL1/Info -IAudio_Systems/OpenAL/Info -ICollision_Systems/Precise/Info -IWidget_Systems/None/Info -INetworking_Systems/None/Info -IUniversal_System/Info -I. -I/home/fsr2525/.enigma/ -Wall -s -O3 -fno-exceptions -MMD -MP -c -o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/SHELLmain.o SHELLmain.cpp In file included from SHELLmain.cpp:107:0: /home/fsr2525/.enigma/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h: In member function ‘virtual variant enigma::OBJ_obj_0::myevent_create()’: /home/fsr2525/.enigma/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:46:4: warning: statement has no effect [-Wunused-value] 0; ^ /home/fsr2525/.enigma/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:47:11: warning: left operand of comma operator has no effect [-Wunused-value] ((0), (0), (0), (0), (0)); ^ /home/fsr2525/.enigma/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:47:16: warning: right operand of comma operator has no effect [-Wunused-value] ((0), (0), (0), (0), (0)); ^ /home/fsr2525/.enigma/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:47:21: warning: right operand of comma operator has no effect [-Wunused-value] ((0), (0), (0), (0), (0)); ^ /home/fsr2525/.enigma/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:47:26: warning: right operand of comma operator has no effect [-Wunused-value] ((0), (0), (0), (0), (0)); ^ g++ -o "/tmp/egm8611956223946510421.tmp" /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/libEGMstd.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/SHELLmain.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Platforms/xlib/LINUXjoystick.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Platforms/xlib/XLIBfilemanip.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Platforms/xlib/XLIBmain.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Platforms/xlib/XLIBsystem.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Platforms/xlib/XLIBwindow.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Platforms/General/POSIXthreads.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Platforms/General/UNIXfilemanip.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLbackground.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLblend.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLcolors.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLd3d.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLenable.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLmatrix.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLmodel.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLprimitives.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLprofiler.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLscreen.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLshader.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLshapes.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLsprite.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLstdraw.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLsurface.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLtextures.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLtiles.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/GLvertex.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/OpenGL1/OPENGLStd.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/GSbackground.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/GScurves.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/GSfont.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/GSmath.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/GSsprite.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/GSstdraw.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/GSsurface.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Graphics_Systems/General/glew.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Audio_Systems/OpenAL/ALadvanced.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Audio_Systems/OpenAL/ALbasic.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Audio_Systems/OpenAL/ALsystem.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Collision_Systems/Precise/placeholderlinks.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Collision_Systems/Precise/PRECfuncs.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Collision_Systems/Precise/PRECimpl.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Widget_Systems/None/nowidget_impl.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/backgroundinit.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/backgroundstruct.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/bufferstruct.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/CallbackArrays.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/callbacks_events.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/collisions_object.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/darray.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/debugscope.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/depth_draw.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/dynamic_args.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/ENIGMA_GLOBALS.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/estring.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/fileio.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/fontinit.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/fontstruct.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/globalupdate.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/graphics_object.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/highscore_functions.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/image_formats.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/instance.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/instance_planar.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/instance_system.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/lives.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/loading.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/lodepng.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/mathnc.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/move_functions.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/multifunction_variant.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/object.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/planar_object.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/rectpack.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/reflexive_types.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/resource_data.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/roomsystem.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/shaderstruct.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/soundinit.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/spriteinit.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/spritestruct.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/terminal_io.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/transform_object.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/var4.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/var4_lua.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/zlib.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/Alarms/alarmcode.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/Timelines/timelines.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/Paths/path_functions.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/Paths/pathinit.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/Paths/pathstruct.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/MotionPlanning/motion_planning.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/MotionPlanning/motion_planning_struct.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/MotionPlanning/mp_movement.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/DateTime/date_time.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_actions.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_effects.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_attractor.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_changer.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_deflector.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_depths.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_destroyer.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_emitter.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_particles_apiimpl.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_sprites.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_system_apiimpl.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_system.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_system_manager.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_type.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/ParticleSystems/PS_particle_updatedraw.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Universal_System/Extensions/DataStructures/data_structures.o /home/fsr2525/.enigma/.eobjs/Linux/Linux/Run/Bridges/xlib-OpenGL1/graphics_bridge.o -lz -lpthread -lX11 -lGL -lGLU -lopenal -lalure -lvorbisfile -lvorbis -ldumb -lz ******** Make Completed Successfully ******** 1 Adding Sprites to Game Module: Done writing sprites. Finalized sprites. 0 Sounds: Done writing sounds. 0 Adding Backgrounds to Game Module: Done writing backgrounds. Built to /tmp/egm8611956223946510421.tmp make[1]: Verlasse Verzeichnis '/home/fsr2525/ENIGMA/enigma-dev/ENIGMAsystem/SHELL' 1 Adding Fonts to Game Module: Done writing fonts. 0 Adding Paths to Game Module: Done writing paths. Closing game module and running if requested. Running "/tmp/egm8611956223946510421.tmp"
|