• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

SMB1 Mario Bros. in SRB2 2.2.X

Status
Not open for further replies.
The Mario bros from the 80's now on SRB2. The premise of this is simple, it's to add the 8-Bit Mario brothers in SRB2 as playable characters including some abilities from the original game, (i.e Swimming, Crouching) As of now i'm waiting for someone to help me do the ability stuff. Thank you for visiting.
 

Attachments

  • Whoareyou.png
    Whoareyou.png
    22.1 KB · Views: 1,740
  • srb20037.gif
    1.4 MB · Views: 1,127
  • srb20030.gif
    2.3 MB · Views: 873
It is very awkward for me to control a 2D character like that in a 3D environment. I'm sure this is the same for many others. I hope you'll consider creating rotations for this project.
 
Yes i sure will... I guess but it would lose the magic of being simple so i decided that this character is intended for 2D Levels ONLY, but you can also use them in 3D but as you stated it would be awkward so i suggest that only use this character on 2D Mode levels for better experience.
 
It's cute to me! One of the charms of the old mario sprites is just how silly and crappy they look (in a good way!)
It's meant to be simple and referential, so I don't mind the 2d-ness.
 
It's cute to me! One of the charms of the old mario sprites is just how silly and crappy they look (in a good way!)
It's meant to be simple and referential, so I don't mind the 2d-ness.

Me neither, I'd consider making Paper Mario-type of rotations in this case.
 
Nice. One thing I would suggest is making the P-Speed animation take longer to reach, and a (slightly) higher jump for when he does reach said speed.
 
I decided to do some voluntary Lua scripting, and all I can say is "Thank gosh AbilitySpecial exists!"
attachment.php
attachment.php



Oh, and feel free to tweak the Lua to whatever fits, I just thought I'd do the basics.


Code:
local crouching = 0
addHook("ThinkFrame", do
   for player in players.iterate do
     if (player.cmd.buttons & BT_USE) then
       player.crouching = 1
     else
       player.crouching = 0
     end
     if (player.cmd.buttons & BT_CUSTOM1) then
       print("Height: " + player.height / FRACUNIT)
     end
     if player.crouching == 1 then
       player.height = 24*FRACUNIT
       player.mo.state = S_PLAY_GLIDE_LANDING
       player.normalspeed = 0
     else
       player.height = 48*FRACUNIT
       player.normalspeed = skins["tails"].normalspeed
     end
     if player.powers[pw_underwater] and not P_IsObjectOnGround(player.mo) then
       player.mo.state = S_PLAY_SWIM
     end
   end
end)
addHook("AbilitySpecial", do
   for player in players.iterate do
     if player.powers[pw_underwater] then
       player.mo.momz = 5*FRACUNIT
     end
   end
end)
 

Attachments

  • srb20618.gif
    srb20618.gif
    2.4 MB · Views: 3,356
  • srb20620.gif
    srb20620.gif
    1.3 MB · Views: 3,137
I decided to do some voluntary Lua scripting, and all I can say is "Thank gosh AbilitySpecial exists!"
attachment.php
attachment.php



Oh, and feel free to tweak the Lua to whatever fits, I just thought I'd do the basics.


Code:
local crouching = 0
addHook("ThinkFrame", do
   for player in players.iterate do
     if (player.cmd.buttons & BT_USE) then
       player.crouching = 1
     else
       player.crouching = 0
     end
     if (player.cmd.buttons & BT_CUSTOM1) then
       print("Height: " + player.height / FRACUNIT)
     end
     if player.crouching == 1 then
       player.height = 24*FRACUNIT
       player.mo.state = S_PLAY_GLIDE_LANDING
       player.normalspeed = 0
     else
       player.height = 48*FRACUNIT
       player.normalspeed = skins["tails"].normalspeed
     end
     if player.powers[pw_underwater] and not P_IsObjectOnGround(player.mo) then
       player.mo.state = S_PLAY_SWIM
     end
   end
end)
addHook("AbilitySpecial", do
   for player in players.iterate do
     if player.powers[pw_underwater] then
       player.mo.momz = 5*FRACUNIT
     end
   end
end)

Thank you!

---------- Post added at 12:52 AM ---------- Previous post was at 12:39 AM ----------

But however Nar, it seems your LUA COMPLETELY destroyed the run button.

---------- Post added at 02:44 AM ---------- Previous post was at 12:52 AM ----------

NVM, found the problem.
 
Ah shoot, I completely forgot I left that bit of debugging info in there.

Code:
if (player.cmd.buttons & BT_CUSTOM1) then
    print("Height: " + player.height / FRACUNIT)
end
Removing that could help solve the run button conflict. That was a fault on my part.
 
From the small gameplay, Mario looks pretty good, but ain't this a 2.5D game? If your making Mario 2D on purpose for the game it's based on, I don't mind it, but I'd hope that you have some time to make full sprites for each side of Mario that can be seen ingame.
 
From the small gameplay, Mario looks pretty good, but ain't this a 2.5D game? If your making Mario 2D on purpose for the game it's based on, I don't mind it, but I'd hope that you have some time to make full sprites for each side of Mario that can be seen ingame.

Technically, SRB2 is a 2.5D game, unless you're using models.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top