![can you still but game maker 8 pro can you still but game maker 8 pro](https://sickr.files.wordpress.com/2015/06/wiiu_supermariomaker_mario_flying.png)
Now when we create an instance of that object, it will have a random RGB value. This part is really easy: //set color of the player We will use these colours to create an image mask/blend which will overlay their clothing. What we will do is randomly generate three values: one for Red, one for Green, and one for Blue. In this engine there is a script called case_msg_enter() where these variables are set, and they are set for each new player that enters the game. Now, when another player joins the game certain parameters of that player are initialized. Well, in the engine I am using (based on blaxun’s) it is multiplayer, and there are two player objects, one for the player we are controlling, and one for the other players (obj_player and obj_other_player). We will go and create sprites like we did for the whole Link image, but instead make these for clothing.Īgain, if you use my naming scheme you will end up with the following sprites:
![can you still but game maker 8 pro can you still but game maker 8 pro](https://i.imgflip.com/4tlcol.jpg)
Now we have all the sprite materials we need for Game Maker. Personally, I use Photoshop so I bumped it to the max setting, and ended up with this as a result: We will want to bump the brightness of the image. However if we were to use this in Game Maker with an image_blend we would find that the colours it produces are much darker than the original green. We’ll end up with this:īut since we will be using a real-time image blending function in Game Maker to change colours we need to desaturate the clothing. For that, we need to first erase all parts of the sprite that aren’t the tunic using a pixel eraser. Personally, I think it makes sense to colorize link based on only his tunic, so I’ll do that. We need to decide what part of the sprites we want colorized on other players. Now that we have animations for Link, we can create colour mask overlays. If you use my naming scheme you will end up with the following sprites: For example, using this sprite sheet if we wanted to make a sprite for Link walking to the right, we would enter these parameters: On the Editor screen you can go to File > Create from Strip, select the sprite sheet we just created, then enter the parameters. To do this, you would go to Game Maker, Create a sprite, then Edit that sprite. Using this character sheet you can now create the animations for Link walking and standing still in four directions. Of course, the grids are just used for guidelines in Photoshop. Using this grid format is key for maintaining the alignment of the clothing in later steps, and it makes creating sprites from strips in Game Maker a breeze! I selected the walking sprites, copy-pasted them to a new document, then I enlarged them and arranged them into 90x90 pixel squares in a grid for easy importing.
![can you still but game maker 8 pro can you still but game maker 8 pro](http://skieydigest809.weebly.com/uploads/1/2/6/4/126432913/706225705.jpg)
I can’t remember where I found them, but I remember that where I found them the person that posted them also couldn’t remember where THEY found them. I used some manga-styled Link sprites I found on Google Images. To begin you will need some sprites (duh). What do you do? Here is one strategy for dealing with this situation. You don’t want to go through the trouble of creating sprites for every possible player that might join – in an MMO-type game this would be nigh-impossible.
![can you still but game maker 8 pro can you still but game maker 8 pro](http://2.bp.blogspot.com/-VA2boaV4Fik/U0jiPVqwMbI/AAAAAAAAAEk/afz68KkUl-U/s1600/gamemaker2.png)
Or you can follow along using your own game and the explanation which follows.Īlright, so you want to make a multiplayer game, but you want everyone using the same sprite. gmk example for Game Maker 8 (Pro, I think). In other words, all players will see all OTHER players in random colours, but see themselves in Link’s original green. Here is the first major modification I’ve made to blaxun’s engine. Zelda/Link sprites are used for demonstration purposes. This modification allows you to use the same sprite for all players in the game, by randomly generating the colour of the sprite’s clothing for each player. Animated Sprites with Random Player Colours for Game Maker