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

Pages: 1
1
Dialog Extension / 3.4 beta 4 Update issue
« on: September 30, 2016, 02:52:15 am »
Upon updating to 3.4 beta 4 I encounter the following error when attempting to activate a dialog ingame:

Code: [Select]
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData/ctor()
at flash.display::BitmapData()
at dialog.util::BitmapDataUtil$/getPartial()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/util/BitmapDataUtil.hx:122]
at dialog.util::BitmapDataUtil$/getScaledPartial()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/util/BitmapDataUtil.hx:178]
at dialog.util::BitmapDataUtil$/get9Scaled()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/util/BitmapDataUtil.hx:84]
at dialog.core::ScalingImage/setSize()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/core/ScalingImage.hx:40]
at dialog.core::DialogWindow()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/core/DialogWindow.hx:48]
at MethodInfo-5780()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/ext/DialogBase.hx:77]
at dialog.core::DialogBox/runCallbacks()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/core/DialogBox.hx:652]
at dialog.core::DialogBox/beginDialog()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/core/DialogBox.hx:267]
at dialog.core::Dialog$/cbCall()[/Users/andrewsantos/Desktop/stencylworks/engine-extensions/com.polydes.dialog/src/dialog/core/Dialog.hx:126]
at MethodInfo-9439()[Source/scripts/Design_278_278_Dialog.hx:105]
at com.stencyl.models::Actor/innerUpdate()[/Users/andrewsantos/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/Actor.hx:1512]
at com.stencyl::Engine/update()[/Users/andrewsantos/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2478]
at com.stencyl::Engine/postUpdate()[/Users/andrewsantos/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2617]
at com.stencyl::Engine/onUpdate()[/Users/andrewsantos/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2610]

At certain scaling sizes it seemed to work a few times, but now I can't seem to even get that. Help is greatly appreciated.

2
Ask a Question / Everything Broke, and Settings Won't Open
« on: September 29, 2016, 09:08:33 pm »
I just got back into working on my game after months of a hiatus, and decided to download the newest version of Stencyl and run my game it... of course, everything broke, and when I tried to go back and open my game in my pervious version of Stencyl, it was then broken there too, and now that pervious version of Stencyl won't allow me to open "Settings", and also  gives me the "Ouch" "Unexpected Problem" error whenever I open any current or even newly created games... g the details there are:

Unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
   at stencyl.sw.editors.game.mobile.MobilePage.save(MobilePage.java:1967)
   at stencyl.sw.editors.game.mobile.MobilePage.<init>(MobilePage.java:220)
   at stencyl.sw.editors.game.GameSettingsDialog.load(GameSettingsDialog.java:165)
   at stencyl.sw.app.tasks.OpenGameTask$3.run(OpenGameTask.java:271)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


I am attaching my logs, please help! I might have to continue to work on and finish my game in a previous version of Stencyl, since so many things seems to completely break with the update. Thanks all, my own fault here of course.

My previous Stencyl version was 8734, and tonight I downloaded and ran 9180.

3
Dialog Extension / Scaling Issue
« on: March 28, 2015, 09:35:34 am »
I just got up to speed with this extension after the 3.3 update and everything,  and it just keeps getting better! I did come across an issue I am having with my game in regard to the scaling image. So, I have a simple 32x32 black box with a 1px white inner border, and I notice that depending on what scale I run my game on (1x, 2x, 4x, etc) the scaling image also increases the size of the 1px border  multiplied by the upscaling set in the game settings. So, if I run the game at 4x, the 1px border on the scaling image is now 4px, or if I run at 2x, it is now a 2px border, etc. It there a way to keep this multiplication from happening?  Let me know if this makes sense or if further clarification is needed. Thanks a lot!

4
Ask a Question / Blink when hit
« on: March 08, 2015, 04:36:51 pm »
So I haven't worked in stencyl in a while and I just can not figure this out, even though the solution might be very simple... I am trying to make it so my player actor , when hit by an enemy, flashes repeatedly while he is invulnerable, until he is able to be hit again. The only part I can't figure out is how to get the visual of the flashing to work. I have tried some "do every" and "do after" stuff to try and have two states to go back and forth between, like "Opacity=40%" then "Opacity=80%", until the invulnerability time ends, but can't get it to work correctly.  Help? My brain is just not working right now.

5
Ask a Question / 3.1 to 3.2 game transfer error
« on: December 14, 2014, 10:37:45 am »
Trying to transfer my game built in 3.1 to 3.2, but get this "Unexpected problem" error when the game opens:

Unexpected problem on thread AWT-EventQueue-0: stencyl.sw.util.Locations.getGameDirectory(Lstencyl/core/lib/Game;)Ljava/lang/String;
java.lang.NoSuchMethodError: stencyl.sw.util.Locations.getGameDirectory(Lstencyl/core/lib/Game;)Ljava/lang/String;
   at DialogExtension.onGameOpened(DialogExtension.java:191)
   at stencyl.sw.actions.Actions.gameOpened(Actions.java:825)
   at stencyl.sw.app.tasks.OpenGameTask$3.run(OpenGameTask.java:285)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

When I looked at the log viewer I got two errors:

1:

Level:     ERROR
When:      2014-12-14 13:32:33
From:      stencyl.core.lib.Game

/Applications/Stencyl-full/data/snippet-categories/categories.xml (No such file or directory)

Throwable: java.io.FileNotFoundException: /Applications/Stencyl-full/data/snippet-categories/categories.xml (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:120)
   at java.io.FileInputStream.<init>(FileInputStream.java:79)
   at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
   at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:650)
   at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:779)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:744)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:128)
   at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:233)
   at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:287)
   at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
   at stencyl.sw.util.FileHelper.readXMLFromFile(FileHelper.java:513)
   at stencyl.core.lib.io.IOHelper.readXMLFromFile(IOHelper.java:151)
   at stencyl.core.lib.Game.loadCategories(Game.java:2150)
   at stencyl.core.lib.Game.<init>(Game.java:1742)
   at stencyl.core.lib.Game.create(Game.java:788)
   at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:97)
   at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:36)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
   at javax.swing.SwingWorker.run(SwingWorker.java:316)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
   at java.lang.Thread.run(Thread.java:695)


and 2:

Level:     ERROR
When:      2014-12-14 13:32:36
From:      root

Unexpected problem on thread AWT-EventQueue-0: stencyl.sw.util.Locations.getGameDirectory(Lstencyl/core/lib/Game;)Ljava/lang/String;

Throwable: java.lang.NoSuchMethodError: stencyl.sw.util.Locations.getGameDirectory(Lstencyl/core/lib/Game;)Ljava/lang/String;
   at DialogExtension.onGameOpened(DialogExtension.java:191)
   at stencyl.sw.actions.Actions.gameOpened(Actions.java:825)
   at stencyl.sw.app.tasks.OpenGameTask$3.run(OpenGameTask.java:285)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


Help it appreciated!!!

Pages: 1