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

Pages: 1
1
Ask a Question / Re: Need help!
« on: January 19, 2014, 08:59:06 pm »
Do you mean face right or left when shooting, or to shoot two bullets at once in both directions?

2
Ask a Question / Re: "topdown turret"
« on: January 11, 2014, 04:07:38 pm »
Stencyl defaults to degrees.  Make sure you use the "__ as radians" block.

3
Ask a Question / Re: A music loop problem...
« on: January 11, 2014, 03:35:03 pm »
It's because that code is in the "always" block, it executes every frame.

4
I tried speed and position, and they both get the jitters.  Mine was inconsistent too.  It drove me crazy for awhile too.

If you can find a solution that doesn't involve making either the player or the platform a sensor, let me know.  If you want to try making the platform a sensor, I'll can help.

5
Ask a Question / Best way to collaborate with other people?
« on: January 11, 2014, 02:24:52 pm »
Hi.  I am working on a game with other people.  I am doing all the programming, but I want my team members to be able to have access to a kit so they can test their art and sound directly.

What is most simple way to do this besides using Stencyforge?

6
Ask a Question / Question about custom Terrains.
« on: January 10, 2014, 11:27:59 am »
I'm trying to have ice terrain.  I know I can use actors, but from what I understand, using multiple actors is more expensive than tiles.

So I was wondering about Terrain.  I noticed I can assign different terrain to different groups besides Tile.  I have some questions about efficiency.

Is terrain more expensive than using tiles?  Does setting terrain to a group besides Tile cost more?  Does the size of terrain affect performance?

7
I had a similar problem.

Are you changing the position of the rider based on the position of the platform?  Are they both non-sensor actors?

If so, I think the jittering is caused by the collision system.  Every time the player's position changes, it slightly overlaps the platform.  This causes a tiny collision reaction.

I'm not sure how practical it would be for your game, but my solution was making a specific animation for riding.  This animation was set to a sensor, which stopped the collisions thus stopping the jittering.

8
One idea would be to try using:

Always
 Set x of self to x of platform
 Set y of self to y of platform
I have done this and offset the distance by the size of the player so it looks like player is just touching the platform.  The platform will still shake.

I tested offsetting the distance so the two wouldn't collide.  It worked, but even when the two actors weren't colliding there was still shaking.

Edit:  Messed around a bit.  Using position instead of speed solves the problem of sliding, but the actors will still shake very slightly when they are connected.

9
Ask a Question / Re: Character sticking to walls when in the air?
« on: March 11, 2012, 09:28:47 pm »
When it hits the wall, the speed you're applying to the actor is still in effect, so that force sticks the actor to the wall.

When the actor collides with a wall, you will have stop the horizontal force.  Something like,

If [if direction button] is down and not colliding on the [whatever side]
set X speed to [whatever]
How do you do not colliding? I can only find if colliding. :I
http://www.stencyl.com/help/viewArticle/67

10
Ask a Question / Re: Character sticking to walls when in the air?
« on: March 11, 2012, 05:28:46 pm »
When it hits the wall, the speed you're applying to the actor is still in effect, so that force sticks the actor to the wall.

When the actor collides with a wall, you will have stop the horizontal force.  Something like,

If [if direction button] is down and not colliding on the [whatever side]
set X speed to [whatever]

11
Emphasis on smoothly.  I'm working on a game where my player can cling to any side of a platform.  I am having trouble sticking to moving platforms perfectly.

When the player collides with the platform, I set the player's X and Y velocity to the same as the platform's velocity.  This works okay, but the player will slide a tiny bit and sometimes it looks like he is shaking rapidly.

If you have the "Jump and Run - Extended" kit, with the platform movement and ride platform behaviors, you see what I mean by setting the platform to move horizontally.

Pages: 1