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

Pages: 1 2 3 4 5 ... 9
31
Ask a Question / Width/Height of Actor TYPE? -HELP
« on: July 06, 2015, 01:18:06 pm »
Hey guys,

I was just wondering if it is possible to get the proportions of an actor befor even creating it?

For example if you want to create the actor exactly in the middle of something, you would have to create him like that:
[create ACTOR TYPE at ( X - half width of ACTOR TYPE and  Y - half height of ACTOR TYPE) on layer with ID: 0]

Well you only can get the height/width of an actor, not an actor type. Is it possible though?

Thanks :)

32
Hey guys,

I wanted to do a few "Aura" Effects with the Image API but I can't seem to get it to work properly. I just want the Image Instance to ONLY be seen over the actor it is attached to or even better it should only affect 1 layer. What worked best me so far is the [set blend mode for <image instance> to (Overlay)] block wich nearly does what I want: Wrapping itself over what is behind it. But the problems came pretty quickly after I added a background since the Image instance will be visible on EVERYTHING underneath it, including backgrounds or other image instances, thus rendering the blend mode useless for me at the moment. Any ideas how to do it the right way?

If the question is unclear to someone, I will gladly provide pictures :)

33
Ask a Question / [Create Collision Box] does not collide? -HELP
« on: June 16, 2015, 12:14:58 am »
Hey guys,

I am currently struggeling with an actor and his collision boxes since (for the first time ever) the collision box does not scale (grow) with the actor. So I had to delete and recreate the box on runtime for it to have the right size but now it won't collide with anything? The Debug Drawing shows that the box is in fact there and looks like it is supposed to but still.
Any ideas how to fix any of the above problems? It would work for me if either the box would scale with the actor or collide when created on runtime :)

Here is the debug drawing and testing code:


34
Ask a Question / [For each Layer in Scene] block not working?! -HELP
« on: June 15, 2015, 01:19:32 am »
Hey guys I tried out the [For each Layer in Scene] block since I use this behaviour in multiple scenes and the layers are all named/numbered differently for each scene but it doesn't do anything. The layers are still visible, even if I add a little buffer of 0.1 seconds......any idea why it won't work? Thanks for the help :)

Here is the code I use:

35
Fixed Bugs (3.x) / Java Error When Opening Assets! -HELP
« on: June 05, 2015, 04:46:40 am »
Hey guys,

as you can see in this thread: http://community.stencyl.com/index.php/topic,41665.0.html I created a too big Global Costum Block and had to delete it again to fix the error.

Well... as soon as I create ANY new behaviours (actor or sceen) and restart Stencyl, the error is right back when I try to open something on my game until I delete the newly created behaviour. This is making it impossible for me to work and I can't simply delete the new behaviour since I have worked on it for the last 7 hours...

Here is the error again:
Code: [Select]
Unexpected problem on thread AWT-EventQueue-0: java.lang.IndexOutOfBoundsException: Index: 10, Size: 10
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 10, Size: 10
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
at stencyl.sw.app.tasks.OpenResourceTask.done(OpenResourceTask.java:88)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IndexOutOfBoundsException: Index: 10, Size: 10
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at stencyl.sw.editors.snippet.designer.Definition.parseForGUIStart(Definition.java:865)
at stencyl.sw.editors.snippet.designer.Palette.createAndAddElement(Palette.java:2137)
at stencyl.sw.editors.snippet.designer.Palette.createCustom(Palette.java:837)
at stencyl.sw.editors.snippet.designer.SubcategoryListing.addButton(SubcategoryListing.java:347)
at stencyl.sw.editors.snippet.designer.SubcategoryListing.<init>(SubcategoryListing.java:75)
at stencyl.sw.editors.snippet.designer.SubPaletteContainer.<init>(SubPaletteContainer.java:33)
at stencyl.sw.editors.snippet.designer.CategoryListing.addButton(CategoryListing.java:139)
at stencyl.sw.editors.snippet.designer.CategoryListing.<init>(CategoryListing.java:107)
at stencyl.sw.editors.snippet.designer.PaletteContainer.<init>(PaletteContainer.java:65)
at stencyl.sw.editors.snippet.designer.SnippetDesigner.<init>(SnippetDesigner.java:338)
at stencyl.sw.editors.snippet.SnippetDesignTab.<init>(SnippetDesignTab.java:93)
at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:775)
at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:611)
at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:79)
at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:22)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

36
Ask a Question / How to: Get scaled size of an Actor? -HELP
« on: June 04, 2015, 11:42:46 pm »
Hey guys,

I was wondering if it is possible to get the current size of an actor? The [ get <height/width> of actor]  block just returns the normal size and does not pay any attention to the growth factor of the actor. I need to get the full size OR the current growth in percent just like you type it in the [grow actor to (w: %and h: %) over X seconds] block.

