Can I Make both players Link

This is the place for discussion and support for LunaLua and related modifications and libraries.

Moderator: Userbase Moderators

Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
Artemis008
Boomerang Bro
Boomerang Bro
Posts: 1346
Joined: Mon Jul 06, 2015 4:34 pm

Can I Make both players Link

Postby Artemis008 » Wed Jul 27, 2016 1:34 am

Ok, so I got this ide while playing 4 swords for GBA, what if I make a 2D puzzle platformer in SMBX using the 4 swords concept. Would I be able to make both players Link (preferably different colors)?

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Can I Make both players Link

Postby PixelPest » Wed Jul 27, 2016 6:37 am

I'm pretty sure 2.0 will allow multiple players to be the same character. It would be very, very difficult to do yourself though so I'd just wait

Hoeloe
Phanto
Phanto
Posts: 1465
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: Can I Make both players Link

Postby Hoeloe » Wed Jul 27, 2016 12:06 pm

PixelPest wrote:I'm pretty sure 2.0 will allow multiple players to be the same character. It would be very, very difficult to do yourself though so I'd just wait
2.0 does pretty much nothing related to multiplayer.

Making both players Link is easy, making them different colours is less easy.

All you need to do is set the player ID of both players:

Code: Select all

player.character = CHARACTER_LINK
player2.character = CHARACTER_LINK
Making them different colours involves one of the following:
1) Managing powerup states so that each player always has a different powerup
2) Hiding the player and replacing them with a lua-drawn version (this is probably the most doable)
3) Altering one of the other characters to copy Link's mechanics (this is easily the most complex)

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Can I Make both players Link

Postby PixelPest » Wed Jul 27, 2016 2:02 pm

Hoeloe wrote:
PixelPest wrote:I'm pretty sure 2.0 will allow multiple players to be the same character. It would be very, very difficult to do yourself though so I'd just wait
2.0 does pretty much nothing related to multiplayer.

Making both players Link is easy, making them different colours is less easy.
Ah. When I posted my message, I was remembering the issue with having a vanilla character and a 2.0 character being used at the same time. Accidentally applied that to this situation


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari