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

Pages: 1
1
Ask a Question / Re: blank screen
« on: January 23, 2012, 11:08:55 pm »
Just found out that the thing caused the blank screen is because the encryption. I encrypt my game before, but after i remove the encryption it hasn't blank again.

thanks all for the help.

2
Ask a Question / Re: blank screen
« on: January 23, 2012, 08:28:02 am »
Hi, I hope i'm visiting the right place to ask this.

I have a problem just like readerboy7, my game seems perfect in my laptop. it compiled successfully, generate the swf, and i try to run it on my laptop as offline (double cilcking the swf) and everything goes perfect, i could play several levels in the beginning. But after I host it. it just got blank screen.

Could it possible when I tried offline and working, and when I host it, it got blank screen? If that so, could it probably because the sitelocked inside stencyl which runs and block my games to run in a certain sites? I host it on FGL.

I see the date of the last post here, it seems a while. probably someone already has a clue for it? please help. this is my first game, maybe i just simply miss something here.

Thanks guys, you're all so helpfull to readerboy7.great team.

It wouldn't be the sitelock code. If that kicked in, it would display a message about playing the game at Stencyl.com instead. The reason it is working in the Flash player and not online is probably because the player is more lenient to errors, whereas browsers will usually stop a Flash movie when it hangs or tries to do something it shouldn't.

We would probably have to see your game (not the compiled SWF, but the StencylWorks files) to figure out what is wrong. I'm guessing you don't want to post it publicly, so you could zip up the game's directory and host it somewhere (Dropbox is great for this), then PM me a link to download it. I'll be able to take a look at it tomorrow.

yes coleislazy. i send you pm. thanks for help.

3
Ask a Question / Re: blank screen
« on: January 22, 2012, 10:00:52 am »
Hi, I hope i'm visiting the right place to ask this.

I have a problem just like readerboy7, my game seems perfect in my laptop. it compiled successfully, generate the swf, and i try to run it on my laptop as offline (double cilcking the swf) and everything goes perfect, i could play several levels in the beginning. But after I host it. it just got blank screen.

Could it possible when I tried offline and working, and when I host it, it got blank screen? If that so, could it probably because the sitelocked inside stencyl which runs and block my games to run in a certain sites? I host it on FGL.

I see the date of the last post here, it seems a while. probably someone already has a clue for it? please help. this is my first game, maybe i just simply miss something here.

Thanks guys, you're all so helpfull to readerboy7.great team.

4
Archives / Re: import from .fla and/or .swf files?
« on: January 19, 2012, 02:50:23 am »
Hi, i dont know where to post my question but the title seems correct.

I have 2 question need to solved.

1. import sprite into stencyl
I have a project using flash (fla). and now i want to make the sequel in stencyl. normally, since i'am a newbie in stencyl, i would open the movie clip to the desired sprite, block all the object, and then export as png. then i open stencyl, create actor, import the png into it.

the problem is, I have 7 character, each character have 24 animations, and every animation has around 5-7 sprite each. So after I do the math, i got a headache. It's a long way to go. not to mention i want to add new character on the sequel. Probably someone could gave me a clue how to make it easier. I would be thankful.

2. import and export actor on stencyl
when i export an actor on stencyl, it creates a png of all the sprite alltogether. but i dont know how to import it into an actor in other project, or i just become a noob. or probably the export feature only supposed for outside stencyl?

Thank you guys. I appreciate it.

5
That's not really true. I would be very surprised if anyone ever made a Flash game where the number of variables caused a performance problem. The reason you use encapsulation is to isolate the effect of a section of code on the rest of the program. It helps track down bugs and keeps code secure, but it doesn't really give a performance gain.

I didn't answer about the connection between numbers of variables and performance. i agree that it doesn't affect the performance.
i just replying piper comment about why people say that many attributes is bad for program. probably not bad program, since there would be a game which need tons of variable. i just assume that it's true when every local variable dragged outside to the global variable when it doesn't necessary. it's not tidy.
and i agree about it helps track down bugs and keeps code secure.

6
I'm not a good programmer not smart, but I know that a lot of variables are bad for he program.

if you used with flash, then you must familiar with Object Oriented Programming.in OOP, we know encapsulation, so we always put variable in the class which needed it, not put everything in global variables. it wasn't tidy.

Same with stencyl. In stencyl, game attributes means global variable.probably, people said it meaning that in oop, global variable only created when it can't be helped to create that. at least make the getter and setter so manipulation of the value could still controlled.

i hope that helps.

7
Ask a Question / Re: Check if not colliding with anything
« on: January 13, 2012, 07:58:03 am »
"Spawn actor Upon Death" is the name of a behaviour.

Hi weaslel,

wow, it's true. all of it refer to behavior names. It seems weird, but the behavior seems got a result value... or, is it?

8
Ask a Question / Re: Check if not colliding with anything
« on: January 13, 2012, 06:51:26 am »
coleislazy, another thing to ask.

I still don't really get used with the way stencyl calling actor, tile, terrain, and the way stencyl put it together. i assume that terrain is consists of many tiles sticks together. i want to search it but i dont know what to type.

also the way variable getting used. In the picture below, I have a "Spawm actor Upon Death" variable looks like. what is it? the rules of naming a variable is never use space, more over, i found that many those kind using "?" also. I am confuse, I'm new to stencyl. probably you could gave me link to a post where i could find some answer.

Big Thanks coleislazy.

9
Ask a Question / Re: Check if not colliding with anything
« on: January 13, 2012, 06:42:20 am »
Blocks from the Collision category can only be used in the "when this collides with something else" wrapper, just like blocks from the Drawing category can only be used in the "when drawing" wrapper. You will get errors if you use them elsewhere.

The post Hoamaru linked gives a very simple solution to the problem posed by the OP.

omg, I'm soo newbie.

I've just realize that I'm mixing up between "always" and "when this collides with something else". It takes me about 10 times reading it, searching it, ended up in this post before I realize it.  :P

Thank you coleislazy.

10
Ask a Question / Re: Check if not colliding with anything
« on: January 11, 2012, 07:11:59 pm »
To expand on this, you are getting those errors because you are trying to place collision-related blocks in a wrapper other than the collision wrapper (in this case, in "always").

can you explain more? i still don't get it. i have the same problem with "The Lupine One", but still no clue what should i do with it.

Pages: 1