I can't seem to find any way to get those numbers ^^

37
Ask a Question / Run Code over HTTP? -HELP
« on: May 31, 2015, 01:01:54 am »
Hey guys, I just wanted to ask if this logic is somehow doable?


I just want to run some code (advertisement for a game that came out later for example) that the game downloads online but I always get this error when trying it even though the raw code (without downloading it) works fine.
Code: [Select]
Events for 'SplashScreen': Missing ;
from scripts.SceneEvents_21
line: 158
columns: 52-53

38
Resolved Questions / Change Image from Background? [SOLVED]
« on: May 29, 2015, 07:25:30 am »
Hey guys,

I kinda can't get this codeblock to work properly, any advice?
I want to change a background image with another image and as a testimage I just took the current screen as image.


The speed changes but the image does not...why? Or is the block not supposed to do that at all?

Thanks :)

39
Resolved Questions / White screen on Flash?! [SOLVED]
« on: May 28, 2015, 06:51:06 am »
Hey guys,

I made a lot of changes on my game today while only testing on android. Well now I wanted to start another part of the game wich I can freely test on Flash but oh well....the white screen of death gets me for the 4th time.
It still works perfectly on android and I don't use blocks like <when on Mobile>.

I attached the end of my last log since the whole thing was to big to upload it seems...please help.
I tried everything I could remember that I did today but it just won't fix...

