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 - GuyCockcroft

Pages: 1 2 3 ... 7
1
Ask a Question / Re: Car Sounds
« on: June 10, 2020, 01:22:50 am »
The Malware thing is a security feature in OSX. To get around this, Open System Preferences, and on the General page, there's a section at the bottom where you can allow certain apps to run if they haven't come from the App Store. Open Stencyl again, and when you see the error, cancel it. Then the app name should appear in this section in the Preferences. You'll probably have to enter your admin password to allow the app to run. But next time you try to open Stencyl, it should allow you to continue.


2
Ask a Question / Re: Can't test the game. (haxelib mbs?)
« on: May 25, 2020, 02:25:44 am »
Same error here with 10534 on mac. Seems that haxelib isn't installed correctly, or that Stencyl can't find it. Something wrong with Project.xml? Anyway, it's beyond my abilities unfortunately.

3
Try copying the actual Stencyl app itself to the desktop (I mean the Stencyl icon), and then copying it back over the top of the one in your Applications folder (or wherever you run it from)

4
Game Art / Re: Huge 8-bit Style SFX pack
« on: June 19, 2019, 02:42:00 am »
I totally missed that last message, but in case anybody is wondering: attributing credits is entirely your decision.

Incidentally, the pack is now part of the itch.io summer sale. 50% off!

https://itch.io/s/18644/pack-of-1000-retro-sfx-now-50-off

5
Ask a Question / Re: iOS splash screens not scaling?
« on: May 26, 2019, 04:37:52 am »
Thanks, Justin - that's fixed it!

Worth also mentioning( to anybody else having the same trouble) that to get rid of the double splash screen problem, you just have to delete the app from the device, re-boot it, and install the game again. Sorted!

Thanks again

6
Ask a Question / Re: Layers in Events
« on: May 25, 2019, 09:33:07 am »
There is a block that allows you to specify the layer  on which the drawing routines work. If you have a separate background layer, try that.

7
Ask a Question / Re: iOS splash screens not scaling?
« on: May 24, 2019, 06:09:22 am »
Thanks for the reply, Justin. I can't send the game I'm afraid, but I can tell you that this happens with the template images generated by Stencyl.
My game is portrait mode, using the Scale to Fit (Full Screen) scaling mode. None of the splash screen scaling modes appear to work for me.

With the 'Stretch to Fit' mode selected in the splash screen options, I get the result shown in the attached image. It looks to me that the width of the splash screen template image has been stretched to 1920 pixels, but it hasn't been stretched vertically. (This is just a guess, based on me comparing the resulting image with the original).

Thanks for the info about cached images, I had a feeling it was something like that. Hopefully this shouldn't affect other users then, but I'll send the build out for people to test.

Thanks again.

8
Ask a Question / iOS splash screens not scaling?
« on: May 20, 2019, 06:14:34 am »
Is anybody else having trouble with their iOS splash screens not scaling properly? I'm using the stretch to fit mode (only for the splash screen), but it seems to scale the image, keeping the ratio the same.
The template that Stencyl generates for iPhone is in the 19.5:9 ratio of the iPhoneX, so I need it to squash down for other phone screens. Not ideal, but it will be ok for a splash screen that only appears very briefly. At the moment, though, it doesn't stretch the image as it should. (This is for a portrait orientation game - not sure if this is the case in landscape).

It also seems to have a habit of keeping the old image in the build, even though you specify a new one in the editor, and sometimes even displays two splash screens one after the other when in-game! Could be related?

9
Yep, good point. I’d be interested to see what you come up with!

10
Yep - fair enough. I think that somehow shaping/filtering the signal a bit before the FFT analysis is probably the way to go - to get around the limitations of the mic input, and any background noise going on. Good luck with it!

11
Great stuff! I've managed to get this working, and it does seem to be picking up some signal from the mic. The decibel level seems to be working, however, the frequency numbers are pretty erratic! Is there a (fairly) easy way of filtering the input so that it's only analysing sound over a given frequency? I noticed there is mention of a low pass filter in the code, but a high-pass would be very useful too - to eliminate the effects of low rumbly sounds. (Maybe this is why the numbers are erratic?)

Also, I spotted that the output sound levels on iOS are very much reduced once the mic has been activated - even when the recording has stopped. This doesn't seem to affect the Android version though.

thanks!

12
Extensions / Re: Extension Creators : ios PLIST file
« on: May 16, 2019, 09:21:39 am »
Ah. Just realised I need to add the <template path="../../lime-templates" /> in the Advanced OpenFL settings page.

