I also fixed the CYOB problem, I think. I just messed with Block/Tuple conversion.
I have pushed the change for the patch to Git, and you can look at the repository to get a patched copy and test it out. I will upload this onto the main download mirror once it is confirmed to work.
Last edited by jvvg (2013-02-08 15:02:59)
Offline
I'm now writing plans for Insanity 1.2.1. This will only be bug fixes.
To see what I'm working on, look at the bugtracker.
Offline
I think Slash has the same kind of join block, and I believe it works fine. Maybe check that out, see what Slash's code is?
Offline
powerpoint56 wrote:
I think Slash has the same kind of join block, and I believe it works fine. Maybe check that out, see what Slash's code is?
I used the code from BYOB. However, I also need to integrate some save functions with it, and can't quite find how to do that.
Offline
Oh, I just had an awesome idea to fix the join problem. Do something like this:
when gf clicked add [string1] to join string [str1] add [string2] to join string [str1] say (join string [str1]) for [2] secs
Last edited by jvvg (2013-02-12 20:41:19)
Offline
Yeah, or you could do something like:
add [join #1] to [join list v] add [join #2] to [join list v] add [join #3] to [join list v] set [join var v] to (characters [1] - (length of [join list v]) of [join list v]) say (join var)
Offline
powerpoint56 wrote:
Yeah, or you could do something like:
add [join #1] to [join list v] add [join #2] to [join list v] add [join #3] to [join list v] set [join var v] to (characters [1] - (length of [join list v]) of [join list v]) say (join var)
There is already a function to join a list.
My idea was just to make it more specific to joining stuff.
Offline
Unfortunately, I have not been able to find any solutions to the join array problems. As such, I have decided that the only option was to remove it altogether and replace it with the old join block.
Here is the info I have so far, if anyone wants to help fix it. I believe the block spec for an array is "%arr".
Offline
Hey! Can you help me with compiler? I want to use the one from Insanity(with credit of course) in my mod. It compiles the game well, but i do not know how to make the game open in presentation mode when i run the compiled project.
Offline
powerpoint56 wrote:
jvvg wrote:
Well, I think there's good news. I think someone just direct uploaded something from Insanity 1.1, and it worked. I'm thinking the problem was on my end.
That was me.
But about the direct uploading.. I uploaded the project onto Mod Share from the Upload page on the site, not directly from Insanity, because my direct upload didn't work. So I don't think you're the only one with the problem.
Oh, by the way, I think Insanity 1.1 is really cool and helpful!
I made a direct upload-and it worked!
Offline
I will [finally] release Insanity 1.2.1 now. The download URL is http://futuresight.org/download/insanity.
Also, 290 downloads from our main mirror and 1900 from one of our secondary mirrors!
Offline
It's probably really obvious, but how do you open it?
Offline
BobSausage wrote:
It's probably really obvious, but how do you open it?
On Windows, open the Insanity.exe file (the one with the puzzle piece icon) and on Mac, you open Insanity.app (also with the puzzle piece).
Offline
bump
I found a glitch: If you try to do something like this,
set [a variable v] to (join (time) [input or no input] [x] [d])//the actual time blockthe error message comes up (An error has occurred...)
Offline
powerpoint56 wrote:
bump
I found a glitch: If you try to do something like this,set [a variable v] to (join (time) [input or no input] [x] [d])//the actual time blockthe error message comes up (An error has occurred...)
You don't need to bump my topics.
Anyway, I tried it, and it worked for me:
Are you using the latest version of Insanity? You can tell if you are by whether there is a join array block (version 1.2.1 does NOT have it and instead has a join block with 4 slots).
Offline
jvvg wrote:
powerpoint56 wrote:
bump
I found a glitch: If you try to do something like this,set [a variable v] to (join (time) [input or no input] [x] [d])//the actual time blockthe error message comes up (An error has occurred...)You don't need to bump my topics.
Anyway, I tried it, and it worked for me:
http://i.imgur.com/UXC8UjA.png
Are you using the latest version of Insanity? You can tell if you are by whether there is a join array block (version 1.2.1 does NOT have it and instead has a join block with 4 slots).
I'm using 1.2.1.
This code comes up:
Offline
powerpoint56 wrote:
jvvg wrote:
powerpoint56 wrote:
bump
I found a glitch: If you try to do something like this,set [a variable v] to (join (time) [input or no input] [x] [d])//the actual time blockthe error message comes up (An error has occurred...)You don't need to bump my topics.
Anyway, I tried it, and it worked for me:
http://i.imgur.com/UXC8UjA.png
Are you using the latest version of Insanity? You can tell if you are by whether there is a join array block (version 1.2.1 does NOT have it and instead has a join block with 4 slots).I'm using 1.2.1.
This code comes up:
http://i45.tinypic.com/4j3s54.png
From what it looks like, it is trying to join non-strings (which doesn't work), but the code does convert them to strings. Check it out at Scratch-Objects -> ScriptableScratchMorph -> --all-- -> join:with:with:with:
You'll notice I applied asString to all of the inputs. Because of that, it should understand the concatenate operator. If the asString code is not there, then please download the latest image from the git repository.
Offline
jvvg wrote:
powerpoint56 wrote:
jvvg wrote:
You don't need to bump my topics.
Anyway, I tried it, and it worked for me:
http://i.imgur.com/UXC8UjA.png
Are you using the latest version of Insanity? You can tell if you are by whether there is a join array block (version 1.2.1 does NOT have it and instead has a join block with 4 slots).I'm using 1.2.1.
This code comes up:
http://i45.tinypic.com/4j3s54.pngFrom what it looks like, it is trying to join non-strings (which doesn't work), but the code does convert them to strings. Check it out at Scratch-Objects -> ScriptableScratchMorph -> --all-- -> join:with:with:with:
You'll notice I applied asString to all of the inputs. Because of that, it should understand the concatenate operator. If the asString code is not there, then please download the latest image from the git repository.
Ah. Alright!
Offline