Code: [Select]
2015-05-28 13:09:46,938 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Default Style
2015-05-28 13:09:46,938 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/folderinfo.txt
2015-05-28 13:09:46,938 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Scaling Images/Dialog Choice
2015-05-28 13:09:46,938 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Scaling Images/Dialog Choice Selection
2015-05-28 13:09:46,938 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Scaling Images/Dialog Main
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Scaling Images/Dialog Name
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Scaling Images/folderinfo.txt
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Tweens/Default
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Tweens/Fade In
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Tweens/Fade Out
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Tweens/folderinfo.txt
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Windows/Dialog Choice Cursor Window
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Windows/Dialog Choice Window
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Windows/Dialog Main Window
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Windows/Dialog Name Window
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/Dialog/Windows/folderinfo.txt
2015-05-28 13:09:46,939 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] data structures/data/folderinfo.txt
2015-05-28 13:09:46,940 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] dialog/dialog.txt
2015-05-28 13:09:46,940 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) Assets/data/[ext] dialog/images/Face Ansager.png
2015-05-28 13:09:46,941 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) Assets/data/[ext] dialog/images/Face Fukasaku.png
2015-05-28 13:09:46,944 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) Assets/data/[ext] dialog/images/Face Kakashi.png
2015-05-28 13:09:46,946 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) Assets/data/[ext] dialog/images/Face Kisuke.png
2015-05-28 13:09:46,947 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) Assets/data/[ext] dialog/images/Pointer.png
2015-05-28 13:09:46,948 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (TEXT) Assets/data/[ext] dialog/macros.txt
2015-05-28 13:09:46,948 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) D:/Stencyl/Stencylwork/stencylworks/engine-extensions/dialog/system_warning.png
2015-05-28 13:09:46,948 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) D:/Stencyl/Stencylwork/stencylworks/engine-extensions/webview2.0/assets/extensions_webview_close_hdpi.png
2015-05-28 13:09:46,948 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) D:/Stencyl/Stencylwork/stencylworks/engine-extensions/webview2.0/assets/extensions_webview_close_ldpi.png
2015-05-28 13:09:46,948 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) D:/Stencyl/Stencylwork/stencylworks/engine-extensions/webview2.0/assets/extensions_webview_close_mdpi.png
2015-05-28 13:09:46,949 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Embedding asset: (IMAGE) D:/Stencyl/Stencylwork/stencylworks/engine-extensions/webview2.0/assets/extensions_webview_close_xhdpi.png
2015-05-28 13:09:50,026 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime/lime/templates/haxe/ApplicationMain.hx -> Export/flash/haxe/ApplicationMain.hx
2015-05-28 13:09:50,047 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime/lime/templates/haxe/DefaultAssetLibrary.hx -> Export/flash/haxe/DefaultAssetLibrary.hx
2015-05-28 13:09:50,120 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/openfl/templates/haxe/ApplicationMain.hx -> Export/flash/haxe/ApplicationMain.hx
2015-05-28 13:09:50,143 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/openfl/templates/haxe/NMEPreloader.hx -> Export/flash/haxe/NMEPreloader.hx
2015-05-28 13:09:50,146 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime/lime/templates/flash/hxml/debug.hxml -> Export/flash/haxe/debug.hxml
2015-05-28 13:09:50,148 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime/lime/templates/flash/hxml/final.hxml -> Export/flash/haxe/final.hxml
2015-05-28 13:09:50,150 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/lime/lime/templates/flash/hxml/release.hxml -> Export/flash/haxe/release.hxml
2015-05-28 13:09:50,152 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/openfl/templates/flash/hxml/debug.hxml -> Export/flash/haxe/debug.hxml
2015-05-28 13:09:50,152 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/openfl/templates/flash/hxml/final.hxml -> Export/flash/haxe/final.hxml
2015-05-28 13:09:50,153 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Copying template file: C:\Program Files (x86)\Stencyl\plaf\haxe\lib/openfl/openfl/templates/flash/hxml/release.hxml -> Export/flash/haxe/release.hxml
2015-05-28 13:09:50,154 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] Running command: BUILD
2015-05-28 13:09:50,154 DEBUG [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat]  - Running command: haxe -main ApplicationMain -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/openfl/openfl" -D openfl=2.2.4 -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime" -D lime=2.0.6 -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/actuate/1,6,5" -D actuate=1.6.5 -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/console/1,00" -D console -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/polygonal-ds/1,4,1" -D polygonal-ds=1.4.1 -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/polygonal-printf/1,0,0-beta" -D polygonal-printf=1.0.0-beta -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/box2d/1,11" -D box2d -cp "C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00" -D stencyl -cp Source -cp "C:\Program Files (x86)\Stencyl\plaf\haxe\extensions/gestures" -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/date -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/joints -cp "D:\Stencyl\Stencylwork\stencylworks\engine-extensions/External Data" -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/points/src -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/points -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/dialog/src -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/dialog/src-ext -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/dialog -cp "D:\Stencyl\Stencylwork\stencylworks\engine-extensions/Drawing Utils Extension" -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/customcontrols -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/label -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/attribute-saving -cp "D:\Stencyl\Stencylwork\stencylworks\engine-extensions/External Data 3.3" -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/simpleshare -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/simpleshare -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/TimeConversions -cp "D:\Stencyl\Stencylwork\stencylworks\engine-extensions/All-In-One Boolean Blocks" -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/webview2.0 -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/list-utils -cp D:\Stencyl\Stencylwork\stencylworks\engine-extensions/smooth-motion -D lime-openal -D tools=2.0.6 -D flash-use-stage -D no-compilation -D lime-opengl -D openfl-flash -D lime-curl -D web --remap nme:openfl -D network-sandbox -D as3_native -D swf-directblit -swf-lib mochi.swf -swf-lib newgrounds.swf -swf-lib cpmstar.swf -resource Assets/graphics/preloader-bg.png@preloader-bg -swf-lib Export/flash/obj/assets.swf -swf-version 11 -swf "Export/flash/bin/Anime Versus.swf" -cp Export/flash/haxe -debug
2015-05-28 13:09:55,382 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] D:\Stencyl\Stencylwork\stencylworks\engine-extensions/webview2.0/WebView.hx:44: characters 7-15 : Unknown identifier : listener
2015-05-28 13:09:55,382 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] D:\Stencyl\Stencylwork\stencylworks\engine-extensions/webview2.0/WebView.hx:44: characters 25-33 : Unknown identifier : listener
2015-05-28 13:09:55,382 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] D:\Stencyl\Stencylwork\stencylworks\engine-extensions/webview2.0/WebView.hx:44: characters 36-83 : Class not found : WebViewListener
2015-05-28 13:09:55,382 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] D:\Stencyl\Stencylwork\stencylworks\engine-extensions/webview2.0/WebView.hx:45: characters 20-28 : Unknown identifier : listener
2015-05-28 13:09:55,382 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] D:\Stencyl\Stencylwork\stencylworks\engine-extensions/webview2.0/WebView.hx:46: characters 3-11 : Unknown identifier : navigate
2015-05-28 13:09:55,485 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] D:\Stencyl\Stencylwork\stencylworks\games-generated\Anime Versus>haxelib setup "C:\Program Files (x86)\Stencyl\plaf\haxe\lib"
2015-05-28 13:09:55,519 INFO  [Thread-161] stencyl.sw.util.StreamGobbler: [openfl.bat] haxelib repository is now C:\Program Files (x86)\Stencyl\plaf\haxe\lib/
2015-05-28 13:09:55,522 DEBUG [pool-1-thread-52] stencyl.sw.util.Util: Process 'openfl.bat' exited with code: 0
2015-05-28 13:09:55,522 INFO  [pool-1-thread-52] stencyl.sw.io.write.resource.HXWriter: Finished building for Flash.
2015-05-28 13:09:55,522 DEBUG [pool-1-thread-52] stencyl.sw.util.Util: Running command: [C:\Program Files (x86)\Stencyl\ext-tools\players\flash-10-win, D:\Stencyl\Stencylwork\stencylworks\games-generated\Anime Versus\Export\flash\bin\Anime Versus.swf]
2015-05-28 13:13:27,804 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Generate Logs

