Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Splyth

#1
Your scripts / Delayed Closing of a Dialog Box
May 17, 2019, 11:32:18 PM
The situation:
Currently when a player selects an answer to a question the dialog box instantly closes:

What I want:
I'd like to delay closing the dialog box for half a second or so. I really I should be able to configure however much time I want.

Why is this needed:
I'd like to do things like play a sound or change the cursor to a new image. (e.g. display a thumbs up or play a small animation)

Anyone have any thoughts on how to tackle this?
#2
Development / Unit Testing and other questions
April 13, 2019, 04:40:49 PM
I've been working with Solarus for a little bit now, and I got some code written. And I've done my best to document
it as well as possible, but I'm still a lua noob (I'm a ruby programmer by trade) and I really miss the rspec gem framework.

I've tried to check out busted and a few of the other frameworks around, but I can't seem to make them work for me (running Windows 10)

Also as a side note I heard Solarus 6 was compatible with some external editors. Are there plans to add VS Code, or Atom to that list?

Currently I'm coding in VSCode then switching to Solarus to actually run and test the game. Which is workable, but it would be nice not to have to flip
screens every time I want to run it.