This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
16
Issues Help Desk / Music and external files
« on: October 15, 2013, 04:01:40 am »
I wanted to use external files in my game, especially for audio. However with sound_add, after pressing the run button the game crashes (it cannot find the sound). If I copy the generated executable to the directory the egm is in, it works.
Also odd, if I copy my data directory to the temp folder, when running the game from lgm it still crashes, but if I open the executable myself from the same temp folder it works. Magic or some shit.
Anyway it'd be nice if the working directory could be set to the save file location to save me a pain in the ass.
While I'm here, there's been something really screwy with backup files for a long time now. Every time I save it warns me it can't move the project to a backup file (in fact there is no backup file).
Also odd, if I copy my data directory to the temp folder, when running the game from lgm it still crashes, but if I open the executable myself from the same temp folder it works. Magic or some shit.
Anyway it'd be nice if the working directory could be set to the save file location to save me a pain in the ass.
While I'm here, there's been something really screwy with backup files for a long time now. Every time I save it warns me it can't move the project to a backup file (in fact there is no backup file).
17
Issues Help Desk / Simple cube not working
« on: September 08, 2013, 05:14:31 pm »
I was playing around trying to get a very basic 3d scene setup for testing, and the code below works in GM but not Enigma for some reason and I can't figure out why.
Create event:
Draw event:
Results: http://i.imgur.com/8hEnWoI.png
I can post project files if they're really necessary. Both used the same texture, named the same. On the enigma side I tried changing camera distance and setting texture to -1 as well as switching rendering engines (OGL1/3, DX9) but I could never see anything... And yes I added the object to the room.
Create event:
Code: [Select]
d3d_start();
d3d_set_lighting(1);
x = -20;
y = -20;
z = 10;
d3d_light_enable(1, true);
d3d_light_define_point(1, -10, -10, 12, 200, c_white);
Draw event:
Code: [Select]
draw_set_color(c_white);
d3d_set_projection(x, y, z, 0, 0, 0, 0, 0, 1);
d3d_draw_block(-5, -5, -5, 5, 5, 5, background_get_texture(background0), 1, 1);
Results: http://i.imgur.com/8hEnWoI.png
I can post project files if they're really necessary. Both used the same texture, named the same. On the enigma side I tried changing camera distance and setting texture to -1 as well as switching rendering engines (OGL1/3, DX9) but I could never see anything... And yes I added the object to the room.
18
Proposals / Pull my Game Information Colors xoxo
« on: December 31, 2012, 09:25:22 pm »https://github.com/IsmAvatar/LateralGM/pull/31
I was thinking of adding text alignment to this editor (left, right, center) but I couldn't immediately figure it out. I put it as a todo in GameInformationFrame.java. Also I don't speak anything other than English, so the text "Font Color" needs to be translated. I put the English phrase in the other languages messages file as a placeholder until someone gets around to translating it.