Teeworlds: Add slopes

Created on 3 Sep 2010  ·  47Comments  ·  Source: teeworlds/teeworlds

It seems it was planned to add slopes in tw: http://www.teeworlds.com/forum/viewtopic.php?pid=4063#p4063

Is there still a plan to add them? I think it would be a great feature.

code-related feature forum discussion gameplay

Most helpful comment

In case you are still interested in slopes I put this here https://www.teeworlds.com/forum/viewtopic.php?id=10476 to github and merged it with current 0.7: https://github.com/H-M-H/teeworlds/tree/slopes_merge_try
(without merge: https://github.com/H-M-H/teeworlds/tree/slopes)
Binaries: https://github.com/H-M-H/teeworlds/releases/tag/slopes-0.7
(you need to add data folder manually atm as make_release.py does not work properly)

All 47 comments

Haven't matricks said he don't want slopes? Well, in my opinion this is a good feature.

"We will experiment with slopes etc in the future."
"Slopes has been discussed and will probelby be added at some point but nothing decided yet."
matricks in 2008

how do you want to display tees on slopes? and the walkspeed?

i think slopes should be for sliding down not to run up

I think slopes is a good idea, and even if there arent slopes, atleast somthing too make entities only over the sides : example of the glitch : http://b.imagehost.org/0035/diagonal.png

i found a simple solution to create the slope in 45° 135° 225° 315°.
We just need 2 new tile in entities.png, 1 for hookable slope & 1 for unhookable.
For have 4 directions just use rotation or mirror(flip) in the map editor.
When collisions will be initialized, we must check also tile's flags, for interpretate in which type rotation the slope is drawed.
Will be easy on mapping, because we can use flip Vertical, Horizontal & rotation, and direction shown will corrispond to the effective.
I already thinked also how it should work, well integrated and calculated respecting Physic's laws, like gravity influence on climbs or descents....
i need some day to prepare a preview

i done my idea, not perfect yet, but work enough well, if someone want to adjust my small error, or would optimize my code, ask me, that i will put a.patch file to download

CarmineZ, Send the patch my way, Ill look for any bugs :-)

disregard that troll. i PM you

Kid, Shut up.

at carminez, I'll test it with some friends, Is it bad if more than 2 people see it? ( like for testing )

"Kid, Shut up."

said 13 year old troll to 20+ year old guy

just hilarious

Demonul, Josh, Julian, Flamin or who ever you are you fucken FAKE stop wasting all our time

and get a life

http://solidfiles.com/d/abee/ <--------- try
most important is to correct movebox, because not very good

wtf u talking abou tsin? fake?? lol

@CarmineZ, Found 1 bug: You know somtimes you can be at the corner of a collision tile and u get stuck? well this happens alot on slopes.

EDIT1: I think going down should be faster than going up.

