The VG Resource

Full Version: Sprite ripping with Game Maker game project
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Actually I got a better idea in which I wish any and all of you to help out.

Just in case anyone gets concerned.

Go onto http://www.youtube.com/user/Fira777

click somewhere in the purple and mouse scroll down until you see a pointing right triangle button, then move arrow using the mouse over to a pointing right triangle button and left click and watch the video if desired.

Also look about post 4 or 5 (Ctrl + F) the post has links to Game Maker using YoYoGames and talks about Game Maker Pro (Ctrl + F type in Game Maker Pro) but it is not post #1 (this one) I wish for all you to most definitely see.






Make sure when making game to go to Backgrounds (Rooms choose room and click on Backgrounds) and click the following in ^^

^ Draw background color
Visible when room starts
Tile Hor.
Tile Vert. (both Hor. and Vert. leave X and Y at 0)
^
Their is only one room needed



http://www.yoyogames.com/gamemaker/try
http://wiki.yoyogames.com/index.php/Old_...r_Versions

Help me with easiest I know of ripping projects using a Game Maker game.
Please do not worry I'll do all the hard work and any of you with Pro get the easy stuff! Smile : )

I am http://www.youtube.com/user/Fira777 Fira777 from YouTube.

To clear up any and all concern, concerns, other, others
please watch my video that is called:
Ultimate Spriters Resource Info by Fira777.AVI

Note the video may or may not be laggy, pausing etc. if so just let the video
run and when it ends click play button and play again.

I have an idea on how I can rip sprites to use from spriters-resource
Anyone who has Pro Edition of Game Maker prefferably 8.0 but below 8.0 can
also do as well.

So how do I do help you out?
Note for screen_save and background_replace I do not want any numbers or letters
to be the events of such to prevent repeating the save.

Instructions are simple (Pro Edition needed though)
Here are the instructions especially if you have Game Maker 8.0 Pro:
(*means move mouse over to and click on*)
Open Game Maker

*Move mouse over to White with blue border*

Hit Enter

*Go to blue ball*

Hit Enter

*Move mouse over to Room0*

Put object0 in Room0 using left mouse button clicked in room

*Move mouse over to green check mark*

*Go to sky with some green below it picture*

Hit Enter

*Move mouse to object0*

//go to this thread

Move mouse to the code boxes and highlight text inside the code box

Press Ctrl and C

Go back to Game Maker

using Ctrl and V put the codings in the events I wish to have them in//

you will need to do // 12 times //

Check to make sure that Page Up opens an open file thing to where one can choose.

Check to make sure all buttons work correctly (left making room relative -1 horizontally smaller, right making room
relative +1 horizontally bigger etc.)

when finished go to File

*move mouse over to Create Executable...*

Upload the game say to http://host-a.net/

Post or Private Message me the link go ahead and if you wish to have video (prefferably YouTube) recording of you uploading
the game to prove safe to download.

object0
Create Event
Code:
roomshrinkvertically = 0;
roomshrinkhorizontally = 0;
roomunshrinkhorizontally = 0;
roomunshrinkvertically = 0;

object0
key press left event
Code:
roomshrinkhorizontally -= 1
room_set_width(roomshrinkhorizontally)

object0
key press right event
Code:
roomunshrinkhorizontally += 1
room_set_width(roomunshrinkhorizontally)

object0
key press up event
Code:
roomshrinkvertically -= 1
room_set_height(roomshrinkvertically)

object0
key press down event
Code:
roomunshrinkvertically += 1
room_set_height(roomunshrinkvertically)

object0
alarm0 event
Code:
background_hspeed[0] = 0;
background_vspeed[0] = 0;

object0
key release W event
Code:
background_vspeed[0] = 0.25
alarm[0] = room_speed;

object0
key release S event
Code:
background_vspeed[0] = -0.25
alarm[0] = room_speed;

object0
key release A event
Code:
background_hspeed[0] = -0.25
alarm[0] = room_speed;

object0
key release D event
Code:
background_hspeed[0] = 0.25
alarm[0] = room_speed;

object0
key press Delete (Others then <Delete>)
Code:
save_picture = get_string("save as what .bmp","eraseandtype")
screen_save(save_picture)


object0
key press Page Up event
Code:
with(background0)
{
g = get_open_filename("picture|*.gif;*.png",working_directory);

if (g!="") //if g == "" the user clicked "Cancel"
background_replace(sprite0,g,0,0,0,0,0);
}
Basically I am asking someone to make a game so that I can load saved sprite sheets as backgrounds easiest.
I'll do this tomorrow.

___________________________________________
FATAL ERROR in
action number 1
of Key Press Event for <Page Up> Key
for object object0:

COMPILATION ERROR in code action
Error in code at line 6:
background_replace(sprite0,g,0,0,0,0,0);
^
at position 40: Wrong number of arguments to function or script.
Actually I got Game Maker 8.0 Pro now. I will be able to do this ripping myself. Will take a LONG time but it will get done. It may take up to three days to get done.
Actually do my second suggestion.

Basically with http://www.yoyogames.com/gamemaker/try http://wiki.yoyogames.com/index.php/Old_...r_Versions
Game Maker Pro make a game with many different room sizes and move background and screen_save (look up above how) of .png
You load them by say going to http://www.spriters-resource.com/ click on NES, click on M, click on Mega Man 5, Click on Stage Select, left click the mouse and hold the mouse button down and move the mouse elsewhere say to a folder.

Load the background and start ripping with changing rooms to get perfect sizes.

Name each sprite with credit and source and what it is
for example mm4ever Spriters Resource NES M Mega Man 5 Stage Select Gyro Man Head.png


Game sprite ripping.

Suggested Controls
End = Load a background smooth 0 removeback 0
Home = Load a background smooth 1 removeback 0
Insert = Load a background smooth 1 removeback 1
Delete = Load a background smooth 0 removeback 1
Page Up = Save the background
Numpad + = if next room exists go to next room
Numpad - = if previous room exists go to previous room
Key release up = background vertical speed = 0
Key release right = background horizontal speed = 0
Key release down = background vertical speed = 0
Key release left = background horizontal speed = 0
Keyboard up = background vertical speed = -0.15 unless room0 then -5
Keyboard right = background horizontal speed = 0.15 unless room0 then 5
Keyboard down = background vertical speed = 0.15 unless room0 then 5
Keyboard left = background horizontal speed = 0.15 unless room0 then 5
Numpad * = sound_stop_all();
Numpad / = show_info(); this is so I can look at the controls incase I forget