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

Pages: 1 2
1
Ask a Question / Re: Check if a certain sound is playing
« on: June 13, 2016, 12:55:25 pm »
Could you not just add what you need in the same block that starts the sound originally? I don't think there is anything specific for checking a specific sound. You would either need to manipulate it around when the sound starts/ends or you can check for the duration of the sound and get what you need with that number. I'm not sure what else to suggest without knowing more.

2
Dialog Extension / Re: [bug] Rename by changing case doesn't work
« on: June 03, 2016, 01:36:52 pm »
I just ran into this as well. Except mine was with controls. I changed my control names around and for most things it automatically updates, but with the dialog extension it resets everything to blank.
Which is fine because I can just set them back, except I changed my arrow key control names from (up, down, left, right) to (Up, Down, Left, Right) and the extension no longer recognizes them for choosing dialog options. I tried to close and reopen, and changing the names to something completely different like (Move Up, Move Down, Move Left, Move Right) and still wouldn't work until I changed the names back to original all lowercase.

I assume Justin you have this set by default to select the arrow keys, could a possible solution be to add a drop-down box to select those controls as well? Or am I overlooking this option somewhere? That would also be useful for games that use WASD or other controls to move, or would that fix be just naming that control to the all lowercase (up, down, left, right)? Either way I think it would be useful.

Also currently working off of Linux (Ubuntu 14.04) if that matters.

3
Ask a Question / Re: Music playing Issue - Windows/Linux
« on: May 31, 2016, 02:45:35 pm »
Yup, that did it. Thanks a bunch!

4
Ask a Question / Music playing Issue - Windows/Linux
« on: May 31, 2016, 01:30:02 pm »
The issue I'm having is only when I test my game in either Windows or Linux. Flash works great.
Stencyl version: 3.4.0 (beta3)

So have a trigger event in behavior block that runs in the create event for the scene. The event in the behavior checks if a new song should be played and which song based on what I selected for that scene. Unfortunately, no music plays.  :-\

I tested just playing the music when the scene is created and that works, but the setup I have allows me to set the music for the scenes easier as well as easily allow a "loop song" to play right after the "start song" within the same behavior.  I also added print to console blocks to the behavior and it seems the event is never triggering in Windows/Linux. So can I not run a trigger event block on a create event? If not, could anyone give me another solution for the outcome I want? Thanks!

5
Resolved Questions / Re: Windows Compiling Issue
« on: May 30, 2016, 09:11:54 pm »
I originally thought this was an atlas issue, thought I checked everything was fine. Turns out I just disabled the atlas for all scenes haha. All the visuals are back and things seem to be running as expected. However the music I have set to start when the scene is created still doesn't play on the Windows platform, but does in Flash and it is in the correct atlas.

I have a slightly weird setup for how the sound starts, I'm not sure if that could cause an issue between the platforms? When the scene is created it triggers an event in a behavior for the scene, which checks if it should play music and which song. This is also important because I have a "loop song" that plays after the "starting song". Would this cause any issues on Windows? Thank you for the help as always! Can always count on you to come to my rescue haha

6
Resolved Questions / Windows Compiling Issue (Atlas issue - Solved)
« on: May 30, 2016, 03:14:33 pm »
My issue is that my game will not compile correctly on the Windows platform. Everything works great in Flash, but when I try to compile to windows only my actor (player) is shown surrounded by the background color for that scene. The background image and tiles don't appear, and the other actors seem to be just one tile big white squares. Collisions are still there for the tiles and actors and  one of the "white square" actors move automatically like it is supposed to. I can enter door regions and scenes transition still so this appear to be only visual compiling issues? No error logs are generated when the game compiles either.

I'm on Windows 10 running the latest 3.4.0 beta 3 version of Stencyl. I tried to install the last Visual Studio 2015 and the Common Tools for Visual C++ 2015 suggested in this post: http://community.stencyl.com/index.php/topic,47294.0.html then I restarted and tried again with no success.