i know, i tried & search a simple solution with minor stress for cpu, but will be better a stable solution.... going down is already more fast than going up!!! Main problem is the round(Position) that don't collide correct with slopes.....
i already thought too much for slopes creation (i don't sleeped the night for them!!!), so i hope someone will be able to create them correctly, i'm going in a reflection pause

other than the 2 things i posted, i really like it ^.^

I think mabye also you should "stick" too the ground, Like if ur going down hill, u somtimes just jump off... same thing happens with going up.

i know that problem, than, have you thought a bit how to solve?

im not really a coder oll... just saying a glitch i found, plz list all the things u know about so i dont re-post them.

i created a branch --> https://github.com/CarmineZ/teeworlds/tree/slope
so will be more simple to communicate and to find a solution,
and i explained better what i edited, now entities.png with a sample map & slope.png are included into repository!

i have found a my little error, now slopes are very better

oops this was supposed to be a PM :S

asi said on his commit, currently there is a really weird bug with walking on them.. u dont see urself moving until u stop, and it looks like you've teleported away!

looks like you didnt download the latest client, you havent got the newest version, or CarmineZ updated privately

my public branch is up-to-date, obviously need build/complile Server and also Client for a correct test

flamin -.-"

what hein? and also oo... ok gotta build new client..

http://www.teeworlds.com/forum/viewtopic.php?id=7447
opened a server for massive testing, and a topic forum for opinions

Found a little bug. http://min.us/mvj1sxo

i know, because tee haven't his feet on ground, so can't jump, isn't a bug, i leaved it as is....normally you can use only one air-jump without retouch ground, so i though that a corner, can't be considered a stable ground to can jump from it, but my is only a suggestion to interpretate slopes, i hope official staff can make slopes for 0.6, based on my code or without my code

I haven't tested your version but why don't we make it simple? Let's just "emulate" the slopes. This means the slope is just like a normal tile. There are no special physics for it. The only difference is that the height of the Tee changes on the slope.

For example: You can run hills up and down without jumping and without any speed changes or falling effects from fast downhill running.

you haven't tested..., but have you read the code at least? My slope is already very simple, it is already a normal tile without any special physics or tuning..., so, test it before, could your help be very usefull to improve it, since i know here ther are many good programmers

I haven't tested it because I read already in your thread that there are physics implemented. That's why I said we should keep it simple.

it's only the standard physic of teeworlds rotated for the slope.....
... there isn't a way more simple, i tryed many ways before find this one,
now i thank "God", because i had lost the hope to be able creating slopes

but well, i am very happy if someone or we, will improve this feature

slope HOPE is dead

Why is it dead, CarmineZ?

i think needs do better the movebox, testbox and related functions

Since the published binaries are Windows only, and the source seems to be gone/missing, here's a video of the slopes from CarmineZ's mod: http://piecode.tk/video/uploads/?search=teeworlds%20slopes

"so i thought that a corner, can't be considered a stable ground to be able jump from it" ~_CarmineZ (grammar tweaked)_
I personally think this is a bad idea, because if you land on the corner of a normal tile (in 0.6, not sure about 0.7) you get your jump back, and corners are corners. Corners should be consistent with eachother regardless of how they are produced, because to the player..corners are corners.

I have the source code of carminez final creation on a hard drive
somewhere. I'll attempt to find it some time, so people can see the code.

Sent from my phone.
On 31/03/2015 12:32 PM, "Jeffrey" [email protected] wrote:

Since the published binaries are windows only, and the source seems to be
gone, here's a video of the slopes:
http://piecode.tk/video/uploads/?search=teeworlds%20slopes

"so i thought that a corner, can't be considered a stable ground to be
able jump from it" ~CarmineZ
I personally think this is a bad idea, because if you land on the corner
of a normal tile (in 0.6, not sure about 0.7) you get your jump back, and
corners are corners. Corners should be consistent with eachother regardless
of how they are produced, because to the player..corners are corners.


Reply to this email directly or view it on GitHub
https://github.com/teeworlds/teeworlds/issues/93#issuecomment-87894639.

Arent't this his sources?: Teeworlds Forum
Or is that wrong?

CarmineZ's slope mod isn't the one mentioned here https://www.teeworlds.com/forum/viewtopic.php?pid=110876#p110876

In fact, I wanted to download your version to compare with mine, but I have not found... have you the source or the windows version (corresponding to Landil topic)?

Didn't code the version in Landil's topic and unfortunately don't have a copy of that source.

@Henningstone those source links are dead/404 now, though. EDIT: CarmineZ updated the links, nevermind :).
I think it's time we make the landil/inherited slopes source public for review, extensive testing and polishing. _Once it's made as well as it can be made_, we should discuss the possibility of merging it with 0.7.
Teetime apparently had a copy of Landil/Inherited's slopes source and uploaded it here _(edit: link down, use mirror)_ and I'm mirroring it here. Thanks Teetime :)

Here's the source code for CarmineZ' slopes: https://github.com/MegaManSec/CarmineZ-Teeworlds-Slope

In case you are still interested in slopes I put this here https://www.teeworlds.com/forum/viewtopic.php?id=10476 to github and merged it with current 0.7: https://github.com/H-M-H/teeworlds/tree/slopes_merge_try
(without merge: https://github.com/H-M-H/teeworlds/tree/slopes)
Binaries: https://github.com/H-M-H/teeworlds/releases/tag/slopes-0.7
(you need to add data folder manually atm as make_release.py does not work properly)

Gameplay discussions have been moved to the Development forum.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ignatenkobrain picture ignatenkobrain  ·  5Comments

AssassinTee picture AssassinTee  ·  4Comments

oy picture oy  ·  4Comments

Dune-jr picture Dune-jr  ·  4Comments

Sonix- picture Sonix-  ·  3Comments