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

Ask a Question / Re: Scaled collision shape info
« on: October 16, 2016, 09:11:20 am »

iPhone / iPad / Android / Re: Zapion [iOS / Android]
« on: June 26, 2016, 11:46:27 pm »
Hi mdotedot,

Thanks for constructive feedback!
Indeed I tried to make it quite hard (so it would last longer). But, as you said, maybe the first few levels should be more easier/simpler.

As for the aiming. I first tried doing the power&gun positioning with one drag&drop, but then you would loose the position of the gun when doing a new aiming/power_control. So I thought, maybe it is better to let user first roughly find the good position for the gun and then fine tune the power level and aiming.

I'll take a look at how to help use see the aim again more intuitively.

As for tutorial, this was my first try in creating a interactive tutorial. I'm not totally pleased with it.
Easier way would just to a bunch of images, but that takes too much space (adding 10 screen captures) on the application.
If I would find an easy way to show video from internet (youtube) on both Android and iPhones, then maybe that would be the simplest way. Then there would be no 'interactive' tutorial to build, just view tutorial video.

iPhone / iPad / Android / Zapion [iOS / Android]
« on: June 02, 2016, 05:39:35 am »

This little puzzle game finally got ready. Try to shoot an ion into the target.
Opposite charges attract each other and same ones repel the one and other.
(blue and orange represent the charge types...)

Game is meant to be a kind that you can play minute or two, when between things and nothing new in whatsapp...
Youtube video:

And links to actual application:

You can change the position of the zapper, change its charge type and finally adjust the zapping power.

Pages: 1 2 3 ... 8