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

Pages: 1 2
Ask a Question / Re: Anchored actors disappear?
« on: February 22, 2012, 10:12:11 am »
Hi Alexin

Did you receive my email with a link to download the game?

In the interim I have been reading on the site re. versions of xcode. I am on snow leopard, but I have now upgraded to version 4.2 of xcode and I am now testing on the simulator in version 5 in the mobile game settings. Unfortunately this has made no difference to the bizarre disappearing actors. What is also strange is that when I placed a collision detection on them, they still prevent the player from moving into that area yet they are not visible? This would suggest that they are there, but I just can not see them? Could this be a layer issue? Not sure if that info. helps with the diagnostics?

Kind regards


Ask a Question / Re: Anchored actors disappear?
« on: February 20, 2012, 02:31:11 am »
Ok, so I swapped the sea tiles to actors. I was still getting about 30fps, but when I removed the foreground anim I am now back at about 60fps. So that is one issue dealt with.

I still wanted the cloud effect, but changed it to prevent horizontal anim and just used the parallax effects and repeat image to save on resources. Works well in flash, does not in ios. Then saw a parallax effect for ios in the forge which sounded great, but I do not see how it will work if you can no longer repeat the image?

To improve performance I was trying to kill actors as they left the scene. However, this does not work as this then also kills those that have yet to appear on the scene. I then saw the 'kill in pit' on an example game where it tells the actors to only kill themselves when they leave the bottom of the scene. Please see visual, but this only seems to work for some actors despite the same behaviours being applied to all?

Although the anchor situation seemed to be solved in flash, it is still an issue in ios. Logically speaking if the actor is set to always simulate and the camera is directed to the player which starts right next to the actors I am trying to anchor, they should appear even if it starts out of the screen boundary?

Another issue on ios is that when I set the background colour of a scene, it appears in flash, but reverts back to black in ios. Please see visual attached.

Could this all be to do with the simulator version of I am using? I am currently using version 4.3?

You mention sending you the game to check, how would I go about this?

Thanks in advance.


Ask a Question / Re: Anchored actors disappear?
« on: February 18, 2012, 11:20:01 am »
Hi Alexin

Thanks for getting back to me.

I have the camera following the main character, so that should not be a problem and the anchor issue is ok now.

The tiles not animating on ios is a big problem as the sea effect will be completely lost without it and I am guessing that using actors would be far too demanding on the processor.

I have also noticed that I am unable to change the timing of animation frames for tiles like you can for actors?

I am starting to think my idea will be too complex for me to develop. The control system I intended was for the tiles to be selected by the user and then for the player to follow the selected path. The idea is simple, but making it work is perhaps too complex for my limited brain!


Ask a Question / Re: Anchored actors disappear?
« on: February 18, 2012, 05:26:30 am »
Hi Alexin

Hows things?

Thanks for your help. So, I have managed to sort out the collisions and finally found out what was going on with anchoring. It was an off-screen issue, but this is where stencyl is really confusing as the scene does not start at the bottom of the screen area? To anchor the actors in question so that they appear at the bottom of the screen I need to place them half way up the scene. The game is designed so you scroll up vertically. This is not essentially a problem although it makes me think my settings maybe wrong? Please see visuals attached.

Two other problems have occurred. Firstly, when testing in ios the tiles will no longer animate. Is there a way round this?

The second is really strange. I have noticed that the software is degrading some of the graphics. In the attached visuals you can see the correct actor image and a degraded version that seems to appear at random for no reason? Have you seen this before?

Thanks in advance.


Ask a Question / Re: Anchored actors disappear?
« on: February 15, 2012, 01:36:01 am »
Hi Alexin

Thanks for your reply.

So, when I say attach anchor, yes I mean anchor actor to the screen. With regards to the physics I set it to can not move so that the other actors would not collide with it. Since you mentioned physics I also tried the other settings, can not be pushed/normal with the remaining settings constantly as no to rotate and gravity. However, on test scene in flash, after saving, the actor in question does not appear on the screen.

With regards to the collision groups, the pick-up object does die as intended and the player does die when it hits a hazard as intended. The problem is that the player also dies when it hits the pick-up even when the blocks do not instruct it to, and the two collision items are in separate groups.

I am sure it is something really simple, so any light you can shed will be gratefully received.


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 / Re: Anchored actors disappear?
« on: February 14, 2012, 07:00:30 am »
I found one post that mentioned the collision detection could be attached to a different group to the actor. I checked this and this was not the problem.

Consequently, I have created a temporary work around for the actor collision issue. For now I have placed the death collision on the hazard rather than the player, although I am not sure if this method is as efficient and may cause me problems later.

See behaviour attached.

However, I still have not solved the anchor issue?

Any thoughts?

Ask a Question / Re: Anchored actors disappear?
« on: February 14, 2012, 05:15:32 am »
These problems are driving me mad, please help?

I have searched the forum and online and when I follow tutorials the same things happen even if I start again from scratch??

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 2