Log In  

Cart #cart1-3 | 2020-04-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

This game is just a test.
Please run it to see if Cart 1 will load Cart Two.
This is a test for another game I am working on.

Code

--cart 1 and cart two
--by candycolt games

function _draw()
    cls()
    map(0,0)
    print("loading cart two...",54,44,7)
end

function _update()
    if time()>2.5 then
        load"#cart two-2"
    end
end

Cart Two is at https://www.lexaloffle.com/bbs/?tid=37448

Conclusion

Test 1:

Okay, This did not work apparently. If you know how to load a cart in another cart please comment it below. Thanks!

Test 2:

IT WORKS!!!!!!

P#74974 2020-04-19 15:11 ( Edited 2020-04-19 19:08)

This is caused by a bug on the forum. It needs the breadcrumb parameter, or it never actually loads the next cart.

For more info, I've reported it here

Edit:
Also, for loading between carts on the bbs, you need to add a '#' in front of the cart's id, and it needs to be the same name as the cart's id on the bbs. So "cart two" wouldn't work, you'll need to use "#carttwo" as the id instead. See my above link for an example.

P#74976 2020-04-19 15:32 ( Edited 2020-04-19 15:37)

Do I do the ID of the game? like...

load 
Cart #carttwo-0 | 2020-04-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Oops, did not know that would happen. do I do:

load #cart1-0#
P#74996 2020-04-19 18:38 ( Edited 2020-04-19 18:39)

Oh, I think I figured it out. is it:

load"#carttwo-0"
P#74997 2020-04-19 18:44
1

You're close. As stated before, you need the breadcrumb string or it breaks on the forum. Also, you don't need to add the version tag, if you leave it out, it'll load the newest version.

Example:

load("#carttwo", "go back to cart one")
P#75006 2020-04-19 19:52

@Zeepso That helps a lot!

P#75043 2020-04-20 15:19

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-02-05 07:55:34 | 0.020s | Q:22