Tip of the Day
Tip of the Day was a set of tips and hints that could be unlocked through the easter egg console in SMBX 38a versions 1.4.3 and 1.4.4. At the moment, there is no tip of the day section in 1.4.5.
NOTE: THESE ARE FROM 1.4.3/1.4.4 AND MAY NOT BE RELEVANT IN 1.4.5!
The tip #49, #50 and #117 aren't in the list because are user-dependent!
The first Easter Egg unlocks 'Player GFX Offset Settings'.
With 'Player GFX Offset Settings', you can define the offsets drawing the graphics of your character, which makes the customization of characters more convenient.
'Player GFX Offset Settings' will affect the single level. There is a way to make it affect the whole world.
The second Easter Egg unlocks 'Game Font Settings'.
'Game Font Settings' enables you to load standard font files when the world initializes.
There is a way in the script system to draw characters directly from font files.
The third Easter Egg unlocks 'Local Array'.
'Local Arrays' need to be initialized by a function before use. The function is 'redim' and it is called 'Function A7' in other daily tips.
'Function A7' has no return values. It has 3 parameters and they are called 'Param C1', 'Param K4', 'Param W3' in other daily tips, respectively.
'Param C1' can be 0 or 1. Set it to 0 and all memory allocated to the array will be cleared. Set it to 1 and you can just resize the array.
'Param K4' stands for the name of the array.
'Param W3' stands for the new size of the array.
Arrays can be read and written after initialization. Use 'X(Y(Z))' to represent an element in an array. 'Y' is the name of the array. 'Z' can be an expression and stands for the index of the element. 'X' is the identifier of arrays and is called 'Identifier R1' in other daily tips.
'Identifier R1' is 'Array'
The fourth Easter Egg unlocks two features and they are called 'Feature F2' and 'Feature U4' in other daily tips.
'Feature F2' can pack your music files up and transform them into an all-in-one file.
'Feature U4' packs up your episode and makes an executable file.
'Feature U4' will also pack up files in the 'graphics', 'music' and 'sound' folders. You can delete some unused music files before packing the map, but not the unused pictures.
The fifth Easter Egg unlocks 'Game Save Editor'.
'Game Save Editor' can edit some of the save data generated by unpacked maps. Like altering the visibility of world map objects and checking the star acquisition information.
Unpacked maps, packed maps and exe-file maps have different save file formats.
The sixth Easter Egg unlocks 3 features and they are called 'Feature O4', 'Feature M5' and 'Feature F9' in other daily tips.
'Feature O4' creates a global one-dimensional string constant table, which can be used to store string constants. You can use 'Function V7' to access it in levels and the world map.
'Function V7' is 'strconst'.
'Function V7' has only one double type parameter. It stands for the index of the string constant.
'Feature M5' enables you to create a two-dimensional constant number table that applies to the whole world. The type of the constants in this table is Single. You can access the table via 'Function J4'
The name of 'Function J4' is 'const'
'Function J4' has two Double-typed parameters determining the index of the element.
'Feature F9' enables you to create a two-dimensional variable table. You can regard it as a two-dimensional array and it is called 'Object B8' in other daily tips.
You can use 'Function R3' to read from the 'Object B8' and 'Function C4' to write into it.
The name of 'Function R3' is 'vallistr'.
'Function R3' has two double type parameters determining the index of the element.
The name of 'Function C4' is 'vallistw'.
'Function C4' has 3 double type parameters. They are called 'Param H4', 'Param Z2' and 'Param Y9', respectively.
'Param H4' and 'Param Z2' determines the location of the element.
'Param Y9' stands for the new value of the element.
The seventh Easter Egg unlocks 'Message Text Color Settings'.
'Message Text Color Settings' enables you to change the color of in-game messages.
The eighth Easter Egg unlocks 'More Special Events'.
Special events can be triggered by normal events. Additionally, they can also be triggered by scripts with a function. The function is called 'Function I4' in other daily tips.
The name of 'Function I4' is 'spevent'.
'Function I4' has only one parameter standing for the ID of the event.
The ID of a specific special event can be seen in the event window. Right-click the form to reveal it.
The ninth Easter Egg unlocks two functions and they are called 'Feature V6' and 'Feature S4'.
'Feature V6' enables you to customize the cutscene picture shown when entering a level.
'Feature S4' allows you to customize the pause menu.
The image file 'Feature V6' and 'Feature S4' use as the image source is 'scflash.png'.
Once an Easter Egg game is opened, the common way to close it is killing the game process via the task manager. Actually, there is an alternative choice, which is inputting a password. The password is 'exit_XXXXYYYY' and the unknown parts of it are called 'Param Y2' and 'Param A8' in other daily tips.
'Param Y2' is 'XXXX'. (USER DEPENDENT)
'Param A8' is 'YYYY'. (USER DEPENDENT)
There is a way to terminate a running easter game without using the task manager.
There is a way to reduce the difficulty of Easter Egg games.
This game has many hidden features and the ratio of the number of them to visible ones is 'Param T5'.
'Param T5' is greater than 1.
The number of daily tips you can see in total and the number of cleared Easter Egg games are related.
The number of daily tips you can see in total is associated with your computer ID profile, which indicates that you may not be able to see all of them with only one computer.
Daily tips tell much information, and some of the information are not affected by your computer ID profile thus can be shared with other people, but the other parts can only be applied to one computer.
The 'Auto Rect Tool' in the editor can be used to place liquids, not only blocks.
The operator 'like' is handy for matching strings and it has the same syntax as the one in VB6.
'With' blocks are superior in efficiency when you are modifying multiple properties of a single object.
If you just want to modify the content of a text object, the much more efficient way is to modify the 'text' property instead of using functions.
'Goto' statements are very useful. You might have known it that every control flow operations in any high level programming languages can be reduced to some 'Goto'-like things.
You can move your scripts to be used in multiple levels (like custom HUD) to global scripts.
You can execute a script with the function 'exescript', which has only one parameter standing for the name of the script to be called.
When layer-related functions are called in global scripts, they will affect the layers in the world map.
If there is a call-back way to run scripts, don't use the looping way. For example, you should try to let NPCs run scripts when they are killed, instead of checking whether the NPCs are dead on every frame.
If you happen to found a bug that crashes the game, you may report it in a proper way as soon as possible. You may not merely tell me that the game crashed, but you'd better tell me the details of how it happened. For example, if your episode is always crashing the game when it loads, you should upload your episode when reporting.
If you found a bug that doesn't crash the game, you should report it with instructions, pictures or videos explaining how to trigger it, and more detailed instructions are preferred if the triggering process is complex.
I can fix bugs at the speed beyond your imagination, only if you properly reported them and they can be reproduced.
If you are trying to customize the movement pattern of NPCs with scripts, a viable way is setting the coordinate. However, you should also remember to calculate and set the speed according to physical laws to prevent odd glitches when the game checks collisions.
Parametric equations can be pretty handy in many cases, like making NPCs move in circles. By the way, you can improve your math abilities by playing Easter Egg games. *laugh*
There is a way to rotate the images of NPCs.
If you can't use the local array function, you can make simulated arrays with strings, however losing some efficiency and convenience.
Detecting the keys players are currently pressing is possible via scripts. It is not achieved using sysval.
Buttons, textboxes, checkboxes and other elements in Level Events window can all be right-clicked. If you have trouble finding out what a button does, why not right-click it?
The 'Swap Object' function in level settings can be used not only to replace objects in a level, but can also be used to delect objects.
Use 'debug' function to output texts to the Debugger so that you can debug your scripts.
Clickable buttons can be used to simulate various buttons.
Rect, Line, Circle cursors in the editor can be used to select objects in 'Selection' edit mode. It is possible to multi-select objects by doing so again and again.
If there are selected objects, click the copy button or the flip button to manipulate them.
In fact, this game is not completely written in VB6, it is developed in VB6, C++ and ASM combined.
It does not make sense to compare the superiority and inferiority between different programming languages. Only laymen who don't have a deep understanding of programming do so. If you insist on declaring XXXX is better than YYYY, why not provide your users with a C compiler and ask them to write a Super Mario game?
NEVER try to dig out some secrets of this program with Cheat Engine. All secrets are well encrypted and this program is able to kill itself.
Special events have many special effects. Before having a hard time simulating a feature with scripts, check the special events first to see if there are built-in versions, like SMB3 power-up system.
MarioShop is time-saving and useful in altering the hue and replacing a certain color.
NEVER try to do some research on how the Easter Egg system recognizes a computer. You are highly unable to succeed in it and if you did it, all Easter Egg records for everyone will become invalid.
If you want your suggestions to be accepted and implemented soon, they should be: 1) unable to be achieved easily using existing methods 2)supplied with all resource files (like graphics) 3)not repeated and compatible with other existing features.
Valuable suggestions are accepted rapidly, if they fulfill 'three requirements'.
'Sleep' functions are only functioning within scripts called by events. They can not function in functions but 'Gosub' and 'Goto' statements does not affect their availability.
A part of sysval variables are writable and another part of them are readable. There are also some of them both readable and writable.
Invincible NPCs can only be killed using scripts. Set 'alive' property to 0 to kill a NPC instantly.
'ivalA' , 'ivalB' and 'ivalC' are actually int type properties of NPCs, so they can not store float numbers.
Use 'exit script' to immediately stop the executing of scripts or exit functions.
Objects in scripts have many hidden properties. To get the names of them, you have to play Easter Egg games or guess on your own.
The function 'rgba' can be used to calculate color values and it has four parameters standing for the RGBA valued.
NPCs have more than 30 properties.
You can insert numeric variables in strings using '&val' and '&gvl', and for strings, you should use 'Identifier K7'.
'Identifier K7' is '$val' and '$gvl'.
The property 'Name' of objects are writable so you can store a large sum of information in it
All built-in script systems in all games are not meant to let you create a completely different or new game system, because if you are able to write such scripts, actually you can make your own game engine. Making update suggestions directly is much more effective if you want to implement a extremely complex but rather useful feature.
Non-puzzle games do exist in Easter Eggs and they are not discovered by chance but by meeting a certain series of requirements.
Special judge programs are used in non-puzzle Easter Egg games. The rules of these games are also different from other games. If you beat one, you will get an extra 'special bonus'.
You will get rewards by beating Easter Egg games. There are also some hidden rewards during the gameplay.
When using the names of layers and events in scripts, enclosing them with quotation marks or without are both acceptable, however you have to add the marks if there are special characters in the names.
For some NPCs, 'ivalA', 'ivalB', 'ivalC' variables are already in use by the game. You can tell the meanings of them by monitoring the values of them. Adjusting their values in a proper way is helpful when customizing NPCs.
Hidden features unlocked by Easter Egg games receive updates occasionally, and a major update will reset the record registry which means you need to beat the game again. There are also some hidden features that will no longer be hidden and become normal features.
The 10th Easter Egg game is located at 'Easter Egg Master'. It is not a puzzle game.
Autorun events have parameters. So that you can get the information of the dead NPC with 'NPC - Death' calling a script.
Spin jumps can be disabled by setting the value of a sysval variable. The name of it is 'Identifier N8'. Normal jumps can also be disabled in a similar way.
'Identifier N8' is 'disablespinjump'.
The function 'format' can be used to make formatted strings from numbers. It has two parameters and the first one is of string type and the second one is of double type.
The second parameter of 'Format' function is the numeric variable to be formatted.
The first parameter of 'Format' function is the format of the result string. For example, "%8z" turns the number into integers with leading zeroes and "%.2f" turns the number into decimals with two decimal places.
Multiple conditions can be followed after the 'Case' in 'Select Case' statements. Separate them with commas.
The conditions followed after 'Case' statements can be ranges like 'Is > 3', which stands for 'greater than 3'.
You can use the 'inwater' read-only property to know whether a NPC is in water.
Input 'code_****XXXX' to decrease the difficulty of Easter Egg game '1'. (USER DEPENDENT)
The upper limit for the number of coins a player can store is customizable. You can achieve it by adjusting the value of a sysval variable. The name of that variable is 'Identifier I3'.
'Identifier I3' is 'coinsforextralife'.
The music script in the script example 'Castle in the Sky' is actually generated with a program. The program can be found somewhere in the editor.