Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Sliding down angles or hills

Author
Message
Game_Code_here
4
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 3rd Oct 2021 16:52
So When my player sprite is on a slope he slides a little, real slow.

I was hoping to speed up this by somehow making my sprites friction nothing while on hills.

but there is no way to do this.

Here is how im loading my player

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 3rd Oct 2021 20:25 Edited at: 3rd Oct 2021 20:29
Quote: "but there is no way to do this"

Are you sure about that?

SetSpritePhysicsFriction()
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 3rd Oct 2021 20:51
@GCH, check your PMs?
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
Game_Code_here
4
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 4th Oct 2021 07:41


SetSpritePhysicsFriction()

I tried this before I asked, and I played with it and nothing changed so I was confused.

This is why I posted this, I searched for slope questions and did not fin a answer. I am not sure if I am using SetSpritePhysicsFriction properly.

Login to post a reply

Server time is: 2024-11-21 18:11:22
Your offset time is: 2024-11-21 18:11:22