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.

Topics - Blacksmith

Pages: 1 2
Can I detect if external music (e.g. iTunes) is already playing when the game starts/resumes?
Can I allow that music to continue playing? (I would turn off the game music.)

Some games do this:  Philosopher's Stone, Cosmos.
I care mostly about iOS. Thanks.

Resolved Questions / Multiple compile/build errors
« on: October 31, 2014, 06:57:19 pm »
I'm running 3.1 7305.
The game is working fine and then all of a sudden over five consecutive builds Stencyl gives me a different error (see below). Then the game works, then more errors. Very erratic behaviour. (And re-installing v3.1 didn't resolve it.)

There are no errors in the code that is referred to in the pics. They have been untouched in weeks. (And yes I did check each time just in case.)

Getting generic errors has happened in the past and somehow I got out of it with wasted effort and with no understanding. Forum threads tend to focus on specific coding errors (null actors, missing parameters, etc) than generic and random errors.

I just reinstalled version 3.1 and the problems persists. (This is not a 3.1 issue, it has happened to me periodically all the way back to v2.) I've attached log files just in case.

Have others seen this? Is there anything that causes this, or is it random corruption of some file? Anything to protect against it?
Thanks for your help.

I'm not sure if this is a bug but Settings:Atlases would not let me see what my Main Atlas looked like.

I could choose among four Atlases (Main Atlas, Atlas 2, Atlas 3, and Atlas 4). Each one showed the ID, Name, Load initially option, and nothing else.

I presume I haven't loaded beyond the main atlas. But I'd still like to see it.

Stencyl Jam 14 / Breakneck (new version)
« on: March 30, 2014, 07:09:28 am »
Breakneck is a demo for an upcoming game featuring tricked out trucks, killer aliens and stolen loot. All you need is two fingers to become a hero. 'M' to speed up (or click anywhere). Friction will slow you down. 'Z' to tilt the gun up, gravity will bring it down.

This is version 2. We aren't trying to re-submit. The unfinished original was uploaded about 5 minutes before the deadline on March 28th. We spent an extra 8 hours to make it playable. If you tried the original, it's worth a re-play.

YOU CANNOT AIM DIRECTLY! That's the point. Heck, the alien saucer is always in the corner. That would be too easy. Consider the truck angle and bumps as you try to aim.
This is still just a demo that is missing non-gamplay features, like a star rating system for levels.
All constructive comments are appreciated.

Ask a Question / Can you export/import tile collision shapes?
« on: March 26, 2014, 08:50:10 pm »
I want to transfer 54 tiles to another project, but the custom collision shapes aren't transferring with the tile images.
I exported the tile set, and also sent it to Stencylforge without success. Suggestions? Otherwise it is many hours of work. 

Beginners: I just gained 12fps by using the browser/player (60 fps) instead of the debugger (48fps). Yes there are a few posts in the forums on this, but I thought some people might benefit from my observations. (Stencyl 3, MacBook Pro 2.3 Ghz i5, 8GB).

In my system, when using the debugger (but not the player/browser):
* Just holding a key down drops by 12fps. (even if you have 0 controls in place). See comparison of event codes in blocks.
* Just moving the mouse around drops by 30fps (even if there are no mouse events/checks).
* I had the same 12fps result whether I ran my full game (50 Mb stencyl file, 6.4Mb Flash) or the super minimalist version (0.5 Mb Flash).

So before spending 12h debugging your code because it's slow, try it in the Flash Player first.
Does anyone know why this is, and/or a way around it?

Old Bugs (3.x) / Stick joints: Actors move
« on: March 02, 2014, 07:40:36 am »
Essentially, a stick joint and attached actors shift starting locations compared to scene designer. See DEMOS in thread link below.

1) An actor (with a stick joint) that "cannot move" will shift as if its point of origin is bottom right. The joint does not shift.
2) The actor in #1 will also affect the actor it is joined with that has no movement restrictions. In that case, actor #2 shifts as if its point of origin is bottom centre.
3) An actor (with a stick joint) that "cannot be pushed", behaves as expected and does not affect the joined actor.

Topic initially started here:,29494.msg169149.html#msg169149
Topic should have been in this thread instead. Sorry. LOTS more detail and images and demo files in the other thread. Thanks.

Ask a Question / Stick joint bugs. (Cool demos!)
« on: March 01, 2014, 10:16:08 pm »
BUG: The actors connected by stick joints are in a different location in the published game than in the scene designer.  (See screen shot below showing scene designer and flash output. The 'x' is supposed to be in the centre of the brick.)

