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

Pages: 1
1
Ask a Question / Clickable when in region/contact with actor
« on: April 18, 2012, 05:31:20 pm »
Hi,

So I'm making a behavior where when the player is in contact with a sensor, if the player clicks on a button actor, it will execute the behavior, otherwise when clicked it does nothing.

I know the rest of my behavior works, but I'm not quite sure how to get it to detect when the player is in contact with the sensor.

Any suggestions are appreciated!

2
Anyone have any ideas?

I managed to get one scene to reload and show the buttons by just using the reload line but when I apply it to another scene it won't do the same.

3
I used the On Screen button behavior to make instruction popups, and have it so all animations are in one actor which I customize the animation to display in each scene.
If I start the game on the scene with the buttons it works fine, but if I play through the game in the simulator the buttons don't draw at all.
The way I'm transitioning scenes is colliding with an invisible actor makes the screen fade out and fade into the next scene.

I've attached screenshots of the button behavior and scene transition, but the game is on stencylforge under UM Orbit if anyone wants to try it on the simulator.

Any help is much appreciated!

4
I've used it before in Flash and it worked with normal controls, though if it's going to be a hassle to fix I'll find a different behavior then.

Thank you though!

5
I've attached the crash report and logs

6
I'm trying to get the Simple Dialogue V4 behavior off Stencylforge to work in iOS,

I have it set in my first scene, and I want it so Joystick is disabled until the dialogue finishes.
I wasn't sure how to set up the speed up button, but I'd just be satisfied with having the next sentence comes up when the player touches the screen.

I've been trying to get this to work for few hours and I'm a bit stumped, any help is greatly appreciated!

7
Aaa I didn't even think of that, Thank you!

I'll see if I can get it to work, but if anyone has any advice on the best way to code this I'd be glad for the help.  :D

8
So I've downloaded the Draw Light Radius behavior and changed it so that the actor covers the screen in black until the player bumps into a 'wall' actor, where it will then switch to the original light radius animation for a short duration (basically the player can't see anything until they walk into a wall, then for a few seconds they can see a small area around them)

I'm already having some issues with the atlas, for some reason the light radius actor won't show up at a certain size range, (if it's too small it doesn't cover the whole screen, too large and it doesn't fit on the atlas, or for some reason the atlas draws the two animations next to each other making it larger than the 2048x2048 limit even though if stacked vertically it would fit?)

In the end I want the light radius to play this animation:


But if I keep it at the size I have now, (1024x767, this size works) the animations won't be able to fit on a single atlas. Is there a better way to approach this? I was originally trying to get it to work as an alpha/matte but the actor seemed easier.

I'm relatively new to coding in Stencyl so any help is appreciated..

Questions:
1. Is there a better way to animate a light radius effect for about 6-8 frames? (would probably not fit atlas at current size)
2. How can I get the light radius actor to sync up with camera movement so it doesn't show the edges when moving?

Pages: 1