Skip navigation

As of today the dialog box bug is fixed, with a new dialog box type class added in to the RGL as well. After going over the code a few times, recompiling the dialog.py file, and running tests, it works! From the fixed dialog class, I created a StaticDialogBox class. This functions relatively the same as the regular dialogbox class with a few exceptions. First, there’s no arrow to signify a continuation of the text, everything is displayed in one page. Secondly, it will only draw it self character by character the first time it is displayed, after that it will appear instantly every time it is viewed.  Additionally, the full main menu is working, with the help manual being displayed via a StaticDialogBox and the player is able to switch back and forth between the the two.

Source code has also been posted on Github, the link is at the bottom of this post. I experienced difficulties in uploading code via Git, and was considering switching to SVN for a short period of time. However, I found that I am able to upload if I force the changes to go through via the force command. Despite following the tutorial on Github step by step, this remains the only way I am able to upload code. Currently, the non-working version of the menu is there with a dialog test file. Hopefully by tomorrow the full menu script will be up with a demonstration dialog test using static dialog boxes as well, it all depends on if Git cooperates. If not I will end up forcing the updates through again. Before posting the code however, I want to go through and trim out the unnecessary portions of the StaticDialogBox class from the RGL.

-Ben

Git repository (for some reason updates do not appear in the RCOS dashboard?):

http://github.com/benshippee/OMGOpenMathGame

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.