How to Use Create a Custom SMBX2 Launcher Page

General discussion about Super Mario Bros. X.
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?
User avatar
h2643
Ludwig von Koopa
Ludwig von Koopa
Posts: 2873
Joined: Sat Dec 21, 2013 7:23 am
Current Project: RL
Chat Username: h/a troll

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Mon Jun 06, 2016 11:28 am

You can try to do it like this:

Code: Select all

<audio autoplay="autoplay" loop="loop">
	    <source src="your music file.mp3" type="audio/mpeg">
</audio>
With this the music should automatically play endlessly without the need of a music player. Feel free to change attributes.[/strike]

EDIT: actually that may not work, I tested this only with a browser HTML page.
EDIT2: yep, doesn't work. No idea how to find a workaround, if there is one.

User avatar
MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6122
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Current Project: http://www.supermariobrosx.org/forums/v ... 9&start=10
Chat Username: 鬼人 正邪
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby MECHDRAGON777 » Sun Aug 28, 2016 10:31 pm

h2643 wrote:
Horikawa Otane wrote:
h2643 wrote: how

Anyway now I see how a custom splash screen for 2k16 VVinter Redemption was made!
Correct!

To me the most exciting thing is the update feature. Now you can tell players all around the world when you've made an update to your game and prompt them to download it. Whether it's bugfixes, new levels, etc... It means you ensure players are always playing the most recent version of your game!
Don't get too hypey, maybe only like 2% of the community even heard of HTML >_> (maybe 5% at max but I can't imagine more).
The scary thing is that I find "Hyper Text Markup Language" (HTML) easier then .txts. I self taught myself HTML in fifteen minutes after finishing all of my computer class work one day two years ago. When I had to start typing my school work in Microsoft Office Word (A program I am in the 1% that do not have it), I got special permission to make Webpages instead. I wonder if we have a Google Webpage, if that would count for "Current Version" checking, or no? Also, can we make .json files with notepad++?

ImageImageImage

Image

User avatar
Lwiri_
Cheep-Cheep
Cheep-Cheep
Posts: 10
Joined: Sun Jan 01, 2017 6:54 pm
Current Project: Legend of Zelda:Mushroom Adventure
Chat Username: Lwiri_

Re: How to Use Create a Custom SMBX Launcher Page

Postby Lwiri_ » Sun Jan 08, 2017 12:42 pm

I can't put a background in, when I try to put one in, it just makes the screen white.
HTML

Code: Select all

<!DOCTYPE html>
<html>
	<head>
		<title> Legend of Zelda:Mushroom Adventure </title>
		<link rel="stylesheet" href="example.css" />
	</head>
	<body>
		<body background="Zelda.gif">
		<img src="http://i.imgur.com/4HfDZeI.png"> </img>
		<font face="Triforce">
		<p> Mario's taken a vacation, after defeating Bowser, and it seems as if he's been gone,
 as he hasn't attacked for 1 year.  Link's decided to take a vacation in a cave in Mario's world, but a toad down there (who was stuck down there after being abandoned by others a few days ago)
 tells Link that Bowser's kidnapped Princess Peach again!  Go up the road to victory, and defeat Bowser! </p>
		<a href="https://www.supermariobrosx.org/forums/index.php?sid=7f1bb9714b9a6ee3ac3febe12515fb29"> <p> Check for Updates! </p> </a>
	</body>
</html>
CSS

Code: Select all

body {
	text-align: center;
}
p {
	font-size: 24px;
}
I'm that guy who watches you sleep.

User avatar
Shadow Yoshi
Dark Knight
Dark Knight
Posts: 4302
Joined: Sun Dec 01, 2013 12:56 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Shadow Yoshi » Sun Jan 08, 2017 3:33 pm

Set the background image using CSS:

Code: Select all

@font-face
{
    font-family: Triforce;
    src: url("triforce.ttf"); /* Replace this with the name of your font file */
}

body
{
    background-image: url("Zelda.gif");
    text-align: center;
}

p
{
    font-family: Triforce, serif; /* Fall back on serif font in case something goes wrong with Triforce */
    font-size: 24pt;
}    
I added a @font-face rule which will make sure the Triforce font is displayed for people who don't have it (which means you have to include the font file in the same folder). I also fixed some things with your HTML:

Code: Select all

<!DOCTYPE html>
<html>
<head>
    <title>Legend of Zelda: Mushroom Adventure</title>
    <link rel="stylesheet" type="text/css" href="example.css" />
