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

Pages: 1 ... 7 8 9
Ask a Question / Card flipping effect
« on: October 14, 2013, 04:35:50 am »
How would you program a card flipping effect from the front side to the back and vice versa?

For example memory game has this effect with its cards.

Or should I use two actors and scale them by X axis accordingly?
(Top shrinks and bottom widens up and vice versa)

Is there some elegant way?

Ask a Question / Spawning enemies off screen
« on: October 10, 2013, 07:21:52 am »
Hello. Is it possible to spawn enemies off screen, i.e they do no get deleted before they enter the visibile screen?

For example spawn them on the right side of the screen, but they should be off screen border so that they are not visible. Because they move to the left they should appear after some time on screen.

I am building side scroller shooter game. I want to also spawn enemies in formation like V shape or e or 135 degrees line etc...

Ask a Question / Re: Fade in/ Fade out tween on animation
« on: October 10, 2013, 06:29:30 am »
Ok. I partially understand what do you say. But I don't know where to start.

Should I add some event on the main charachter on which to attach the tween?
What would be that event?

Sorry I am new to Stencyl :)

Note: Dying animation or should I say the fade in/out tween should be played only after the health of the Hero goes equal or below zero. After the fade in/out tween is finished the health is being reset to full 100 percent. I have the health of the Hero stored into a game attribute called srHealth.

Ask a Question / Fade in/ Fade out tween on animation
« on: October 10, 2013, 04:04:43 am »
I have dying animation on my main charachter, though it has only one frame. This animation or should I say frame should fade in and then fade out in 4 seconds all toghether.

The main character has also idle animation which should also fade out and fade in across 4 seconds.

How do I do that with tween only on this partucular animation? Is it possible or should I try other aproach?

Ask a Question / Re: Scene size vs Game size
« on: October 09, 2013, 04:50:54 am »
Thanks. Really trivial :)

Ask a Question / About pausing legend that appears on pause event
« on: October 09, 2013, 04:48:47 am »
Hello. I tested the demo game here
and when I press the P button a legend of keyboard controlls appear.

Is this legend a feature or part of Stencyl framework, I mean can I use it as it is or I have to make my own?

I really like it, though :)

Ask a Question / How do I develop dialog scene?
« on: October 08, 2013, 07:33:30 am »
Hello. I have 4 scenes with roughly 10 dialog messages to be shown on each scene.

But each message should be shown one after the other like in a dialog. You press a button and the next message appears on screen.

I used "when drawing" behaviour on the current scene to draw the currentStoryMessage value which is a value taken form the list of StoryMessages where I store all story messages.

I added on click event on the button  but when I press it doesn't redraw the new value from currentStoryMessage. What do I do wrong?

Ask a Question / Re: Scene size vs Game size
« on: October 08, 2013, 07:19:44 am »
yup I see all tiles are 32x32. Is there an option to change that?

I checked in game settings but nothing seems similar.

Ask a Question / Scene size vs Game size
« on: October 08, 2013, 07:00:49 am »
Hello. My game is sized 700 x 525 pixels. I have many scenes, scenes for dialog text or story, scenes for different levels etc...

I want all scenes to be exactly 700 x 525 pixels wide and high. But somehow it is not possible to set the scenes. It gives me to set number of tiles but when I lower the number of tiles the size of the scene is not 700x525. Also tried to switch to pixels in the properties dialog of the scene but it doesn't work. Somehow the changes are not applied. Is this a bug?

How do I set all scenes to exact size I want, is there an option for this?

Ask a Question / Re: programming a health bar
« on: October 03, 2013, 01:42:26 pm »
Probably its a stupid question. I found a health bar pack developed by Rob. So If I get stuck I will ask here :)

Ask a Question / programming a health bar
« on: October 03, 2013, 03:12:12 am »
Hello. My game has two health bars, well I call the second a shield bar. I want them put on the scene as HUD anchored to the screen. The health bar of the main character is dependent on the shield bar of the character. So when the shield goes down the health is also falling of course when the main character is hit by missiles.

How do I program this in stencyl?

How do I program each health bar with border backround and foreground rectangles that represent 0% to 100% health/shield?

Ask a Question / Re: Collision between two actors not detected!
« on: October 03, 2013, 01:43:40 am »
Thanks. I set two new collision groups and now its working.

Ask a Question / Re: Text fields in Stencyl
« on: October 02, 2013, 01:36:11 pm »
I thought I deleted this questions but anyways I found a solution. To display text, fonts are used to show scores, coins or whatewer you need. You must add attributes to a scene and dsiplay them on draw event.

Ah and by the way you must add "\n" to achieve word wrap functionality as attributes of type Text are plain strings.

Ask a Question / Collision between two actors not detected!
« on: October 02, 2013, 01:23:24 pm »
Hello I have my main character in the players group. He is called Space Ranger. I also have a scene behaviour that spawns alien ships. I want to add event to either each alien ship or the main character so that when alien ship collides with the main character the alien ships explodes. But its not working. I tried adding Actory-Type and also other types of events to both Space Ranger and alien ship actors but the collision is not detected at all.

What do I do wrong?

Ask a Question / Text fields in Stencyl
« on: October 02, 2013, 02:14:46 am »
Hello. I am new here and this is my first experience with Stencyl so I am learning how to use it.

Is there a way to add textfields to show intro story? How do I do that, how do I show a static text on screen? Do I go again with fonts and "when drawing" event on the scene?

How do I word wrap the intro message?

Or should I code textfields myself?

Pages: 1 ... 7 8 9