supertux icon indicating copy to clipboard operation
supertux copied to clipboard

SuperTux source code

Results 420 supertux issues
Sort by recently updated
recently updated
newest added

WebVersion: add option to toggle fullscreen-mode and force landscape mode

[{"_id":"6324dda6d7e37411a8303c92","body":"You can make the game fullscreen through the usual means: from the main menu, in \"Options\", you have a checkbox for fullscreen mode, which should work as expected.\r\n\r\nAs for locking the device in a certain orientation, this does not seem to be (reliably) possible from the web version, given that browsers don't want to let websites force too much stuff on the user. It seems to be possible in certain browsers - [unfortunately not Safari](https:\/\/caniuse.com\/#feat=screen-orientation) - but it seems to be a discouraged practice. It would be better if you manually enable rotation lock in your OS control dock instead.\r\n\r\nThere is a technology that would allow us to let you put, on your desktop, a quick link to the game. Those are [Progressive Web Apps](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Progressive_web_apps). It is in the plans to add this to SuperTux, but it would require a certain amount of time and energy, so I can't really promise to get it done anytime soon. (For the other devs, it seems that [PWAs support forcing screen orientation](https:\/\/stackoverflow.com\/questions\/14360581\/force-landscape-orientation-mode), although there is no way to give the user the option to control that, so I'd recommend letting the users use their OS features as described above instead of forcing an arbitrary choice on all users.)","issue_id":1660124976661,"origin_id":1209906983,"user_origin_id":66701383,"create_time":1660079975,"update_time":1660079975,"id":1663360422712,"updated_at":"2022-09-16T20:33:42.712000Z","created_at":"2022-09-16T20:33:42.712000Z"},{"_id":"6324dda6d7e37411a8303c93","body":"many mobile browsers do not have a fullscreen button (like firefox for android) but are capable of showing sites\/webapps in fullscreen mode as they request it, so it would be nice if you could add a toggle fullscreen button to do so...\r\n\r\nlandscape mode is not that problem but fullscreen button would be nice","issue_id":1660124976661,"origin_id":1214131572,"user_origin_id":45161625,"create_time":1660385200,"update_time":1660385200,"id":1663360422716,"updated_at":"2022-09-16T20:33:42.715000Z","created_at":"2022-09-16T20:33:42.715000Z"},{"_id":"6324dda6d7e37411a8303c94","body":"> many mobile browsers do not have a fullscreen button (like firefox for android) but are capable of showing sites\/webapps in fullscreen mode as they request it, so it would be nice if you could add a toggle fullscreen button to do so...\r\n\r\nAs I said in my first comment, such a button already exists (it always has) and is accessible from:\r\n> [...] the main menu, in \"Options\", you have a checkbox for fullscreen mode, which should work as expected.\r\n\r\nIs the option missing or dysfunctional?","issue_id":1660124976661,"origin_id":1221396257,"user_origin_id":66701383,"create_time":1661025133,"update_time":1661025133,"id":1663360422719,"updated_at":"2022-09-16T20:33:42.718000Z","created_at":"2022-09-16T20:33:42.718000Z"},{"_id":"66181f4a2186caae7805f0a7","body":"Closing due to inactivity.","issue_id":1660124976661,"origin_id":1848978453,"user_origin_id":583169,"create_time":1702217950,"update_time":1702217950,"id":1712856906179,"updated_at":"2024-04-11T17:35:06.179000Z","created_at":"2024-04-11T17:35:06.179000Z"}] comment

**SuperTux version: v0.63-569** **System information: tablet with firefox-webbrowser** *(details about your kernel, operating system, or distribution)* Hi, thanks a lot for allowing to play supertux in every modern browser, it...

Dispensers should have the ability to dispense objects since dispensers can dispense enemies, so why not objects? This would be a fun feature

type:idea
involves:functionality
category:code

Pressing Left, Rshift and Click disables grid snapping in editor

[{"_id":"6324dffed7e37411a8303d21","body":"Apparently this is intended key shortcut. Hold one of shift keys (left or right) then move object with mouse. I propose this change: right shift should be used to move quicker with arrows and left shift to disable grid snapping.","issue_id":1660124976669,"origin_id":1206225137,"user_origin_id":63350514,"create_time":1659690620,"update_time":1659690620,"id":1663361022803,"updated_at":"2022-09-16T20:43:42.803000Z","created_at":"2022-09-16T20:43:42.803000Z"}] comment

