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 - Squirrel Lord

Pages: 1 2
1
What other items are on the effected layers?
Are the effected layers alternating,  and are the same layers effected every time- or do the effected ones change?

Any more detail would be fantastic...

2
Abandoned Bugs / Re: 3.3 killd my game folder?
« on: March 26, 2015, 04:41:05 am »
Thanks Ceosol, this is my first time upgrading, and I never new about uninstalling them.
How do you change the target directory for Stencyl? (if I wanted a StencylWorks 3.2 and StencylWorks 3.3) ?

3
Abandoned Bugs / Re: 3.3 killd my game folder?
« on: March 25, 2015, 04:38:43 am »
Uninstall... Like, Stencyl 3.2?
no.   
oops.

If i do that now, might that fix it?
Should I uninstall both, and then re-download 3.3?

4
Abandoned Bugs / Re: 3.3 killd my game folder?
« on: March 24, 2015, 05:30:10 pm »
Logs attached. Thanks for looking into this!

5
Abandoned Bugs / 3.3 killd my game folder?
« on: March 24, 2015, 04:53:19 pm »
So... I downloaded new stencyl and launched.  All of my games loaded up fine and I converted my current work in progress to 3.3

But they do not run.
I checked my non-upgraded games, and they run fine on 3.2

I also created a new game, but it had the same issue.

After doing a bit of compiling, the status bar  closes.
I checked the logs, the message is below

Thanks for any help!
--


Level:     ERROR
When:      2015-03-24 19:51:20:437
From:      stencyl.sw.app.filewatcher.ExternalAppLauncher

Source '/Users/julianbernard/stencylworks/games-generated/BirdsEye/Export/flash/bin/BirdsEye.swf' does not exist


Throwable: java.io.FileNotFoundException: Source '/Users/julianbernard/stencylworks/games-generated/BirdsEye/Export/flash/bin/BirdsEye.swf' does not exist
   at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1074)
   at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1038)
   at stencyl.sw.app.filewatcher.ExternalAppLauncher.runSWFInBrowser(ExternalAppLauncher.java:509)
   at stencyl.sw.io.write.resource.HXWriter$3.done(HXWriter.java:403)
   at stencyl.sw.util.Util.runCommand(Util.java:443)
   at stencyl.sw.io.write.resource.HXWriter$2.doInBackground(HXWriter.java:357)
   at stencyl.sw.io.write.resource.HXWriter$2.doInBackground(HXWriter.java:277)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at javax.swing.SwingWorker.run(SwingWorker.java:334)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)

6
You can try running in-browser (not flash-debugger) as sometimes the latter has bugs with ram allocation.

7
Ask a Question / Re: Spawn random actors on platforms
« on: March 09, 2015, 02:49:25 pm »
I would do something like this:

In the behavior for the platforms, I would have the platforms generate a random number between 1 and 10, then assign that value to "spawnChance"
Then an if statement, to evaluate spawnChance

When created:
     set [spawnChance] to (random number between [1] and [10])

if [spawnChance] = [10] (
    trigger event [spawnGreenSlime] in all behaviors for self
)


Next, add a trigger event (under advanced> custom event) and do this:

when [spawnGreenSlime] happens (
    create [GreenSlime] at x: [x-center of self], y: ([y-center of self] - [heightOfGreenSlime])
)




8
Ask a Question / Text Input SF Behavior
« on: March 05, 2015, 05:22:49 am »
A question about the "Text Input" behavior on Stencyl Forge:

When I test my game, having just recently downloaded the behavior, I receive this error:

flash.#Lib has no field stage

this is the code that comes with the behavior, which Stencyl has  a problem with:

Lib.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);

Thanks everyone, for any suggestions you can give me!


9
Ask a Question / Re: How to freeze a game when player's out?
« on: March 04, 2015, 05:55:04 pm »
You could also move the code that in not running to a scene behavior, and trigger it with a
"Trigger event {END GAME} in all behaviors for this scene"
In my understanding, a paused game still updates scene code (Basically meaning scenes can not be "paused").

10
Ask a Question / Re: Scene Switching Issue, Please help, I'm new
« on: March 04, 2015, 05:51:35 pm »
I am having the same problem, so here it is more clearly.

My game has  a "Start screen" , where you can select characters, see leaderboards, adjust settings, ect.

When i test the game from the test game button, and load various levels based on user input, the actors  hand-placed in my scenes spawn semi-randomly around where they appear on my scene-builder window.

If I test a scene individually, from the test scene button, they spawn exactly where I placed them.

11
Ask a Question / Re: Spawning coins
« on: February 27, 2015, 06:14:57 pm »
Travis is right. For a more detailed explenation:

Every {spawn coin time} seconds
--Set {LANE} to random number between 1 and 3.

If {LANE} =1
--Draw {COIN ACTOR} at {Lane 1 X} {Lane 1 Y}

Otherwise If {LANE} =2
--Draw {COIN ACTOR} at {Lane 2 X} {Lane 2 Y}

Otherwise If {LANE} =3
--Draw {COIN ACTOR} at {Lane 3 X} {Lane 3 Y}

12
All you need to add to your above behavior is a "Switch to scene {Game Over Scene}" when the actor dies for a second time.

I would rename your game attribute deaths, just to make it clearer, but that is up to you.

13
Bug Archives / Re: Broken game
« on: February 24, 2015, 04:29:49 pm »
"TypeError: Error #1009: Cannot access a property or method of a null object reference."

You have an attribute with no value somewhere, I think.
Check through all of your behaviors, and make sure all attributes have an assigned value.

You may also have a reference to a control that has not been created in your backup game....

14
Bug Archives / Re: "Unexpected Problem"
« on: February 24, 2015, 04:27:31 pm »
I have been getting this error message a lot, but my game still runs fine. Sorry, I do not know what to do to fix it. The "null" part may mean that you have a variable without a value somewhere.

Are all of your behaviors completely filled out with attribute assignments?

15
Game Art / Re: What programs do yall use to make yalls art?
« on: February 19, 2015, 01:55:40 pm »
I found a FANTASTIC program for creating Pixel (and other) art. This program can run in-browser and be dowloaded, with same functionality. It supports layers, as well as darkening/lightening pixels with a touch, and most importantly, it has very good handeling of frames, with exports as on PNG with frames side-by-side, an animated GIF, or each in its own image with a numbered index.

www.piskelapp.com

Pages: 1 2