It's working now.

13
Extensions / Re: Extension Creators : ios PLIST file
« on: May 16, 2019, 08:30:54 am »
Oh, yes. I'm on a mac. When I say "I don't use Xcode" I mean, I never export Xcode projects - just compile "inside" Stencyl.

14
Extensions / Re: Extension Creators : ios PLIST file
« on: May 16, 2019, 02:50:42 am »
I'm having a try with this at the moment. I've installed the microphone extension, and tried to build it using these modifications.
I've copied the  {{app.file}}-Info.plist from StencylApplicationDirectory/plaf/haxe/lib/lime/lime/templates/ios/template/
to
 /templates/iphone/PROJ/
(in the Microphone sub-folder in my engine-extensions folder)
I renamed the old plist file already in there and then renamed the {app.file}} one to PROJ-Info.plist   (is this correct??)

Then I added the code to allow the access to the mic to the bottom of this plist.
I looked for the include.xml file - (I'm assuming it's the one in the top level of the Microphone directory?) and saw that there was already a line about  setting the template path
        <template path="templates" />
Nevertheless, with or without this line, I get an error referencing a folder that doesn't exist on my computer (C:/Users/Justin....). (Errors pasted below...)

Please note that I'm not using Xcode at any time - just using a text editor (BBEdit) to modify the PLIST

I'd appreciate some help here - would be great to get this extension working properly!

Thanks.

jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/error.gif   false   ERROR   1557999588886005380   stencyl.sw.app.tasks.buildgame.GameBuilder   Failed: Running iOS. (Return code: 1)
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588875005378   stencyl.sw.util.StreamGobbler   [haxelib] Uncaught exception - Unexpected 'false'
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588875005377   stencyl.sw.util.StreamGobbler   [haxelib] Called from C:\Users\Justin\dev\eclipse\Stencyl\plaf\haxe-std\std/haxe/Template.hx line 86
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588875005376   stencyl.sw.util.StreamGobbler   [haxelib] Called from a C function
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588874005375   stencyl.sw.util.StreamGobbler   [haxelib] Called from C:\Users\Justin\dev\eclipse\Stencyl\plaf\haxe-std\std/haxe/Template.hx line 52
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588874005374   stencyl.sw.util.StreamGobbler   [haxelib] Called from hxp/System.hx line 240
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005373   stencyl.sw.util.StreamGobbler   [haxelib] Called from hxp/System.hx line 289
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005372   stencyl.sw.util.StreamGobbler   [haxelib] Called from a C function
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005371   stencyl.sw.util.StreamGobbler   [haxelib] Called from IOSPlatform.hx line 711
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005370   stencyl.sw.util.StreamGobbler   [haxelib] Called from lime/tools/PlatformTarget.hx line 109
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005369   stencyl.sw.util.StreamGobbler   [haxelib] Called from CommandLineTools.hx line 730
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005368   stencyl.sw.util.StreamGobbler   [haxelib] Called from CommandLineTools.hx line 146
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005367   stencyl.sw.util.StreamGobbler   [haxelib] Called from a C function
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005366   stencyl.sw.util.StreamGobbler   [haxelib] Called from CommandLineTools.hx line 25
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005365   stencyl.sw.util.StreamGobbler   [haxelib] Called from CommandLineTools.hx line 2084
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999588873005364   stencyl.sw.util.StreamGobbler   [haxelib] Called from ? line 1
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999587931005363   stencyl.sw.util.StreamGobbler   [haxelib] Running command: UPDATE
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999586895005362   stencyl.sw.util.StreamGobbler   [haxelib] Reading Lime config: /Users/guy_cockcroft/stencylworks/prefs/.lime_config.xml
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999586895005361   stencyl.sw.util.StreamGobbler   [haxelib] Using project file: project.xml
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999586895005360   stencyl.sw.util.StreamGobbler   [haxelib] Initializing project...
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999586894005359   stencyl.sw.util.StreamGobbler   [haxelib] OpenFL Command-Line Tools (8.7.0-LmSvzX)
jar:file:/Applications/Stencyl-full-b10331/sw.jar!/res/logview4j/images/info.gif   false   INFO   1557999585856005258   stencyl.sw.app.tasks.buildgame.GameBuilder   Building game with arguments: iOS, TESTING

15
Extensions / Re: FMOD Studio Extension
« on: May 14, 2019, 07:58:25 am »
Amazing! Can't wait to try that out.

Pages: 1 2 3 ... 7