Jump to content


Aertcz

Member Since 09 Jan 2007
Offline Last Active Apr 13 2013 09:17 PM

Topics I've Started

File Writing Gm8 Vs Gmstudio - Should Be Easy

13 April 2013 - 07:36 PM

Old code from GM 8.1

 

 

code = 'X34'
var file;
file = file_text_open_write("C:/WINDOWS/test1"+".txt");
file_text_write_string(file,string(code));
file_text_close(file);



 

 

Error in GMStudio:

File not opened for writing.

 at gml_Object_object0_Create_0 (line 4) - file_text_write_string(file,string(code));

 

 

 

All I want to do is make a new file that doesn't exist.


Mouse_Leftpressed As Function

21 March 2013 - 07:39 PM

For instance I want the spacebar to be both a spacebar input and a mouse left click, without the user actually clicking with the mouse.

 

I need mouse_leftpressed as a function, not as a variable.

 

It needs to be an actual mouse click/keyboard press, not just run the events listed for it.


Cant remember game name

18 January 2013 - 11:31 AM

Its been a while and I tried searching the Google machine a lot.

It is kind of old, however I remember playing the demo/shareware. You got to play as a hero named something like Azrael or Izrael, full version was like 3 characters. It was a sidescroller however it had some "depth" to it. You could move up and down and attach enemies at different "depths" which is sort of unique for a side scoller.

Anyways there would be like soldiers and wolves that would jump at you. Once you cleared enemies the screen would sort of scroll over into the next area (still same level). The first mission progressed from the woods then into a small town, and then into a dock outside of town. Outside of town you were confronted by a boss who I think had a little girl hostage.

Your character also had a few types of attacks including like a magic attack. He had like a blue ball around him that hurt everyone around him. Also you had allies that would follow you around and help you fight.

I think there was also a mode in the game where you could slash at some barrels/chickens.

I never bought the game because I was a kid, however now I want to blow some bucks. Hopefully I was descriptive.

Krimsky.Net

13 January 2013 - 08:33 AM

Hey everyone,

 I plan on adding all of my projects to include game mods, maps, and some java applications I made. Currently there are 5 GM games on there.
 

www.krimsky.net


Let me know what you like/dislike.

Thanks :thumbsup:


Some sound issues

08 January 2013 - 08:16 AM

I'm taking a game which I made in 8.1 and I put it into GM:Studio. When I play the sounds/music inside GameMaker, it plays just fine (in the preview screen).

-When I play the game (in studio Windows version), no sounds play.
-When I play the game in HTML5, the sounds play except for the background music.

I have 3 sounds. Bubble 1, Bubble 2, and the music.

Here is my error in the compile code for Windows:

error opening mp3 file C:\Users\XXXX\AppData\Local\Temp\gm_ttt_46413\snd_music.mp3 - A problem occurred in initializing MCI.
error opening set file time format for C:\Users\XXXX\AppData\Local\Temp\gm_ttt_46413\snd_music.mp3 - The specified device is not open or is not recognized by MCI.
error opening set file seek exactly for C:\Users\XXXX\AppData\Local\Temp\gm_ttt_46413\snd_music.mp3 - The specified device is not open or is not recognized by MCI.
error playing file for C:\Users\XXXX\AppData\Local\Temp\gm_ttt_46413\snd_music.mp3 - The specified device is not open or is not recognized by MCI.
StartGame() - DONE

With HTML5, I dont get an error in the compile code:

Converting C:\Users\XXXX\Documents\GameMaker\Projects\Tavern8.gmx\sound\audio\snd_music.mid to mp3 with bitrate 192kbps ...done
Converting C:\Users\XXXX\Documents\GameMaker\Projects\Tavern8.gmx\sound\audio\snd_music.mid to ogg with quality 21 ...done
Saving HTML5 file... C:\Users\XXXX\AppData\Local\Temp\gm_ttt_46413\Tavern8\html5game\Tavern8.js
Converting snd_music.mid to MP3...OGG...Finished!

Any help would be appreciated!