Log In  

Cart #9261 | 2014-11-01 | Embed ▽ | No License

Here's a quick example of a cartridge with a title screen.

To do this, use the script called 'Switch Room' in the internal tab. It will be possible to write your own scripts in Lua later, but these scripts are placeholders for now.

  1. Open the Internal objects tab (on the right of the navigator -- it shows 'Actors' by default)

  2. Click on Internal and then open Scripts

  3. Place the 'Switch Room' script somewhere in the room, and set the trigger to SYSTEM:BUTTON:SHOOT.

  4. Set the object's parameter (just below the trigger where it says 'Script') to the number of the room you want to switch to.

Note that there's no need to have a controllable player actor from the start -- you can introduce the player after the title screen / intro or whatever.

P#9263 2014-11-01 14:27 ( Edited 2015-01-22 19:09)

Thanks for the tutorial but I can't seem to find the 'internal objects tab'.
Could you point me in the right direction? thank you in advance!

P#9266 2014-11-01 14:55 ( Edited 2014-11-01 18:55)

It's the one labeled 'Actors' by default (not 'Items' -- I fixed this now above)

Once you're in that tab, you can see 'Internal > Actors' and can navigate up a folder using the 'Up Folder' button or by clicking the 'Internal' button.

(by the way, the internal tab is just a place to put all of the hard-coded stuff that can't be edited or is needed during development and for legacy support. Eventually there will be only editable objects)

P#9267 2014-11-01 15:07 ( Edited 2014-11-01 19:09)

Found it, fantastic thank you!

P#9268 2014-11-01 15:09 ( Edited 2014-11-01 19:09)

Yay! Thanks so much, I needed this!

P#9346 2014-11-27 05:10 ( Edited 2014-11-27 10:10)

But, zep, how do you do that a room changes to another room, after some time, like, automatically?

P#9544 2015-01-14 05:17 ( Edited 2015-01-14 10:17)


P#9545 2015-01-14 10:34 ( Edited 2015-01-14 15:34)

What is microsripting?

P#9548 2015-01-15 04:54 ( Edited 2015-01-15 09:54)

Mr zep!
What is scripting?!

P#9592 2015-01-21 14:03 ( Edited 2015-01-21 19:03)

White I think you just reall need to calm down and calm the spamming on the forum, don't you think ? You know most of the thing you say like "Please Zep make some cat for the game and penguins" whatever ...

The goal of the game is to encourage creativity, so just go ahead and crete a cat, why not ?

Also stop asking question when you can google them and get answers pretty easily.

P#9593 2015-01-21 14:52 ( Edited 2015-01-21 19:52)

Penguin level started

P#9594 2015-01-22 06:51 ( Edited 2015-01-22 11:51)

Funny thing on point crash i kind of already made a title screen without using the "Switch Room" micro script. all it says is "Read Thread Post First" but it works. Voxatron is a really easy to use program that micro scripting may not be needed at all.

P#9595 2015-01-22 14:09 ( Edited 2015-01-22 19:09)

good music tho
edit: same for all music on voxatron

P#129798 2023-05-16 12:17 ( Edited 2023-06-11 14:29)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-02-24 06:25:21 | 0.015s | Q:27