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

Pages: 1 2 3 ... 8
Have you tried the clean project files (or some such) from the top menu?

The log  files seem to refrence to objects (images) that are no longer available.

Like this one: Source 'C:\Users\User\AppData\Roaming\Stencyl\stencylworks\games\Juan Byahero\outer-joystick@4x.png' does not exist

Ask a Question / Re: How to fix HTTP Request error?
« on: December 31, 2018, 12:08:41 am »
Have you allowed the flash-component to query/connect to external sources.
Somewhere in the flash control panel, you can control those things.

Maybe info from here will help you?

Ask a Question / Re: How to repeatedly shoot while button is held down
« on: December 12, 2018, 01:00:39 am »
Is there a problem that this keeps on creating new threads every 1/60 second?
One needs to be careful when using timed-delays.

Maybe just create custom event for key-pressed (and released), which triggers the loop (which has the delay in it).
So you can be sure, that only one thread is created.

Ask a Question / Re: Dynamic Lighting
« on: September 02, 2018, 09:37:31 am »

Ask a Question / Re: Chest Randomizer
« on: July 28, 2018, 09:07:04 pm »
Create a list which contains your actor types.
Then create random number based on number of items in the list.
Create the actor based on the above random number and then remove this item from the list.
(so the list size is now smaller, and doesn't contain that element/actor anymore)

Ask a Question / Re: Next Level Button
« on: June 21, 2018, 01:08:00 am »
I created an event, in which I check to which level to change next. Like this.
(my levels are named like: level_xxx , in which the numbers go from 000 to 999 )

Ask a Question / Re: Getting pinball flippers to push ball
« on: April 16, 2018, 05:52:54 am »
NEVER use timed-loops inside 'when updating' method.
(you just end up in big mess, since that 'when updating' is done 100 times a second and chance of getting multiple delayed actions (uncontrolled code branching) is highly likely)

Better use custom triggered events in general.

For key-press/releases, just use them in their own events. Which then trigger custom events.
( Like: move paddle up, stop padlle, get paddle current speed, move paddle down )

Ask a Question / Re: Getting pinball flippers to push ball
« on: April 15, 2018, 10:53:35 pm »
On the released event, move the "set flipper up to 'false' " above the "do after". Just like you have done for the pressed event.
How do you handle the event, when user presses the button key, while the flipper is still moving between positions (either up or down)? Do you stop the current movement?
Something like, if actor has turning speed, stop it, and then start the new turning.

Ask a Question / Re: How can I change Stencyl's screen proportions?
« on: December 28, 2017, 10:22:16 pm »
or use zoom + and - buttons

If you use actor attributes (for example: boolean editable) for those un-editable cells, then it is easy to check if this actors internal parameter allows editing or not.

You would set the value of this actor attribute when you create the actors. Then you do not need to maintain any arrays for this info.

Extensions / Re: [HTML5] Leaderboard in Google Spreadsheet
« on: March 30, 2017, 11:14:29 pm »
This looks to be VERY useful. Thank you!

Ask a Question / Re: Moving from Win to Mac
« on: March 14, 2017, 07:17:27 am »
Just do an export of the game on Widows-side  and import on the macOS-side. Everything moves nicely between systems.

Ask a Question / Re: Provisioning problem when running xCode 8.1
« on: March 08, 2017, 10:28:38 am »
I was facing similar issues, after the whole OS upgrade.,50896.0.html

In the end, I got things working, when I created an empty Xcode game-project and that was using automatic signing.
I saw one additional application being created into, but after that also the Stecyl builds started working.


Stencyl build 9300
Xcode version 6.2 ( 6C131e ) - latest that the MacOS supports
MacOS is 10.9 .5 Mavericks

Any idea why building on iOS fails due some  GoogleMobileAds issue?

2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] Undefined symbols for architecture armv7:
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib]   "_OBJC_CLASS_$_SFSafariViewController", referenced from:
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib]       objc-class-ref in GoogleMobileAds(flat-armv7)
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] ld: symbol(s) not found for architecture armv7
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] clang: error: linker command failed with exit code 1 (use -v to see invocation)
2017-03-07 21:22:41,156 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] ** BUILD FAILED **

--clip ends---

Similar issues reported here:

Is it so that I need more recent Xcode, which would include iOS 9.0 SDK (which has the SafariViewController) ??
Later.... Now upgraded into 10.12.3 and getting the latest Xcode v. 8.1.2 , hopefully this will give better results.

Even later:  After recreating the certs etc.... I can now build succesfully iOS code again.
Note: I had to make a dummy/empty Xcode project first to get application provisioning profiles working from Stencyl.

Chit-Chat / Re: good news everyone....
« on: March 06, 2017, 09:53:03 am »
Will this mean that we could use Firebase Analytics with applications created with Stencyl?
(There seesms to have been a Firebase plugin at some point, but that was not meant for analytics)

Pages: 1 2 3 ... 8