Learning programming - changing the floaty controls

Learning programming - changing the floaty controls

Postby ichhabkeinname » 28 Jan 2017, 22:03

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,
ichhabkeinname
 
Posts: 1
Joined: 28 Jan 2017, 21:42

Re: Learning programming - changing the floaty controls

Postby Tobbi » 29 Jan 2017, 19:42

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
SuperTux developer.
User avatar
Tobbi
SuperTux Moderator
 
Posts: 353
Joined: 12 Oct 2013, 13:08

Re: Learning programming - changing the floaty controls

Postby 164your5 » 01 Feb 2017, 17:04

can we not tbh? i like supertux's controls and the game is easy enough as is
164your5
 
Posts: 23
Joined: 13 Sep 2015, 16:22

Re: Learning programming - changing the floaty controls

Postby Alzter » 04 Feb 2017, 04:19

I think we should, because the controls can be very hard to manage, especially in the later levels.
User avatar
Alzter
 
Posts: 330
Joined: 01 Apr 2016, 10:18

Re: Learning programming - changing the floaty controls

Postby brmbrmcar » 06 Feb 2017, 18:35

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.
brmbrmbrmbrmbrmbrmcar
User avatar
brmbrmcar
 
Posts: 357
Joined: 24 Oct 2015, 14:46

Re: Learning programming - changing the floaty controls

Postby VNS » 06 Feb 2017, 18:41

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.
Hello there!
User avatar
VNS
 
Posts: 151
Joined: 30 Nov 2016, 21:40
Location: on a planet named Earth

Re: Learning programming - changing the floaty controls

Postby brmbrmcar » 07 Feb 2017, 19:54

True
brmbrmbrmbrmbrmbrmcar
User avatar
brmbrmcar
 
Posts: 357
Joined: 24 Oct 2015, 14:46

Who is online

Users browsing this forum: No registered users and 1 guest