Two player simultaneous game

davidpizon

New member
I’m trying to make a two-player simultaneous platformer (like “Chip ’n Dale” for instance) but am getting myself turned around.

I have a fully functioning "player 1" based upon the platformer tutorial. I created and added a “player 2” game object to the screen (as a monster). I duplicated the input scripts and targeted my "player 2" object.

Unfortunately, my “player 2” wants to share the same color palette as “player 1” and, although it plays the appropriate animations when the buttons are pressed, it does not move from its spawn point.

Further down the line I'd like the players to be able to "stand" on top of each other's bounding box.

Help?
 
I had this same issue. Since your player Player 2 is placed on the screen from the "Place Monster" drop down, you have to also go to "Screen Info" > "Day Monsters" and make sure that the palette was selected for the second player there.
 
You can see on both of these that the palettes are loaded and assigned. Make sure that this order also correlates to the selection of palettes you made for your game objects. Otherwise, things get jumbled. At least that's how it seemed to work for me. Disclaimer: I'm new.
 

Attachments

  • Brunette.png
    Brunette.png
    19.9 KB · Views: 698
  • Blonde.png
    Blonde.png
    20.7 KB · Views: 698

mouse spirit

Well-known member
Yeah its very tricky. I use 4.1.5 but tried 4.5 for a second and the palette editing was so different , i just kept messing up and getting confused. Not to mention im not sure what's a glitch and what's intended sometimes!
 

davidpizon

New member
damiantwinter said:
You can see on both of these that the palettes are loaded and assigned. Make sure that this order also correlates to the selection of palettes you made for your game objects. Otherwise, things get jumbled. At least that's how it seemed to work for me. Disclaimer: I'm new.

Quick recap: The palette issue was fixed. Thank you for the helpful screenshot.

Also, I was able to get the "player 2" game object to respond to the input scripts only after I removed and re-added the input scripts. Apparently, at some time I must have deleted and re-created the game object and, although I created a new game object by the same name and although the input scripts were still associated with that name, the link between the scripts and the game object were broken.

I re-added a few of the input scripts. Although there is no visual difference when you look at the list of input scripts, the ones I re-added worked while the ones I left from the old game object (though with the same name) did nothing.
 
Hey, no problem. I thought maybe I was talking crazy. Ha. The reinstating input scripts to solve that player 2 movement issue was a good idea. I'll take note. I've experienced similar oddities a couple times and resorted to a clean reinstallation of 4.5.6. Maybe I should try to troubleshoot more before nuking.
 
Top Bottom