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

Pages: 1
1
Old Bugs (3.x) / Everything is messed up
« on: March 16, 2014, 01:05:56 pm »
Hi,

my Games are constantly messed up  :'(

This time regions don't work properly i get strange errors wrong events are triggered, 

PLEASE HELP.

I'm pretty sure this is not some sort of pebkac since i tripple checked it

After "cleaning" my project, scenes are often displayed with a warning sign, I am constantly rechoosing the scenes and  the warning sign dissaper but it has no effect on the bug


[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.Design_38_38_TitleScreenManager: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.Engine#switchScene(1619): Switching to scene 11


the actor Player002 has no behaviours or events attached but i get an error messaage , wtf?!?!

Ok so for now i can sum it up to: i have 8 regions in 1 scene and 8 when mouse is pressed on a scene it should switch to another scene, for 3 region its working , 5 regions are not working. wth?! I spent hours recreating the behaviour and the scene without any success

 for each region i get

[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor

if i recreate the event in a behaviour, i get the sam eror message from the  behaviour.

I didn't get a 90% memory usage warning but it seems like something is cut?

yay stencyl you're great! After spending 2 days rebuilding the whole project, everything works fine, i rebuilded it EXACT THE SAME WAY
I even got the x,y and size for every region pixel accurate the same way now it works just fine, but guess what? Some hours later same error message different behaviour

Cannot add listener function to null actor.
Cannot add listener function to null actor.
Cannot add listener function to null actor.

i spend more time recreating working code and hunting for stencyl problems than actually coding my game.


LOG] [Flash] Universal#initScreen(162): Stage Width: 320
[LOG] [Flash] Universal#initScreen(163): Stage Height: 480
[LOG] [Flash] Universal#initScreen(164): Screen Width: 320
[LOG] [Flash] Universal#initScreen(165): Screen Height: 480
[LOG] [Flash] Universal#initScreen(166): Screen DPI: 72
[LOG] [Flash] Universal#initScreen(314): Max Scale: 1
[LOG] [Flash] Universal#initScreen(315): Engine Scale: 1x
[LOG] [Flash] Universal#initScreen(556): Scale X: 1
[LOG] [Flash] Universal#initScreen(557): Scale Y: 1
[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: null
[LOG] [Flash] com.stencyl.Engine#switchScene(1619): Switching to scene 3
[LOG] [Flash] com.stencyl.Engine#initBehaviors(867): Non-Existent Behavior ID (Init): 38

now scenes are messed up scenes are in two folders at the same time , see screenshot attached

2
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: September 23, 2012, 05:15:53 am »
maybe the bug report forum should be closed for the time, because it's complete waste of time since there are no bugs fixed until release of 3.0 if i got it right,
anyways i had to stop using stencyl because of too many bugs

3
Old Bugs (1.x/2.x) / problem with set ... to last created actor
« on: September 19, 2012, 09:31:45 am »
in the create event:
create actor type mousefollow
set mousefollow to last createad actor

in update:
set x/y to x/y of mouse for mousefollow,

if i have "set x/y..." statement in update, actor is not created!

for error logs and the complete stencyl file see my previous post "events not working"

and if u have some time please fix the importing scale bug tia 

i tried it on several pcs -.-

4
Suggestion Archives / Re: Mini-Suggestion Thread
« on: September 17, 2012, 09:08:51 am »
enable simple calculation in setter blocks for numbers like 2*32 or 4+4

5
Old Bugs (1.x/2.x) / Events not working
« on: September 17, 2012, 08:40:18 am »
Hi,
my events suddenly stop working like updated / click i tried debugging using print and debug drawing and flash debug player and by asking a friend ;) but the only conclusion i come to is that it must be a bug inside stencyl. i have a bool variable called activated, i created a block in the update section

if(activated) debug draw green otherwise debug draw red

i have a second event when clicked on region which is something like if(activated) do stuff otherwise do other stuff ;)

stuff is done like activated is true but the colors of debug draw do not change, seriously they changed like 5 minutes ago seemlessly but the region event didn't fire so i rearranged some blocks

