solids not working

For questions about using Classic.

Post » Wed Jan 27, 2010 1:37 am

Ah, I knew I forgot something :P

It's 0.99.82
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Jan 27, 2010 2:29 am

[quote="deadeye":3aleoiiv]Ah, I knew I forgot something :P

It's 0.99.82[/quote:3aleoiiv]
.82? I have .62
B
7
S
2
G
3
Posts: 139
Reputation: 2,331

Post » Wed Jan 27, 2010 3:17 am

So get .82 vv

It's always a good idea to have the latest build, even if you're just using it for testing. If you still want to make your game in .62 that's fine, you can have more than one version of Construct installed at a time.

Generally I assume that everyone has the latest build, it makes it easier on me when making example .caps.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Jan 27, 2010 4:01 am

Ok, I saw your example, but I need my sprite to move in a specific angle.
B
7
S
2
G
3
Posts: 139
Reputation: 2,331

Post » Wed Jan 27, 2010 7:32 am

Okay. Are you still set on using physics for your player movement? I assume the angle you want to move in is the angle in which the player is facing, like in your .cap.

If so, this might help you:

http://dl.dropbox.com/u/529356/physicsMove.cap
v0.99.82

Use arrows to move. This uses "Set Force towards Position," which is the easiest way I think to set up movement like this with physics. The position in this case is an image point on the player sprite itself. Open the sprite in the image editor to see where the image point is placed. There is also a second one at the back so you can move backwards.

You might notice though that it's still pretty floaty. It would take some tweaking to get it so the player doesn't slide around like that. Also, the elasticity and friction have all been set to 0 for both the player and the walls to keep from bouncing when you hit, or rolling when you sideswipe a wall.



Your might want to look at 8Direction or Custom Movement though. They both support collisions and can be customized for this kind of movement pretty easily, and you won't have any of the drawbacks of using physics for your player movement.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Jan 28, 2010 2:01 am

[quote="deadeye":9dqv3w6m]Okay. Are you still set on using physics for your player movement? I assume the angle you want to move in is the angle in which the player is facing, like in your .cap.

If so, this might help you:

http://dl.dropbox.com/u/529356/physicsMove.cap
v0.99.82

Use arrows to move. This uses "Set Force towards Position," which is the easiest way I think to set up movement like this with physics. The position in this case is an image point on the player sprite itself. Open the sprite in the image editor to see where the image point is placed. There is also a second one at the back so you can move backwards.

You might notice though that it's still pretty floaty. It would take some tweaking to get it so the player doesn't slide around like that. Also, the elasticity and friction have all been set to 0 for both the player and the walls to keep from bouncing when you hit, or rolling when you sideswipe a wall.



Your might want to look at 8Direction or Custom Movement though. They both support collisions and can be customized for this kind of movement pretty easily, and you won't have any of the drawbacks of using physics for your player movement.[/quote:9dqv3w6m]
Ohhh, I never thought of using image points, thanks. But out of all the movements, which do you think I should use?
B
7
S
2
G
3
Posts: 139
Reputation: 2,331

Post » Thu Jan 28, 2010 3:19 am

Ok, so check the file again, now i can't get going backwards to work.
B
7
S
2
G
3
Posts: 139
Reputation: 2,331

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests