Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RPG in a Box

Bring your stories and ideas to life! · By Justin Arnold

Problem: Export game..blank window..** Solved** Sort of..

A topic by Daza created Apr 14, 2017 Views: 252 Replies: 6
Viewing posts 1 to 7
(4 edits)

Its been a few weeks since i become a founder member and haven't really used RPGinABox latest version since messing around with the early build prior (i have been sick for a week or so). Anyway with that early version I was able to export what i was doing and playtest it. Now when i do this (my current RPGInABoX version is V0.3.9.15-alpha) and launch the exported game the game window is totally blank with the game cursor visible that seems to sometimes highlight on something in the blank window if i move it around.

Not sure why this is happening as i had no problems with the early build version. I was using the example map and had created a new one, was doing the tutorial (on IndieDB page) with how to link two maps.

*Update* Solved...I had to press SpaceBar in order for the map/game to appear in the window, whether or not there was a black start screen i am not sure?

However when i just tried going down the stairs it went to load the map and the screen went blank again...console window says Script Error: Load_map: Attempt to call function "instance" in base 'null instance' on a null instance.

Hello! Sorry to hear that you are having some issues (and that you were sick, hopefully you are feeling better!). Can you try downloading the latest version, v0.4.0.6, and see if the black screen still occurs? I think there was a bug fix not too long ago related to that.

The Load Map issue might be something different, but not sure off the top of my head. Let me know after exporting with the latest version if you still have either of these issues. Also, if you are okay with downloading the Itch desktop app, I'd recommend doing so. It's a pretty cool app and it will automatically keep RPG in a Box up to date as I release new versions of it.

I hope you are having fun with it so far! :)

Hi again,

I installed the Itch.io app and installed RPGinABox on that and loaded up content from before, i exported again to save created folder (which only has 2 files, data.pck and game.launcher). Still same issue it starts with black screen with cursor- press spacebar and the map/level then will be visible, move to the stairs where i created a script link to the other map, walking into this just makes the screen go black and same error message as pointed out last time. Not sure what is going on. Any other suggestions?

(1 edit)

That is strange, I am not sure what would be going on. Can you go into the About dialog and let me know what version it is? Also, could you post a screenshot of what your startup script looks like? Thanks!

If you don't mind, you could also zip up your project folder and send it to me. That should make it pretty simple to debug the issue. :)

Sorry for my late reply. My version of RPGinABox is 4.0.8 and here is the project folder, its just your example with a bare bones level added to learn how to link two maps together. Since i dont have your email address and it seems itch.io doesn't have PM ive put it on mediafile http://www.mediafire.com/file/0pwynpxryyb6oa5/RPGINBOXMyDemos.7z Let me know if you got it, i zipped it with 7zip. Hopefully it something simple that is wrong :)

(1 edit)

Thanks for sending the files! I think the first issue on startup is a bug that I need to fix related to scripting. The other issue with loading the dungeon map appears to be related to the quick script that you have on the Dungeon Entrance tile.

Here is the current quick script:

load_map("map_name", coord[-6, 3, 1], SOUTH)

You'll want to modify this so "map_name" is the name of the map that you want to load, in this case "Dungeon01":

load_map("Dungeon01", coord[-6, 3, 1], SOUTH)

You'll need to do a similar thing for the stairs leading back up to the "example" map. I think there may also be an issue with the navigation paths on the stairs in the dungeon map. I'd recommend deleting and re-adding the stairs and then using this quick script:

load_map("example", coord[3, 2, 0], WEST)

Hopefully that helps! I'll get a fix for the startup issue released.