QUESTION: The stick joint has three adjustable attributes available in the scene design editor:
1) Should actors collide? Y/N
2) Damping: None (0.0) to Critical (1.0)
3) Stiffness: Stiff (0) to Loose (60)

What do these adjust?
I have spent about 4 hours creating demos with results virtually identical.

DEMO SCENE 1: pendulum with a single joint between a falling weight and a fixed point (the 'x'). The red half-circles are for visual comparison only, no collision. The four examples are the extreme cases for the first two attributes above. Damping seems to have no effect at all. Stiffness seems to have a very minor effect. I checked colliding actors separately with no change either.

PS: Here is the scene designer to show that the brick is in a different place than in the flash output shown above. (The wheel starts in a different place too.) Both actors have their points of origin as centre default.

DEMO SCENE 2: pendulum with a simulated 14 link chain and a weight. This one drops before it starts to swing. I thought the combined effect of 14 joints would show a difference with the Damping and Stiffness attributes. But alas no such luck. I checked colliding actors separately with no change either.

Feel free to modify the demo attached to do your own investigation. I would love to know where I've gone wrong. (I tried changing gravity without luck.)

If you run the Flash file, press R to reload the scene and 1 or 2 to switch scenes. Please let me know if the Flash and/or Stencyl files don't work.

Thanks for your help.

Resolved Questions / Ragdoll sample app missing? [SOLVED]
« on: February 25, 2014, 03:26:37 pm »
I can't find the Ragdoll test app on Stencylforge.
I want to learn about joints. I assume this is the best example available.

Ask a Question / Can't install v3 or v2.1 Help!
« on: September 14, 2013, 07:24:08 pm »
I downloaded/installed v3 and v2.1 a half-dozen times over 3 hours this evening on a Macbook (2006). Stencyl always quit on launch after one bounce. Is this related to server issues? Can anyone help? (I'll try again tomorrow.)

FYI, Apple Genuises erased the Macbook and installed Snow Leopard 10.6.8. I installed Firefox no problem. Could also be user error, my mac experience is limited. Thank you.

Chit-Chat / Can two Stencyl programmers create a game simultaneously?
« on: September 09, 2013, 09:51:40 am »
Assume you are in a 48h contest. Can two Stencyl programmers efficiently code simultaneously?

Behaviors can be exported, while final scenes must be in the master file (they can't be exported right?). Designing levels on "paper", designing scenes, and coding behaviors can work separately, but not all genres can be cleanly divided.

If you must code simultaneously, would it work? What would your process be like? Indicate a genre and remember you only have 48 HOURS!

I'm entering a 48-hour competition where teams self-form on the spot. Should I ask for AS3 programmers on that day? They'll likely be semi-experienced in AS3 and a newbie in Stencyl.

Can they get up to speed within a few hours so we can start integrating their code with my design mode blocks? Would they go anywhere besides ?

It's a broad question, but I've never used AS3 or the code blocks/mode. Also, is it true there's no iOS code mode?

-- Thanks, Csaba

Ask a Question / Can I read/write data to a Google Docs spreadsheet?
« on: August 22, 2013, 09:18:32 pm »
Several people maintain a 500 record Google Docs spreadsheet and add 4 new records weekly. We want our iOS app and/or Flash app to update its data set accordingly.

Can both app types access that Google spreadsheet directly?
Maybe you would suggest a different method?

I found Google's API and see java and .net only, unless I'm missing something (I'm not a programmer).

Thanks for any help, Csaba

(PS Keep up the good work with Stencyl 3.0, we all appreciate it. Took our team 7 years to finish the SW for our medical device so I understand the effort and time it takes to finish and squash bugs properly even if I can't do it myself.)

I'm curious, if you have a scene with four buttons (A-D), which is more efficient (frame rate)?
1) Four different events each is: If Mouse pressed down on Actor A, then...
2) One event, Mouse pressed down,
If A then...
Otherwise if B then...
Otherwise if C then...
Otherwise if D then...

Are there better ways of handling this? Does it matter if the actors are static/moving? What about for iOS?   Thanks.

Old Questions (from 1.x/2.x) / Microphone support
« on: February 23, 2013, 04:09:54 pm »
Couldn't find anything in the forums about microphone support in stencyl. (I just need for wind blowing simulation). Will this exist in v3?

Pages: 1 2