40
Hey guys quick question:

Is there a way to find out wich position the current ITEM in the "for each ITEM in LIST" Loop has?
So if it is at item #0/#1/#2/#3/#4.......?

Thanks :)

41
Ask a Question / Drawing Text slows down game? -HELP
« on: May 18, 2015, 03:39:52 am »
Hey Forum/Stencyl staff,
I really have a problem with Drawing Text since the beginning of using Stencyl. Noone else seems to get this problem and it is really frustrating. Any time I try to display some text within a drawing event, it slowes down my game. The more Text, the lower the FPS will be. Short texts with small fonts already drop the FPS by 5 or even more. And i mean like 5 words with a 5px font. Any bigger and we go down to about 10 FPS.
This is a very basic drawing event wich already slowes down the game imnensely.


I really have no idea what I might do wrong since this is all that I need to do, to cause the framedrops...any ideas?

42
Resolved Questions / /n does not print text? - [SOLVED]
« on: May 17, 2015, 11:55:44 am »
Hey guys, get ready for a pretty long post.
I am working on an online ranking system for a LONG time and it was pretty much done after 2 days but some things just won't fit together. Since day 1 of working with Stencyl I have to fight with the problem that I can't draw any text with a drawing event since it cripples my frames extremely even though noone else seems to have that problem....whyever.
So I have to use Labels to show some text and for the most part, this was working perfectly fine but now I got this:

At first I have to set the Text attributes for ranking spot No.20 (example) from the php List  (checked the output, the PHP part works perfect):


- So far - so good. With using "&" as the seperator I get this List:
0. NAME
1. SCORE
2. COUNTRY
As you can see, this is all for just 1 actor since this is all what will be displayed per rank.

Alright, next I have to set every Label up and I will skip the routine part (create actor, set the actor attribute, attach a label and the font to it).
Here I set the Labels Text with a custom event to show the text:


Now here is where the actual problem starts:
Rank - works
Name - doesn't work!!!
Score - works
Country - works

WHY IN THE HELL IS THE NAME NOT DISPLAYING?
Here starts the funniest part:
THIS ACTUALLY WORKS IN A DRAWING EVENT!?!?

Also:

Clear Text OR any other set Text attribute (1,3 or 4) would work aswell. Soo... THE LABEL IS ALSO WORKING FINE?!

Again: Text 1,2,3 and 4 are working and fully displayed (2 only within a drawing event) and Label 1,2,3 and 4 are working aswell (2 only with ANYTHING BUT Text no.2).

What is going on here, can someone help me? Sorry if this is looking like a big clusterf*** but that is the only way I can show it to you.

43
Ask a Question / Attribute true over amount of time? -HELP
« on: April 07, 2015, 09:32:18 am »
Hey guys,

I wanted to ask if there is a way to detect if an animation was hold over a fixed amount of time or if an attribute is given constantly for the given timewindow?
I have tried multiple ways but none of them seem to work correctly...

Thanks :)

44
Ask a Question / Saving and using Images? -HELP
« on: April 04, 2015, 07:10:51 am »
Hey guys,

is it possible to use Images between different scenes without using the [image as text] or [text as image] blocks?
Those WOULD fit my needs perfectly but they just take too long to actually be of any good use.

What I want to achieve:
 A transition between 2 scenes in wich Scene A saves and displays the current Screen as an image in front and then Scene B will cut this image into 2 parts, thus releaving the new scene behind. This means, that the saving (on scene A) and reattaching (on scene B) process has to be nearly instantaneous to change the scenes behind. To make things clearer:
- 1. Attach current screen as image on top of everything.
- 2. Save the image with the [image as text] block. (LAG)
- 3. Switch to Scene B with a 0.1sec blur.
- 4. [When scene B created] Attach the screenshot from Scene A on top of everything. (LAG)
- 5. Cut the image into 2 pieces.

It works perfectly fine with 2 images from the "extras" folder or even from an URL, but this is not what I want.

It theoreticly also works with the [image as text] and [text as image] blocks, but as I said, the lag is just to big.

45
Ask a Question / How to cut Images Diagonal? -HELP
« on: April 04, 2015, 12:17:47 am »
Hey guys,

I just wanted to ask if it is possible to use the [part of [image] (x:, y:, w:, h: )] block from the image API to cut images diagonal aswell?

Thanks :=)

Pages: 1 2 3 4 5 ... 9