F
feminist52
Guest
Hi.
I am making an cutscene engine. So I used the I Will Find You And I Will Kill You scene as an example. The gif is
640*480
17MB
510 frames (or at least that is what IrfanView told me)
room start
scene=sprite_add("iwillkillyou.gif",0,0,0,0,0)
audio=audio_create_stream("cutscene test.ogg")
audio_inst=audio_play_sound(audio, 10, 0);
draw
draw_sprite_stretched(scene,(sprite_get_number(scene)-1)*(audio_sound_get_track_position(audio_inst)/audio_sound_length(audio)),0,0,room_width,room_height)
It showed me a distorted image of what was supposed to appear (the original is perfectly normal), except it just froze in a first subimage. I wanted to see how many subimages the image had. and the show_debug_message(blabla) gave me 1. What am I doing wrong?
I am making an cutscene engine. So I used the I Will Find You And I Will Kill You scene as an example. The gif is
640*480
17MB
510 frames (or at least that is what IrfanView told me)
room start
scene=sprite_add("iwillkillyou.gif",0,0,0,0,0)
audio=audio_create_stream("cutscene test.ogg")
audio_inst=audio_play_sound(audio, 10, 0);
draw
draw_sprite_stretched(scene,(sprite_get_number(scene)-1)*(audio_sound_get_track_position(audio_inst)/audio_sound_length(audio)),0,0,room_width,room_height)
It showed me a distorted image of what was supposed to appear (the original is perfectly normal), except it just froze in a first subimage. I wanted to see how many subimages the image had. and the show_debug_message(blabla) gave me 1. What am I doing wrong?