v0.6.3-548-g81809dd5e win10 press left, Rshift and click, it should disable grid snapping. might work with other directions. this shouldn't be a thing. Rshift is useful for navigating a level in...

This allows users to disable sound positioning entirely from a config entry. Observations, remarks, caveats: - Sounds that are played far away from the screen are very audible when the...

type:feature
status:needs-work

Drag drop install addons

[{"_id":"6324de369db0c237937fe9ea","body":"Will review the PR in full in a bit","issue_id":1660124976674,"origin_id":1159026798,"user_origin_id":66701383,"create_time":1655482172,"update_time":1655482172,"id":1663360566696,"updated_at":"2022-09-16T20:36:06.695000Z","created_at":"2022-09-16T20:36:06.695000Z"}] comment

This is still kinda work in progress...there have been some crashes here and there if I can still remember. I'd like for people to try this out though.

status:in-progress
type:feature

List object names within editor toolbox

[{"_id":"6324ddcfa6ecce368d5c3bad","body":"A potential solution to avoid having to create an object to get its name would be to refactor all GameObjects to add a static class function that would return the object's name and classname, and to have the virtual member (non-static) functions to fetch the names and classnames from their static counterparts. The GameObjectFactory class could then be refactored to allow calling the correct static function from the classes it holds, which could be used for this PR.\r\n\r\n<sub>This is something I had planned doing for a certain fork.<\/sub>\r\n\r\n-----------------------------\r\n\r\nIn short:\r\n```cpp\r\n...\r\n\r\nclass MyGameObject : public GameObject\r\n{\r\npublic:\r\n static std::string classname() { return \"mygameobject\"; }\r\n static std::string name() { return \"My GameObject\"; }\r\n\r\n...\r\n\r\n virtual std::string get_classname() const { return classname(); }\r\n virtual std::string get_name() const { return name(); }\r\n\r\n...\r\n\r\n};\r\n\r\n...\r\n```\r\n(I don't remember how the currently existing functions are named, just make sure the static functions don't share names with the non-static ones)\r\n\r\nAs for the GameObjectFactory, I suppose there is a template somewhere; say the template is called `T`, you can invoke one of its static functions with `T::name();`.","issue_id":1660124976676,"origin_id":1159025202,"user_origin_id":66701383,"create_time":1655482057,"update_time":1655482057,"id":1663360463516,"updated_at":"2022-09-16T20:34:23.515000Z","created_at":"2022-09-16T20:34:23.515000Z"}] comment

Adds the ability for an object's name to be shown in the editor toolbox, when the mouse cursor hovers over it. ![image](https://user-images.githubusercontent.com/78196474/174139923-a7888664-732c-4253-afb8-7c9709d23f97.png) **Potential issue:** Currently, the toolbox gets an object's...

type:feature

Fixes various issues, regarding TextObject and TextArray: * Fixes #2256: Adds the missing `set_front_fill_color()`, `set_back_fill_color()`, `set_text_color()` and `set_roundness()` functions to TextArray, which only modify the current TextObject. * Closes #2257:...

type:bugfix

Remove hardcoded tile IDs for electrocution

[{"_id":"6324e0900d68a95f041b7937","body":"My suggestion is that we wait for the tileset PR (#2136) to be finished, and then after that, update tiles.strf in this PR to include the thunderstorm tile changes. Otherwise, this looks good.","issue_id":1660124976679,"origin_id":1214249622,"user_origin_id":39805490,"create_time":1660435641,"update_time":1660435641,"id":1663361168222,"updated_at":"2022-09-16T20:46:08.222000Z","created_at":"2022-09-16T20:46:08.222000Z"}] comment

Removes hardcoded tile IDs, used for water electrocution in `thunderstorm.cpp`. They are now defined in the newly created `additional` category for additional attributes and properties in tileset files. Importing the...

status:conditional
type:bugfix

- screenshots need to be placed in either `` or `` tags to be compliant - update homepage - drop outdated mailinglist address - add additional urls see also: https://freedesktop.org/software/appstream/docs/chap-Metadata.html