I Wanna Be The Forums!

Please login or register.

Login with username, password and session length
Advanced search  

News:

Chat button has been eaten. Click here to join in the idling fun!

Show Posts

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.

Messages - dakaarts

Pages: 1 ... 28 29 [30] 31 32 ... 41
436
Game Design! / Re: Moar GML Help.(Sucks doesn't it?)
« on: August 15, 2011, 08:33:16 am »
well here is what ya do. When you get to the chest, you pause the player (change his sprite to the opening the chest sprite), put in a simple zoom code, play the zelda music, when the chest opens show the item above your head, play the sound effect, then set the screen back to normal.
haha, if it was that easy as you say it.. xD. pause the player? y mean froze? change the sprite? will it work, since the sprites are changing on the step event. zoom code? how? how to make the xview and yview go stretching to where the player is? th rest is easy but, the other stuff is hard to do

437
Game Design! / Re: Moar GML Help.(Sucks doesn't it?)
« on: August 15, 2011, 12:55:02 am »
if you show us your code.. and im sorry, im not feeling to do the whole code for u :/. i gave u some ideas how the code could be made

438
Crap! / Re: Laugh = Lose
« on: August 13, 2011, 03:05:56 pm »
Metal Gear Awesome 1 and 2
pardoy by egoraptor

Gee, sure go cOLD all of a sudden.

sorry, i dont understand what that means.

439
Crap! / Re: Laugh = Lose
« on: August 13, 2011, 02:33:46 pm »
Metal Gear Awesome 1 and 2
pardoy by egoraptor

440
Game Design! / Re: Moar GML Help.(Sucks doesn't it?)
« on: August 12, 2011, 05:58:42 pm »
em, copy the player object, and make a new one only for dat level, playerG or something, then change the gravity, but if I dont do it and test it I will never know how to help you :P

441
I think i discovered by myself how to do the external music loading, now i gotta redesign a lot of stuff in my game, thx guys for
the help. I hope this fixes de contra level problem.

442
Starz0r is using YoSniper's I wanna be the Better Engine v3, that engine alows to load external music using variables in the world object. But you are using I wanna be the Engine PRO v2, if i remember well, it was made by kikones34, the problem with that version of the engine (because the I wanna be the Engine PRO v3 Beta added that function) is that you cant load external music. So, you will have to do this:

1- Make a script called "sound_load" and put this code:
Code: [Select]
argument1 = sound_add(argument0, 3, 1);
2- Then in the musicPlay object (create event) replace the code by default with this one:

Code: [Select]
if !is_real(global.music) {
    sound_load(global.music, file);
} else {
    file = global.music;
};

sound_loop(file);

So when you want to load external music instead of do this:

Code: [Select]
global.music = sndShitMusic;
Do this:

Code: [Select]
global.music = "Shit Music (Remastered Version).mp3";
Remember that the music has to be in the game folder.

Hope that helps. :P

ERROR in
action number 1
of Create Event
for object playMusic:

Sound does not exist.

gracias man, pero aun no va. pongo esto en el creation code del playMusic no?
global.music = "sndLv1.mid";
el sndLv1.mid archivo esta en la carpeta donde esta el GMK, pero aun no va :(

443
Fangames! / Re: Fangames that are worth giving a go!
« on: August 11, 2011, 10:36:00 pm »
because of the boredom

444
Fangames! / Re: Fangames that are worth giving a go!
« on: August 11, 2011, 10:22:41 pm »
No it's not an opinion, it is a fact that Tijit did not have the intention of making IWBTFG good.
he did not had it, but he accidentally did it :D

445
Fangames! / Re: Fangames that are worth giving a go!
« on: August 11, 2011, 10:03:39 pm »
....
I should shoot you for that.
IWBTG may be bad but my god its not absolute shit.

How does someone like a game that wasn't designed to be good? I recall tijit saying during one of his streams that it wasn't designed to be a good game rather just a game that was harder than IWBTG to give him more of a challenge.[/b][/color]
yay annon joined the fun xD. First, IWBTG is NOT bad, is awesome. Second, "fangame wasn't designed to be good" is your opinion and the creator's opinion, but for me it was designed to be AWESOME.
Same thing i say for galaxy, another one that I think it will surpass the original :P

446
Fangames! / Re: Fangames that are worth giving a go!
« on: August 11, 2011, 09:11:21 pm »
I vote to remove: Ultimatium, Tribute, and I Wanna Be The Fangame. I vote I Wanna Be The Rockman to be added.
<3
..
btw, remove fangame? seriously? that one is better than the original IWBTG o.O... but well, at least
in my opinion :P

447
In my engine, the camera is a persistent object. Did you change that and just put a camera in every room?

I sincerely believe it would just be easier to modify the camera's Step Event to follow the player and to differentiate between skipping from screen to screen and side-scrolling. I also strongly believe that the camera object has nothing to do with your tiles getting messed up. I have never seen that before, and from what you described, it sounds like a hardware problem and not a software problem.


Calling external music requires that you have Game Maker Pro. Use your global.music as a pointer to different sounds. In the Create Event of your playMusic object, set the pointer like this:

Code: [Select]
global.music = sndNull;
And I would recommend switching between tracks in the Room Start event of that object rather than the Step Event. This will reduce processing power. Just use the sound_loop command to make the track loop until you explicitly tell it to stop (or start playing another mp3, because only one mp3 can play at a time.)

Take a look at how the world object handles music in my engine (see the musicFunctions script.) You might want to do something similar with your object.

Ok, the problem is that im not using your engine, im using a different one from spanish forums. I'm sorry for bothering you guys and thank you very much for the help, I'll try to see what i can do to fix it by mylself

448
anybody gonna help? D:

Starz0r, the code you gave me is in the creation code of the playMusic, this is how is the object:
playMusic
create event
script
-----------
if (global.music=sndNull) {
    sound_play(global.music);
} else {
    sound_loop(global.music);
}
------------------------

so I put this in the creation code:

sound_replace(curMusic, working_directory+"/Music/"+"sndLv1.mid", 3, 1);
sound_loop(curMusic);

but gives me error. what is that "curMusic", do i need to put it somewhere else? the world object doesnt have any music funcionts

//and sorry for the 4 posts

449
Is that code in creation code of the object.

yes it is

450
music...
whaaaat? D: emm.. no idea man
look, i have an object playMusic:
------------------crete event
if (global.music=sndNull) {
    sound_play(global.music);
} else {
    sound_loop(global.music);
}
-------------------------------
and dis is the world object
Information about object: world

Sprite: sprActionObjects
Solid: false
Visible: false
Depth: 0
Persistent: true
Parent: <no parent>
Mask: <same as sprite>

Create Event:
execute code:

//Introduce aquí las variables que deben setearse al pulsar 'R'


global.matar=0;


//NUNCA ELIMINES ESTE OBJETO//


Other Event: Room Start:
execute code:

//varaibles que se setean cada vez que se inicia una nueva room:

//velocidad predeterminada
room_speed=50;
//título de la ventana de tu juego
//room_caption="I wanna be the Rockman";


Key Press Event for <Escape> Key:
execute code:

//Esc - Salir del juego
file_delete("temp");
game_end();


Key Press Event for D-key Key:
execute code:

//Ctrl + Alt + D - Reiniciación total
if (keyboard_check(vk_control) && keyboard_check(vk_alt)) {
file_delete("temp");
file_delete("save0");
file_delete("save1");
file_delete("save2");
file_delete("save3");
file_delete("save0.bmp");
file_delete("save1.bmp");
file_delete("save2.bmp");
file_delete("save3.bmp");
file_delete("game_errors.log");
file_delete("controls.txt");
file_delete("saveEx0");
file_delete("saveEx1");
file_delete("saveEx2");
file_delete("saveEx3");
game_end();
}


Key Press Event for R-key Key:
execute code:

//reinicia el juego y vuelve al último punto de guardado simpre que la room no sea el menú, la pantalla de 'Press Shift' o la room auxiliar
if room=rDoNotDelete exit;
else
{
    if (room!=rMenu && room!=rPressShift && room!=rDoNotDelete) {
        sound_stop_all();
        loadGame();
    }
}


Key Press Event for F2 Key:
execute code:

//reinicia el juego
file_delete("temp");
sound_stop_all();
game_restart();


------------


in the playMusic object i put global.music=sndLevel1, to loop the song in level 1.

now, what do i have to do to make external music? i made the folder, tried that code but gives me error. where i have to put
the music play code, if i put it in the world that means i gotta put the world object in the room too? D: i dont understan anything

Pages: 1 ... 28 29 [30] 31 32 ... 41