</head>
<body>
    <p><img src="http://i.imgur.com/4HfDZeI.png" /></p>
    <p>Mario's taken a vacation, after defeating Bowser, and it seems as if he's been gone,
 as he hasn't attacked for 1 year.  Link's decided to take a vacation in a cave in Mario's world, but a toad down there (who was stuck down there after being abandoned by others a few days ago)
 tells Link that Bowser's kidnapped Princess Peach again!  Go up the road to victory, and defeat Bowser!</p>
    <p><a href="https://www.supermariobrosx.org/forums/index.php">Check for Updates!</a></p>
</body>
</html>
- Removed some unnecessary spaces and fixed some indents
- Removed duplicate body tag
- Added the "text/css" type to your stylesheet link
- Used a self-closing tag for the image and put it inside a <p>
- You can't have a <p> inside of an <a> so I fixed that

User avatar
Natsu
Wart
Wart
Posts: 3011
Joined: Sat Dec 21, 2013 2:40 pm
Current Project: It's a secret to everybody ...
Chat Username: Kuma-san

Re: How to Use Create a Custom SMBX Launcher Page

Postby Natsu » Sun Jan 08, 2017 3:38 pm

HTML is mainly for making the site's structure. Upon having this "sketch" you go ahead and add detail and style to it with CSS. That's why CSS exists, Cascading Style Sheets.
Discord quotes
Trace: You're a capable boi

ReptilianBro
Goomba
Goomba
Posts: 2
Joined: Mon Jul 09, 2018 8:40 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby ReptilianBro » Mon Jul 09, 2018 8:41 pm

Natsu wrote:
Sun Jan 08, 2017 3:38 pm
HTML is mainly for making the site's structure. Upon having this "sketch" you go ahead and add detail and style to it with CSS. That's why CSS exists, Cascading Style Sheets.
Pretty much the perfect way of describing HTML and CSS.

User avatar
Teemster2
Ripper II
Ripper II
Posts: 312
Joined: Sat Jan 18, 2014 11:56 am

Re: How to Use Create a Custom SMBX2 Launcher Page

Postby Teemster2 » Thu Jul 12, 2018 10:26 am

Is it possible to have a custom loading page for each level? (I am talking about every single level in an episode) I was wanting to try a brief description on a loading page for each level but that would probably need an "ok" button as levels don't take long to load so I doubt it's possible but I was wondering. Thanks.
I want to say thank you to God for every day he gives me on this planet and for the chance to be in a better place when I die.

User avatar
Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 7619
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: How to Use Create a Custom SMBX2 Launcher Page

Postby Enjl » Thu Jul 12, 2018 10:55 am

Teemster2 wrote:
Thu Jul 12, 2018 10:26 am
Is it possible to have a custom loading page for each level? (I am talking about every single level in an episode) I was wanting to try a brief description on a loading page for each level but that would probably need an "ok" button as levels don't take long to load so I doubt it's possible but I was wondering. Thanks.
That's completely unrelated to episode launcher pages. What you're looking for is custom loading screens, which are not possible as of SMBX2 Beta 3.
ImageImageImageImage
ImageImageImageImageImageImage

User avatar
MegaDood
Birdo
Birdo
Posts: 1456
Joined: Wed Nov 01, 2017 2:43 am
Current Project: Super Mario Bros. Twisted Realities
Chat Username: Mega

Re: How to Use Create a Custom SMBX2 Launcher Page

Postby MegaDood » Sun Apr 07, 2019 2:19 am

We've really come a long way from the simple level and map editors. Now we can even create a title page for our episodes.
My Project:
Image
I don't really have a signature but here's what I support:

Image
Image
Image

User avatar
Eri7
Banned
Posts: 1653
Joined: Sat Jan 28, 2017 4:48 pm
Flair: Hard work pays off sooner or later
Current Project: SMNZ (38A) + SMNP1 (38A) + MKA(2.0) + TNV (2.0/38A) + TNVL (2.0/38A) + SMNP2 (2.0) + SMNR (2.0)
Chat Username: Eri7
Contact:

Re: How to Use Create a Custom SMBX2 Launcher Page

Postby Eri7 » Sun Apr 07, 2019 5:32 am

Was there a reason to bump this? We already know about this feature, well at least new users will find out about it way sooner.
Image
Image
Image
Image


Return to “General”

Who is online

Users browsing this forum: No registered users and 5 guests