Further information: This seemed to happen slowly, because yesterday when I tried to compile to windows everything appeared correctly I just noticed the music did not start playing when the scene was created like it does in flash, and also a group tiles from a new tilesheet were not appearing in another scene. Then today it just started with everything not appearing visually correct. I'm currently downloading Visual Studio 2015 on another computer to test if it could be an issue with just my computer or if it's actually a stencyl issue.
I attached two screenshots of the game compiling in Flash and in Windows. Please let me know if you have any suggestions.

7
Ask a Question / Re: Game is crashing transitioning scenes
« on: May 09, 2016, 05:17:24 am »
Oh, I understand now. Thanks!

8
Ask a Question / Re: Game is crashing transitioning scenes
« on: May 08, 2016, 08:12:38 pm »
Great! That fixed it! That is super bizarre though. I don't have a clue how I managed to attach a scene event behavior to my actor... I wish I could duplicate it to give you more information. At the time I noticed the error the only thing I was working on was regions in the living room and in the kitchen scene. The only other thing that was changed was sound files being renamed/deleted. So it's even more weird that an event from the Hallway got attached when at the time I don't believe I made any changes to that scene. Also, why would the error not occur when entering the house into the living room scene, since the living room has a "created" event as well?

Anyway, thank you so much for your help! I'll be paying closer attention to every change and action I do so if something else like this happens I'll be able to give you more details. Thanks again!  :D

9
Ask a Question / Re: Game is crashing transitioning scenes
« on: May 08, 2016, 12:13:55 pm »
Of course, I understand! Thank you.

10
Ask a Question / Re: Game is crashing transitioning scenes
« on: May 08, 2016, 08:08:16 am »
I sent it to you, are you able to repeat the error?

11
Ask a Question / Re: Game is crashing transitioning scenes
« on: May 08, 2016, 06:30:27 am »
Sorry, how can I post my game so only you can see it?

12
Ask a Question / Re: Game is crashing transitioning scenes
« on: May 08, 2016, 06:09:35 am »
Error: Error #1023: Stack overflow occurred.
   at flash.display::DisplayObject()
   at flash.display::Bitmap()
   at com.stencyl.graphics::BitmapAnimation()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/graphics/BitmapAnimation.hx:36]
   at com.stencyl.models::Actor/addAnim()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:887]
   at com.stencyl.models::Actor()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:527]
   at com.stencyl::Engine/createActor()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:1813]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2234]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]
   at com.stencyl.behavior::Script$/createRecycledActorOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1714]
   at scripts::SceneEvents_7/init()[Source/scripts/SceneEvents_7.hx:89]
   at com.stencyl.behavior::Behavior/initScript()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:97]
   at com.stencyl.behavior::BehaviorManager/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:105]
   at com.stencyl.models::Actor/initScripts()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:904]
   at com.stencyl::Engine/createActorOfType()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2235]
   at com.stencyl::Engine/getRecycledActorOfTypeOnLayer()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2204]

13
Ask a Question / Re: Game is crashing transitioning scenes
« on: May 07, 2016, 07:36:36 pm »
Forgot to attach my logs.

14
Ask a Question / [Solved] Game is crashing transitioning scenes
« on: May 07, 2016, 07:35:55 pm »
I'm getting a stack overflow error. What happens is I have code blocks setup to enter a house and then basically the same blocks set to enter a different room in the house. Entering the house works fine, but going into the other room or trying to return to the previous "outside" scene crashes the game. I had this working fine, and I don't believe I changed anything. The only notable thing I did to the game since the last time it worked was delete/rename some sound files, but none of the scenes are using those sound files. 

The first picture is the code for entering the house, and the second is entering the kitchen.

15
Bug Archives / Background images have to repeat?
« on: May 04, 2016, 12:22:15 pm »
I'm trying to use a background image instead of having to create a large tileset for rooms inside a house. I have a large background image (2240x1600) and I created a scene with the same dimensions. My screen size is set at 1280x800. When I test the scene my actor doesn't start where I placed it and trying to control it runs in to what seems like invisible walls.

However, when I enable to repeat the background it works fine. Does my screen size matter in this case, and why would the background need to repeat if it's the exact same size as my scene?

Pages: 1 2