from
if(condition){ create actor } otherwise (create dummy actor) , set signal1 to last created actor
to
if(condition) {create actor  set signal1 to last created actor } otherwise (create dummy actor set signal1 to last created actor)

error.log is enclosed

since there are only 2 possibilities actived is true or false and no debug print text is returned i hardly guess that the event click on region is not fired...

sry but this is driving me mad it sucks big time

//edit:
things are getting worse i have
create actor set mousefollow to last created actor  in the create event
and
set x/y to x/y of mousfollow  in  the updated event

some minutes ago they worked....

you can find the complete .stencyl file here:
http://sweetberries.de/forumexport.stencyl

it consist of only 1 scene with 1 behaviour and 3 actors

it is a riddle you can place skulls on all 8 points of a star ( star should look like this sorry no time fo r good picture yet)
http://www.michael-holzapfel.de/themen/sterne/stern8ab.gif

from each endpoint of the star a skull can be moved to both points that can be reached via the line e.g. from 1 to 4 and 6 except there is already a skull placed, th e goal is to place all skulls

maybe some of you remember the game the 7th guest

6
Bug Archives / Re: How to Suppress the 90% Memory Usage Warnings
« on: September 12, 2012, 12:15:26 pm »
maybe you want to change the text on the "the 90% warning" page for windows user because it was a complete waste of time to read. it only says it should work if i have latest version, yeah, but it doesn't that's why i'm reading in the forums...

my solution for win:
download and install java x86/x64 (> 2GB)
set path variable for java
make bat file and copy it to stencyl folder

7
Old Bugs (1.x/2.x) / importing scale
« on: September 09, 2012, 01:26:08 pm »
it seems to make a difference whether i choose scale in advance or afterwards when imporrting my png backgrounds...

8
Game Art / Re: needing a artest and iders!
« on: July 08, 2012, 01:21:48 pm »

9
Ask a Question / How to do a rope
« on: July 07, 2012, 03:41:01 pm »
Hi,
i want to do a rope, i've found some tutorials for box2d like http://muhammedalee.wordpress.com/2012/03/24/rope-made-from-box2d-bodies/

but i didn't find blocks in stencyl with which you can join actors. any other ideas?
is this possible or do i have to use custom code?

thanks in advance

10
works perfect dunno why but perfect thank you very much sir!

11
Suggestion Archives / Re: Mini-Suggestion Thread
« on: June 20, 2012, 09:04:48 am »
i would love if ic an create a behaviour in the attach to aactor dialog becauuse i allways need to create an actro first, then i have to go back zto dashboard -behaves-new , it would be better if i can just click on the choose behavioru screen and select new
tia

12
Ask a Question / Problem triggering Sound correctly on Keydown Event
« on: June 20, 2012, 08:55:30 am »
Hi,
how can i do this?
my sound keeps starting several times before it's silenced for 2 seconds.
i want to play it just once (every 2 seconds). but it has to be with the key down event.


13
Old Bugs (1.x/2.x) / some minor flaws / bugs (np got workaround)
« on: June 10, 2012, 02:40:19 am »
1. if i create an actor behaviour inside my folder "my behaviours" it needs to be manually moved after creation to be in that folder.

2. if i create a new mobile game from scratch and i import a tileset it's all fucked up, i talked to an experienced stencyler who has already done a lot of mobile games with stencyl and he confirmed that i do not use it wrong and it must be a bug.

when i import the tilesheet it first looks like there's something wrong with scale (?) but if i go on coding an go back to the tileset later it's not  like i left it, it's puzzled... the import of the tilesheets is buggy when starting a MOBILE game from scratch , so i just convert later...


and the search function doesn't work either

when you right click on an folder in the dashboard that contains actors theres a "add actor to scene" option which is unnecessary

my actor names are too long to be displayed correctly :(

can't believe there are no reports about this but i swear i've used the search function ;)

14
Game Art / [offer] sound /music [search] graphics
« on: May 22, 2012, 04:38:41 pm »
Hi,
i'm a hobby musician, i can make exclusive sounds / music for your game,
i'm looking for some game art ,items, characters etc.. maybe someone wants to trade?

have a look at my soundcloud page

http://soundcloud.com/soundmarcel

Pages: 1