Commit Graph

1044 Commits

Author SHA1 Message Date
Benau
60cb0a1ccd Remove duplicated strings 2020-11-19 14:26:45 +08:00
Benau
8eb318675d Allow saving custom camera settings 2020-11-19 12:17:01 +08:00
QwertyChouskie
1e90c734a3
Condense checkboxes in video options
With the font size set to "Very Large" and the theme set to "Cartoon", the Apply button went slightly outside of the main box.  This fixes that by putting the two checkboxes on the same row, which saves a bit of valuable horizontal space.
2020-09-25 20:35:58 -07:00
Benau
4ed6c3ce7a Add missing whitespace 2020-09-04 21:46:35 +08:00
Alayan
073e5a4314 Improve the GP editor's track picker layout and behavior
This improves things for #4378 but is not a comprehensive solution. It also includes unrelated improvements to this screen.

- Switch from 2 track rows to 3 track rows. This allows to show more tracks at once. Nonetheless amount of white space between track pictures is still significant. Showing the track name below each track is part of the issue, as it needs space on the bottom and margins on the side to avoid track names overflowing onto each other. Word-wrap for track title would incur a small vertical cost while gaining a lot of horizontal space. Alternatively, the track names could be hidden and only shown on hover (like the game's main track selection screeen).
- Select the standard set of tracks by default instead of all.
- Reduce the amount of vertical spacing for the buttons below the track picker.
- Group laps/reverse and ok/cancel vertically instead of horizontally. This creates clear visual blocks, as the reduced vertical spacing didn't work out well otherwise.
- Add a new selected track picture. The selected track's name is always shown as title, but some users may miss it or not know track names well enough. Now, which track is going to be added to the GP when clicking ok is obvious.
- When selecting a different track, change the lap number to the track's default.
2020-09-03 21:14:11 +02:00
Benau
18d66db516 Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
QwertyChouskie
4270533f07
Fix button spacing in grand_prix_win.stkgui 2020-07-20 00:57:16 -07:00
QwertyChouskie
247d1162ee
Fix button spacing in grand_prix_lose.stkgui
On HiDPI these buttons were too small.
2020-07-20 00:56:26 -07:00
QwertyChouskie
519708ad0c
Fix "Custom" button padding in UI Options screen
Also simplify the surrounding code a bit.
2020-07-19 13:19:36 -07:00
Benau
32cc160630 Allow any addon karts in online with tux hitbox in physics
Live join and spectate are now possible too
2020-07-18 10:04:07 +08:00
Benau
296b38ea51 Allow track screen searching with name 2020-07-10 22:12:45 +08:00
Benau
e848713ed4 Improve english source 2020-07-10 13:07:27 +08:00
Benau
c487ad0166 Update translation source 2020-07-10 12:13:12 +08:00
Luffah
0a6a487b29
add camera settings in option screen (#4273)
* add camera settings in option screen

* Remove camera settings (distance, backward/forward angles, smoothing) from kart characteristics

Co-authored-by: luffah <luffah@runbox.com>
2020-07-10 11:39:19 +08:00
Benau
5feed3186a Hide the anonymous hardware statistics button because server is down 2020-06-16 14:07:49 +08:00
Benau
d2474f79aa Update strings for iOS STK 2020-06-13 16:16:27 +08:00
Benau
3d74dfea34 Add team chat for online team game 2020-05-08 09:21:37 +08:00
QwertyChouskie
a776650986
Modern skin (#4265)
* Modern skin
The culmination of years worth of work!  Thanks to all who helped make this as amazing as possible!
PNGs were ran through `pngquant` then `optimize_data.sh` for maximum smallness

* Shrink a multitude of icons
Ran through `optipng` then `optimize_data.sh`
2020-05-08 01:16:55 +08:00
Benau
70a9aaf5a5 Rename Exit Race to Quit Server to avoid confusion 2020-05-05 10:40:31 +08:00
Benau
980bc0903a Use a better english source for clearer translation 2020-05-01 12:21:32 +08:00
Benau
11757a557a Update gui strings and hide some button for mobile stk (with gamepad) 2020-04-28 10:20:24 +08:00
luffah
cd7aa2c90c replace split screen horizontal checkbox by a spinner vertical/horizontal 2020-04-19 15:56:49 +02:00
QwertyChouskie
c840b2b2c9 Use better icon for adding friend 2020-04-08 18:17:07 -07:00
Benau
b7adc72cb9 Fix missing icon swap-icon.png 2020-04-03 13:32:03 +08:00
QwertyChouskie
ea4d3c03a9
Allow theming of powerup/attachment icons (#4258)
* Allow theming of powerup/attachment icons
Icons were optimized with `pngquant` then `optimize_data.sh`

* Change help screens to use icons from icons folder rather than `models`
2020-04-03 13:18:50 +08:00
QwertyChouskie
da5cbee577 Fix missing track icon on track info screen not being themed
Also fixes the aspect ratio and increases the resolution.
2020-03-28 18:19:51 -07:00
QwertyChouskie
3c627170ee Increase size of Loading icon
Also center the whole icon+text to the center of screen, rather than
centering the icon and putting the text below
2020-03-20 12:10:35 -07:00
Benau
1b3cc83235 Avoid using android robot icon 2020-03-15 14:05:41 +08:00
Benau
7174bcb741 Change help for touch device 2020-03-15 13:55:40 +08:00
Benau
840a8cbb2d Add tablet icon for touch device icon 2020-03-15 13:54:28 +08:00
Benau
490bb88cb0 Fix wrong size of accelerator icon in init dialog 2020-03-13 00:20:27 +08:00
Benau
1ea75b5f0e Update translation string 2020-03-07 11:53:43 +08:00
Benau
bd513646ac Show a better change team text for multitouch device 2020-03-01 10:17:00 +08:00
Deve
11cac8f631 Fixed bad accelerometer icon proportion 2020-02-23 18:24:41 +01:00
GuillaumeBft
2ff79baf26
Add rename config option (#4233)
* Add rename config option

* xmlDe/Encode to deal with " character

* m_config_name string -> stringw

* wcslen() -> empty() , remove useless c_str()
2020-02-19 00:37:26 +08:00
riso
740d57a2c4
Show kart direction by an arrow in soccer (#4230)
* Show kart direction by an arrow in soccer

* bug fix

* bug fix

* correct grammar
2020-02-16 16:31:30 +08:00
Benau
7ba8dfd0a0 Adjust size for some language 2020-02-03 16:11:09 +08:00
Benau
b816f94269 Add a continue button for multitouch device in kart selection 2020-02-03 15:31:25 +08:00
Benau
a079019bb2 Fix possible too long translation 2020-02-02 16:38:26 +08:00
QwertyChouskie
a68e652fa6 Skin padding implementation (#4195)
* Implement box model spacing for skin elements

* Account for padding when spacing out on-screen keyboard

* Fix padding for Tutorial button on Help screen

* Reduce spacing between tabs
(Also removed a couple duplicated files.)

* Change verticalTab margin as per Benau's request
Uses `vborder_out_portion`, which is how it was done before.

* Remove duplicate files

* Adjust spacings after PNGs were adjusted in a previous commit

* Improve spacing of verticalTabs

* Slightly increase the tabbar width in the Options screens

* Slightly increase the tabbar width in the help screens
2020-01-13 13:02:50 +08:00
Deve
8e19e96a9e Add easier way to change touch controls type 2019-12-29 00:04:45 +01:00
Benau
82cbf3b09f Fix not enough space for uninstall full game assets button 2019-12-25 13:29:56 +08:00
Benau
fb6bedc101 Enable word wrap in screens where text could be too long 2019-12-25 12:21:27 +08:00
Benau
1e99d8cbbb Improve addons screen layout 2019-12-18 14:29:27 +08:00
Alayan
ad8ef2df11 Fix #3376
The UI layout should be improved, but functionality and translatable strings are there as needed.
2019-12-18 04:25:18 +01:00
DoggoOfSpeed
5273dac899 Fix #4149 (#4171) 2019-12-14 08:48:50 +08:00
Benau
0c10389333 Fix overflowed list in addons screen 2019-12-11 01:13:16 +08:00
GuillaumeBft
1115118a13 Show only possessed checkbox in addons screen #3376 (#4162)
* Show only possessed checkbox in addons screen

* add var w_show_possessed

* Update addons_screen.stkgui
2019-12-11 00:12:45 +08:00
杜茂森
340ec706b0 UI fix bundle XIII (#4138)
* UI fixes && Icon support for powerups

* Better loading icon size

* Fix #4145

* Fix a small bug

* Add alternative icon support & avoid duplicating icons
2019-11-28 16:13:00 +08:00
Benau
10a125c407 Fix string after icon name update 2019-11-27 12:23:47 +08:00
Deve
426be8f3c1 Add continue button to cutscenes 2019-11-24 00:55:57 +01:00
Alayan
325f19d30b Improve the layout of the GP info screen 2019-11-10 23:17:50 +01:00
Deve
fb4ecf6a00 Better fix for icon button alignment 2019-11-10 10:25:19 +01:00
Benau
f4da9718c5 Fix gui warnings 2019-11-08 16:24:58 +08:00
Deve
435e8c3747 Revert "Allow to use "extremely large" font size."
This reverts commit 4f9070ee53.
2019-11-07 22:57:13 +01:00
Alayan
f693e32bd6 Improve the general option screens with large font size 2019-11-07 22:44:27 +01:00
Alayan
658345c9ff Improve in-race chat
* Limit in-race chat to 3 lines instead of 5
* Add an option to disable in-race chat (while keeping lobby chat)
2019-11-07 22:25:04 +01:00
Deve
4f9070ee53 Allow to use "extremely large" font size.
It looks fine in most places.
2019-11-07 22:01:25 +01:00
Deve
b5f3fafaac Slightly increase button size for android 2019-11-07 21:33:58 +01:00
杜茂森
f169ed82a3 UI fix bundle XII (#4114)
* Change arena addon icon

* Categorize UI

* Give small margin

* Better icon size in help

* Several screen fix

* Fix bug

* Better GP line size

* Give more space to texts

* Better size
2019-11-07 19:01:28 +01:00
Benau
9d75b706d5 Remove warnings 2019-11-07 14:40:10 +08:00
Alayan-stk-2
770d02b19b
Compute and display a story mode timer (#4121)
This is the result of my previous work, with a port of the timer version that was developed for a 1.0 mod. It has been used by several players so no major issue should exist, though UI and other elements may require adjustment to smooth some rough edges.

It features both a casual story mode timer storing the total time to complete the story mode (on by default) and a "speedrun" timer (off by default). The casual timer is paused whenever the player exits story mode, and supports play over multiple sessions. It is only displayed in the overworld and during challenges ; while the speedrun timer is permanently displayed.

Fix #2907
2019-11-01 13:25:27 +01:00
Benau
033933d3a2 Hide ipv6 button in LAN server selection 2019-11-01 10:49:31 +08:00
Du maosen
6dd5800701 Fix#4117 (#4119)
* Fix #4117
2019-10-29 16:14:12 +01:00
Benau
7caa24859c Update translation strings 2019-10-29 12:43:50 +08:00
Benau
ac7310602e Hide donation button until there is a gift package 2019-10-28 16:58:44 +08:00
Alayan
50988c6c60 Fix #3687 2019-10-26 02:28:42 +02:00
Deve
4be93daa83 Add small left margin to all back buttons 2019-10-24 22:25:49 +02:00
Alayan
102498f130 Separate DoF and motion blur from the main graphics preset 2019-10-24 15:56:42 +02:00
Alayan
b4b346e7a6 Fix #4103 2019-10-21 22:49:54 +02:00
Deve
9dde7aee95 Use default height for spinners in gui options.
Also move them to the left side to give more space for labels.
2019-10-18 18:12:03 +02:00
Deve
ade98f730b Move vsync spinner above "custom" button 2019-10-18 18:10:28 +02:00
Benau
1a7a8bdc14 Make karts powerup in gui an option 2019-10-18 12:03:36 +08:00
Benau
e93bc64ef3 Use Splitscreen Multiplayer to avoid lan game confusion 2019-10-09 15:29:52 +08:00
Benau
396e55a39d Show android robot icon for bots in lobby 2019-10-09 15:28:09 +08:00
Benau
9e0da6a283 Update translation source 2019-10-08 09:15:01 +08:00
Deve
70469dafb5 Use shorter name for user interface tab 2019-10-06 23:20:30 +02:00
Deve
72e364a38d Some GUI tweaks 2019-10-05 23:48:44 +02:00
Deve
755b8a2f1b Slightly increase back button size and more consistent header pos/size 2019-10-05 23:44:14 +02:00
riso
657e02efe4 Clean icon name (Improve PR#4073) (#4081)
* fix icon names

* add file mode_weapon.png
2019-10-06 01:14:09 +08:00
MiM
1de0693402 resolution issue #4070 (#4073) 2019-10-03 13:40:43 +08:00
Du maosen
71fec6780c Icon button for race result (#4071)
* Icons for race result

* Fix bugs && improvements

* Tabs to spaces

* Fix bugs && improvements
2019-09-30 15:33:07 +08:00
Deve
98d8aca91a Add half vsync to gui 2019-09-28 22:19:03 +02:00
Du maosen
8316d91469 Some improvements for soccer AI spinner (#4069)
* Improve code

* Bigger space in track info

* Bug fix && improvements

* Bug fix && improvements

* Bug fix && improvements
2019-09-26 10:12:24 +08:00
riso
0547e1e469 Add options to control the number of red/blue AI in soccer mode (#4063)
* Add options to control the number of red/blue AI in soccer mode (offline)

* fix a bug related to the upper bound when AI num=0 and trying to lower the number

* forgot to fix this

* remove the Balanced/Custom spinner

* improve the AI number spinner's behavior at lower bound

* Hide blue ai number setting if not soccer

* move getting red/blue players number to function TrackInfoScreen::getRedBluePlayerNumber()

* Tab to Space

* rename local variable m_xxx to num_xxx

* bug fix

* improve the default AI number: try the previously used one, if cannot use the previous, recalculate the AI number using balanced
2019-09-23 21:59:17 +08:00
riso
0e4f875443 Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6 2019-09-03 14:24:03 -05:00
Benau
850d270260 Allow choosing IPV6 connection in server selection screen 2019-08-21 12:00:50 +08:00
Benau
1551bdaaaa Add gyroscope icon and use it in init android dialog 2019-08-17 00:47:56 +08:00
Benau
ce2c442402 Add accelerator with handle icons 2019-08-17 00:13:57 +08:00
Benau
41a74817f7 Allow steering wheel following touchscreen control with acceleration indicator 2019-08-16 21:56:21 +08:00
Benau
96ebdcce46 Remove unused stkgui 2019-08-13 01:11:01 +08:00
Benau
4200f0ca59 Allow install full game assets from stk server 2019-08-08 16:38:53 +08:00
dumaosen
bee235a65c UI fix bundle XI (#4018)
* Prettier server conf

* Better icon size for race result

* Delete useless min value
2019-07-24 01:44:53 +08:00
Benau
5cc5780f28 Add download assets screen for mobile stk 2019-07-24 01:33:12 +08:00
Benau
3e51fadc09 Improve english 2019-07-18 15:47:47 +08:00
Alayan
40a8411090 Restore replay list density, and keep a consistent tab size 2019-07-17 20:12:10 +02:00
dumaosen
2818a1870e Delete nobest (#3987)
* Delete nobest

* Make supertux locked
2019-07-06 09:58:20 +08:00
dumaosen
5d676387bc
Add a spacer under title 2019-06-27 06:32:03 +08:00
dumaosen
deba0b41ef Bigger icons 2019-06-26 22:19:12 +08:00
dumaosen
da84b8598b Smarter space 2019-06-26 22:06:23 +08:00