Page 1 of 1

Learning programming - changing the floaty controls

PostPosted: 28 Jan 2017, 22:03
by ichhabkeinname
Hello,

I'm new here and I'm learning to program and have decided to contribute to this project. I really like the fact that SuperTux is free and open source.

How do I set things up so that I can begin?

I'm thinking that the first thing I can contribute towards is to improve the floaty controls. I have an old super nintendo and have played Mario and SuperTux side by side. The controls of SuperTux can be very difficult to control when there are a lot of narrow platforms, he keeps sliding around and falling off platforms, Mario doesn't seem to have that problem.

Would this be too much for me as a beginner?

Thank you,

Re: Learning programming - changing the floaty controls

PostPosted: 29 Jan 2017, 19:42
by Tobbi
Moinsen,

if you're a beginner, I am not sure if you can easily navigate around the source code of SuperTux.

You can find installation instructions here:
https://github.com/SuperTux/supertux/bl ... INSTALL.md

If you want to try, this is the class where the player controls are coded:
https://github.com/SuperTux/supertux/bl ... player.cpp

--Tobbi

Re: Learning programming - changing the floaty controls

PostPosted: 01 Feb 2017, 17:04
by 164your5
can we not tbh? i like supertux's controls and the game is easy enough as is

Re: Learning programming - changing the floaty controls

PostPosted: 04 Feb 2017, 04:19
by Alzter
I think we should, because the controls can be very hard to manage, especially in the later levels.

Re: Learning programming - changing the floaty controls

PostPosted: 06 Feb 2017, 18:35
by brmbrmcar
I'd like some flexibility with it. However that'll mess up difficultly and make things unfair. And improving them may break a few levels (as in make them far to easy or too hard). However, PLEASE don't make the controls like Mario. I've tried it a couple of times and I HATE IT.

Re: Learning programming - changing the floaty controls

PostPosted: 06 Feb 2017, 18:41
by VNS
Flexibility would be nice, but yes, difficulty would become unfair. However, I honestly don't see why not, because the game already has a cheat menu and a console available in every level.

Re: Learning programming - changing the floaty controls

PostPosted: 07 Feb 2017, 19:54
by brmbrmcar
True