Hi, I'm trying to call the Stamp Album from a custom menu, but SceneManager.push(Scene_StampsAlbum); doesn't seem to be the correct line. Could you help me? :)
I saw you were trying to open the Stamp Album with: SceneManager.push(Scene_StampAlbum) and hit a ReferenceError. That happens because Scene_StampAlbum isn’t exposed globally, the plugin keeps that class inside its own scope, so the engine can’t locate it when you call it directly.
Instead, the plugin ships with a dedicated plugin command that safely opens the album:
// From an event’s Script command (where `this` is a Game_Interpreter)
PluginManager.callCommand(this, "StampsAlbum", "OpenAlbum");
// From a window, scene, or any other context (where `this` isn’t a Game_Interpreter)
PluginManager.callCommand(null, "StampsAlbum", "OpenAlbum");
The "OpenAlbum" command internally performs SceneManager.push(Scene_StampAlbum) giving you the exact result you want without exposing the scene class.
hello, the album only has one "page"? that is, the number of stamps can be increased, but the collection will be the same, or can Collection(page) No. 1 be created with 15 stupms, Colection №2 with 20 and so on?
Hey there, my friend. Thanks for your question.
Yes, at the moment the plugin only handles one page.
But it’s already being considered for an update in the future to add a similar feature. Right now I’m a bit tight on time, but at some point I’ll add that functionality :)
← Return to plugin
Comments
Log in with itch.io to leave a comment.
Hi,
I'm trying to call the Stamp Album from a custom menu, but SceneManager.push(Scene_StampsAlbum); doesn't seem to be the correct line. Could you help me? :)
Hi drawpunzel,
I saw you were trying to open the Stamp Album with: SceneManager.push(Scene_StampAlbum) and hit a ReferenceError.
That happens because Scene_StampAlbum isn’t exposed globally, the plugin keeps that class inside its own scope, so the engine can’t locate it when you call it directly.
Instead, the plugin ships with a dedicated plugin command that safely opens the album:
The "OpenAlbum" command internally performs SceneManager.push(Scene_StampAlbum) giving you the exact result you want without exposing the scene class.
Hope that clears things up! Happy developing! ^^
Works like a charm! Thank you so much <3
I'm so glad I could help! Good luck with the project ^^
hello, the album only has one "page"? that is, the number of stamps can be increased, but the collection will be the same, or can Collection(page) No. 1 be created with 15 stupms, Colection №2 with 20 and so on?
Hey there, my friend. Thanks for your question. Yes, at the moment the plugin only handles one page. But it’s already being considered for an update in the future to add a similar feature. Right now I’m a bit tight on time, but at some point I’ll add that functionality :)
Thanks for the suggestion and interest!
Had a conflict with visustella core engine with the erasure of images.
Excellent Plugin, makes collecting things a lot more fun!
Sent you the console log via a support inquiry. If you want me to take the interim work around down just let me know.
Oh it's so cute 🥰 I love it so much!!
Thanks you Anya! 💙
I'm glad you like it ^^