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

Pages: 1
Ask a Question / Make actor follow user selected path...
« on: February 29, 2012, 10:25:04 am »

Ok, so I am trying to develop a slightly unconventional control system for my main character. This will be for ios. So, imagine the floor is made up of square tile actors which are can be turned on or off by the users touch. Now, when the user selects a tile, after a pre-determined amount of time the player will move in the direction of the selected tile. Once the player reaches the tile in question, if a second tile has since been selected it will now move towards it. If not it will continue on it's original path until it reaches something solid or his doom. When the player makes contact the with a selected tile it becomes de-selected. (Please see visuals attached).

In principle this seems very straight forward, but in practise I think it could be quite complicated. I am not too hot with Stencyl yet, but I assume I need to create a boolean to declare whether a tile is selected. I presume I then set up a movement towards it and then clarify that when the x/y's are equal it should check for another selected tile.

However, how do I make sure he only travels at 90 degrees? Also, how do I make sure he moves towards each selected tiles in the order in which they were selected?

I am sure this is a little confusing so I have attached some visuals.

Any help will be gratefully received.


Old Questions (from 1.x/2.x) / ibook question...
« on: February 24, 2012, 06:28:12 am »
Hello Stencylers

So, we are making an ios game, but the storyline is like a children's story. Consequently, we thought it would be ideal to also create a children's ibook. I noticed there is an example on Stencyl, but apart from that I have not been able to find any further information. I am assuming we can simply create a series of linked scenes with interactive user triggered animations. We could also make it so the user can not proceed to the next page until they have triggered a key event etc.

The question I have though, is if we create an ibook with this template, will this only be usable on an iPad or will the graphics be automatically scaled down for the iPhone devices? If the images are not automatically scaled, does that mean we would have to create three versions of every anim/image to accomodate each peripheral and code it to detect which is being used?

Thanks in advance.


Ask a Question / Jumping top down?
« on: February 22, 2012, 04:57:56 pm »

I have searched extensively, but I have not been able to find anyone trying to do something similar. I am creating a puzzle/action game for ios where the main character progresses vertically up the screen. Initially I was planning to make the game in 3D isometric, but found the 3D graphic packages very frustrating and therefore decided to stick to my 2D roots, which enabled me to also use Stencyl! So now the game is in top-down view, I no longer have the benefit of physics with regards to making the character jump hazards etc.

Consequently, my only idea so far has been to set-up a jump animation which makes the character progress a set distance. Whilst that animation is playing, either state that all collisions are void or remove the collision detection during that animation. Then when the animation is complete, if the character is now standing over a tile he lives, if not he dies.

However, before I investigate this option I was wondering if I am missing a trick, there is a much simpler option or that my idea will simply not work for some reason. 

I have included a screen grab to help clarify.

Thanks in advance.


Ask a Question / Time delay for tile anims will not change
« on: February 14, 2012, 07:59:05 am »

Quick question.

When you import images for an actor you can change the time delay for that image. For tiles, when I try to in put a different number to the default 100 the ok button will not respond and I have to click cancel. This is an issue as the only way I can now slow the anim down is to increase the number of frames which will place more pressure on the processor/memory etc. 

Thanks in advance.


Ask a Question / Anchored actors disappear?
« on: February 14, 2012, 03:41:16 am »

I am new to stencyl, but I have run into a couple of problems that are really simple, slowing me down and really infuriating. I have looked at lots of tutorials and can not work out what's wrong. I have two main issues. 1. When I attach an anchor to an actor and then test in flash the actor in question disappears. 2. When I set-up separate collisions for actors in different groups - ie. player hits hazard dies, player hits power-up actor and power-up actor dies - my player still dies in both scenarios. I know this is usually a problem with collision groups. I have also read that it can be due to the physics settings. For both items, other than the player, I stated they could not be moved.

I have included screen grabs. To make it simpler I have only used the default collision folders. The power-up has been assigned to tiles, the hazard has been set to actors and the main character to players. Since I have tried it again from scratch I was even wondering whether it maybe due to the wrong flash version installed or old version of Stencyl. I am using Stencyl 1.41.

Any help will be greatly appreciated before I destroy my mac in frustration!


Pages: 1