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.


Messages - Splyth

Pages: [1]
1
Your scripts / Re: Delayed Closing of a Dialog Box
« on: May 19, 2019, 04:59:19 pm »
I think I got it
Thanks!

2
Your scripts / Re: Delayed Closing of a Dialog Box
« on: May 18, 2019, 11:42:01 pm »
I was drinking last night too so no worries.  I'm swamped today but I think I'll have a few hours tomorrow.

I think the thing I was missing was  placing the timer on the game object. I'll try it and get back to you.

Thanks!

3
Your scripts / Delayed Closing of a Dialog Box
« on: 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?

4
Development / Re: Unit Testing and other questions
« on: April 13, 2019, 08:14:27 pm »
I tried to get external editors to play nice with solarus but I had no luck.

Thanks for the help though

5
Development / Unit Testing and other questions
« on: 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.

Pages: [1]