You need to wait till the next tick after instances are created, to be able to destroy them. So add "Wait 0" before the destroy action.
Or, better yet, instead of creating and immediately destroying, simply don't create them! If you need to create 8 and destroy 3 instances, you should create only 5 instead.
I wonder what did you try?
Keyboard On Enter pressed -> System go to layout....
.
You should probably start with tutorials:
construct.net/en/tutorials/beginners-guide-to-construct-3-1
Well, it's right there in event #6. This event is executed on every tick, so horns is constantly getting reset to (level-1)
You should probably move this action to "On start of layout" event.
Changing the canvas image pixel by pixel will always be slow. Also, my C3 crashes all the time when I'm trying to preview your project :)
Maybe you can work around this by using round sprites, with circular gradient colors. Change their opacity/size as the mouse moves, and paste them onto the canvas.
Here is my version of newt's party wall, with colorful sprites:
dropbox.com/s/7nxpcrpvguchnlr/partywall2.c3p
You can only add filename to the list if it ends with ".json"
Use this condition:
lowercase(right(NWjs.ListAt(loopindex), 5)) = ".json"
You have a much smaller window size and TStick sprite is also smaller, so you need to decrease the deadzone value in event 31, set something like "TStick.d>5"
Also, you don't need to set angle, remove event 37.
It depends on how you display this file list. I used ListBox, you can access file name using List.SelectedTextAt expression. You might want to use a bunch of text/spritefont objects instead or something similar.
Develop games in your browser. Powerful, performant & highly capable.
I believe you can only do this with NWjs, the app should be exported for desktop. Demo:
dropbox.com/s/ghrku2llyithi7s/NWJS_ListFiles.capx
Instead of the folder dialog, you can use app's installation folder, see NWjs expressions.
Set scale to lerp(0.1, 1, unlerp(800, 1800, self.y))
If you want to limit the scale in this range, you can wrap this formula in clamp(...., 0.1, 1)
I don't understand what's going on in that template.
Here is a much simpler version:
dropbox.com/s/gz2g128hcvaxzvf/Thumbstick8Direction.capx
I believe your mistake is that you don't wait for "On save complete" event. Saving takes some time and SaveStateJSON expression is not available immediately after you execute "Save game" action.
So instead of the "ExitMenu" function use "On save complete" event.
Member since 26 May, 2016