Really simple local 2-player needed for GISHWHES

Hello! So I'm helping some friends who are doing GISHWHES (international scavenger hunt organized by actor Misha Collins) and one of the items on this year's list is a simple 2-player game. Now, I've been told to do this in Game Maker because apparently it's way easy, but I've never used Game Maker before, and this has to be done by Sunday, so I'm hoping I can whip something up in RPG Maker. However, I don't see any scripts that fit the bill.

If anyone can make a really simple local 2-player script, or if anyone can tell me how I might be able to emulate local 2-player using events, I would be really appreciative, and I will also send your name along to my friends' team so you can be credited where credit is due.

This is going to just be a simple "collect more items than the other person" type of thing, so I'm hoping this will be fairly simple to execute. Thank you!
Just because your game concept is a "really simple" idea, it doesn't mean what you are asking for is likewise a "really simple" thing to do. RPG Maker is a one-player game engine. If it were not a mammoth task to turn it into a two-player engine, there would be a multitude of scripts out there already. There are not. It is not a simple thing to do, and I doubt very much you are going to get someone to do it in the very short time you have available.


Did you search the master script list? If a two-player script already exists, it will be in there. If you cannot find one there, I suggest you go to Game Maker, if it has the capability.
Found this on RMVXAce.net awhile back ago. I can't remember the author's name, and it's not even complete yet, but it's a starting point.

Spoiler
module DataManager class << self alias :th_multiplayer_create_game_objects :create_game_objects alias :th_multiplayer_make_save_contents :make_save_contents alias :th_multiplayer_extract_save_contents :extract_save_contents end def self.create_game_objects th_multiplayer_create_game_objects $game_player2 = Game_Multiplayer.new end def self.make_save_contents contents = th_multiplayer_make_save_contents contents[😛layer2] = $game_player2 contents end def self.extract_save_contents(contents) th_multiplayer_extract_save_contents(contents) $game_player2 = contents[😛layer2] end def self.setup_new_game create_game_objects $game_party.setup_starting_members $game_map.setup($data_system.start_map_id) $game_player.moveto($data_system.start_x, $data_system.start_y) $game_player.refresh $game_player2.moveto($data_system.start_x, $data_system.start_y) $game_player2.refresh Graphics.frame_count = 0 endendclass Game_Multiplayer < Game_Player DOWN = Input::Y # S in Keyboard LEFT = Input::X # A in Keyboard RIGHT = Input::Z # D in Keyboard UP = Input::R # W in Keyboard ENTER = Input::L # Q in Keyboard RUN = Input::A # Shift in Keyboard def move_by_input return unless movable? return if $game_map.interpreter.running? if Input.press?(DOWN) move_straight(2) elsif Input.press?(LEFT) move_straight(4) elsif Input.press?(RIGHT) move_straight(6) elsif Input.press?(UP) move_straight(8) end end def update_nonmoving(last_moving) return if $game_map.interpreter.running? if last_moving $game_party.on_player_walk return if check_touch_event end if movable? && Input.trigger?(ENTER) return if get_on_off_vehicle return if check_action_event end update_encounter if last_moving endendclass Spriteset_Map alias :th_multiplayer_create_characters :create_characters def create_characters th_multiplayer_create_characters @character_sprites.push(Sprite_Character.new(@viewport1, $game_player2)) endendclass Scene_Map < Scene_Base alias :th_multiplayer_map_update :update def update th_multiplayer_map_update $game_player2.update if $game_player2 endend
Second player can move and activate below-character events with WASD. It's still really buggy though as far as character placement.

I'd suggest checking it out anyway. Good luck!
That script works great, actually! Unfortunately, I don't see how to change the appearance of the second player, but I think I've figured out how to do what I want with events. I didn't mean to imply it would be a simple script, just that the project wasn't a big one so I hoped it would be something fairly easy to throw together, but I know nothing about scripting so if that was a poor assumption, I apologize! Thanks for the swift replies!

EDIT: I ended up doing what I wanted using events, and got it done in plenty of time. In case anyone was curious! Thanks for the help.
how do I change actor graphic 2?
@BlazeBlueGaming, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


For questions that you have with game development, please make new topics on your own and don't hijack unrelated topics.


Closing this to prevent further necroposting.

Original thread: https://forums.rpgmakerweb.com/threads/really-simple-local-2-player-needed-for-gishwhes.17048/