Dean Herbert
ee463dc65c
Merge pull request #77 from NeoAdonis/counters-a
...
Rolling counters
2016-10-19 15:06:00 +09:00
Thomas Müller
68476eafb9
Use DrawSize instead of Size whereever Size was previously read due to framework changes.
...
Note, that this was just stupid replacement. Many components will likely want to actually read Size and not DrawSize. We may want to do a pass over this at some point, but for now everything is working like this. (Old behavior.)
2016-10-18 18:53:31 +02:00
Adonais Romero González
eeacd85073
Protect RollingCounter props
2016-10-17 21:40:50 -05:00
Adonais Romero González
5abc3ba898
Merge remote-tracking branch 'upstream/master' into counters-a
2016-10-17 20:36:04 -05:00
Adonais Romero González
72c4dc344e
Misc. fixes and improvements
2016-10-16 18:30:25 -05:00
Adonais Romero González
a671765a4f
Modified ManiaComboCounter behavior
...
This to match more with the current behavior in osu!mania.
2016-10-16 17:45:37 -05:00
Adonais Romero González
2c06764b79
Better safe than sorry
2016-10-16 17:10:08 -05:00
Thomas Müller
53076f6446
Modify osu! logo to use new CircularContainer.
2016-10-16 19:26:56 +02:00
Thomas Müller
b3e531b98c
Remove implementation of WedgedBox and use Shear transformation instead.
2016-10-16 14:10:24 +02:00
Thomas Müller
7751a85e14
Update framework.
2016-10-16 14:10:06 +02:00
Adonais Romero González
15c6a563be
Moved ComboResultCounter to right namespace
2016-10-15 22:24:03 -05:00
Adonais Romero González
862dc1d7c7
Tidying code and restricting methods
2016-10-15 19:07:07 -05:00
Adonais Romero González
84dcb63ad2
Changed ComboCounter format...
...
...to improve value management.
2016-10-15 18:06:31 -05:00
Adonais Romero González
0ceb72ba42
More refactoring
2016-10-15 15:16:02 -05:00
Adonais Romero González
a15f4cda44
Tidying
2016-10-15 15:03:51 -05:00
Adonais Romero González
c268500f89
Minor variable change
2016-10-15 14:01:11 -05:00
Adonais Romero González
9241287c79
Merge branch 'master' into counters-a
2016-10-15 13:45:55 -05:00
Thomas Müller
1d8ff5fe46
Use circular hover region for osu! logo.
2016-10-15 15:31:16 +02:00
Adonais Romero González
6bd3eaf37d
Changes according to review + Refactor
2016-10-14 18:23:27 -05:00
Dean Herbert
123d92f5b9
Merge pull request #71 from huoyaoyuan/tidy-up
...
Strongly type specifications
2016-10-14 18:57:42 +09:00
Huo Yaoyuan
cb54d33c6e
Make converter instance per-convert.
2016-10-14 17:48:07 +08:00
Huo Yaoyuan
254cc87578
Use name ToggleVisibility.
2016-10-14 05:02:13 +08:00
Huo Yaoyuan
1c97edaac2
Base class for overlays.
2016-10-13 23:04:57 +08:00
Huo Yaoyuan
c93a440d3b
Make Options:IStateful.
2016-10-13 22:27:37 +08:00
Huo Yaoyuan
ac66c08991
Make converter per-instance.
2016-10-13 21:55:49 +08:00
Huo Yaoyuan
45a9249306
Move implementation of HitRender.Converter to base class using an abstract Converter property.
2016-10-13 21:14:18 +08:00
Dean Herbert
2566d6bfe0
Fix regressions with HitRenderers, while also cleaning them up.
2016-10-13 10:10:15 +09:00
Dean Herbert
aa96d98822
Merge branch 'master' into limit-game-access
...
Conflicts:
osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs
osu.Game/GameModes/Menu/ButtonSystem.cs
osu.Game/Online/Chat/Display/ChatLine.cs
osu.Game/OsuGame.cs
osu.Game/Overlays/ToolbarButton.cs
2016-10-12 20:44:33 +09:00
Dean Herbert
29d223dc41
Update framework and simplify some references.
2016-10-12 19:52:49 +09:00
Dean Herbert
b2c31d3047
Updates post-master-merge.
2016-10-12 16:01:23 +09:00
Dean Herbert
4052a665bf
Remove all non-load Game access.
2016-10-12 15:47:08 +09:00
Dean Herbert
af76dc09d3
Move direction declaration to usage.
2016-10-12 15:33:04 +09:00
Dean Herbert
f737090c6b
Make CentreTarget public.
2016-10-12 15:28:28 +09:00
Dean Herbert
79b62d4373
Merge remote-tracking branch 'refs/remotes/upstream/master'
...
Conflicts:
osu-framework
osu.Desktop.VisualTests/Program.cs
2016-10-12 15:20:23 +09:00
Dean Herbert
c0ea061bd4
Update framework; amend ToolbarButton to use padding and Children initialiser.
2016-10-12 12:24:07 +09:00
Thomas Müller
c62f29dcae
Merge branch 'master' of github.com:ppy/osu into general-improvements
2016-10-09 16:02:35 +02:00
Thomas Müller
9ed0748d73
No need to enforce scheduling of task anymore.
2016-10-09 15:40:32 +02:00
Dean Herbert
25de055802
Merge branch 'master' into stateful-drawables
...
Conflicts:
osu.Game/GameModes/Menu/Intro.cs
2016-10-09 22:08:32 +09:00
Thomas Müller
dd04b33232
Use AddInternal instead of AddTopLevel.
2016-10-09 20:06:23 +09:00
Thomas Müller
bcb5a02221
Don't rely on return value of Container.Add.
2016-10-09 20:06:20 +09:00
Thomas Müller
d9486e790a
Use AddInternal instead of AddTopLevel.
2016-10-09 11:56:41 +02:00
Thomas Müller
99c8f618af
Don't rely on return value of Container.Add.
2016-10-09 11:55:52 +02:00
Dean Herbert
76f1653090
Merge pull request #53 from Tom94/use_drawable_scheduler
...
Use drawable scheduler
2016-10-09 15:25:22 +09:00
Dean Herbert
926c46dbd4
Code formatting and slight changes to transitions.
2016-10-08 23:27:53 +09:00
Dean Herbert
9594b7193c
Standardise drawable state access and split large nested classes out of MainMenu.ButtonSystem
2016-10-08 23:27:46 +09:00
Dean Herbert
1e9e52aecc
osuLogo handles less keys.
2016-10-08 19:23:21 +09:00
Dean Herbert
5a507838d6
Fix event not being unbound.
2016-10-08 19:12:31 +09:00
Thomas Müller
0c793dfe69
Use own Scheduler instead of Game.Scheduler.
2016-10-08 11:33:24 +02:00
Dean Herbert
27a26cfaaf
Ensure the correct background state is restored when skipping multiple levels
2016-10-08 15:54:09 +09:00
Dean Herbert
93f326bb9b
Fix welcome sound being played twice.
2016-10-08 15:54:08 +09:00
Dean Herbert
243d2cdec5
Block window closing while intro is playing.
2016-10-08 15:54:07 +09:00
Dean Herbert
f2f3b69eee
BackgroundModes shouldn't handle the escape key themselves.
2016-10-08 15:54:07 +09:00
Dean Herbert
08728b84d1
Make sure intro can't be exited unless the main menu has displayed once.
2016-10-08 15:54:06 +09:00
Dean Herbert
c5228b63cb
Unify and smiplify exit logic. Now only OsuGame calls the final Exit.
2016-10-08 15:54:05 +09:00
Dean Herbert
c5ac851ba9
Add the ability to exit the game using escape.
2016-10-08 15:54:05 +09:00
Dean Herbert
b2d899feb5
Add basic intro sequence.
2016-10-08 15:54:04 +09:00
Dean Herbert
e25e7319e9
Add sample usage of PlayMode bindable.
2016-10-08 15:54:00 +09:00
Dean Herbert
5ff9d828eb
Add KeyCounter to Player for fun.
2016-10-08 15:53:59 +09:00
Dean Herbert
d1dfa120d1
Move BackgroundModes to their own files.
2016-10-08 15:53:57 +09:00
Dean Herbert
d6042bd689
Add intro and begin to create central logic nest.
2016-10-08 15:53:56 +09:00
Dean Herbert
a23ca25e7d
Remove unusable "tests" button from main menu system.
2016-10-08 15:53:54 +09:00
Dean Herbert
75c97a62e3
Add main menu music back.
2016-10-08 15:53:53 +09:00
Dean Herbert
b588f28856
Make play modes display playfield.
2016-10-05 20:49:31 +09:00
Dean Herbert
c0f25a2683
Improve white-boxed game modes.
2016-10-05 20:08:58 +09:00
Dean Herbert
4eb310c3a5
Remove unused button state.
2016-10-05 20:07:15 +09:00
Dean Herbert
03aea04a00
Add BackgroundMode stack.
2016-10-05 20:06:55 +09:00
Dean Herbert
c2d4672b8d
Add osu! prefix to mode descriptions.
2016-10-04 19:40:56 +09:00
Dean Herbert
11403a922a
Make Home, Settings and PlayMode buttons work.
2016-10-04 17:15:03 +09:00
Dean Herbert
ddcd5ec286
Add basic layout for toolbar.
2016-10-03 20:39:32 +09:00
Dean Herbert
ac16bffe49
Bring framework and resources up-to-date.
2016-10-01 19:05:26 +09:00
Dean Herbert
f0681f35c4
Merge remote-tracking branch 'refs/remotes/upstream/master' into game-modes-layout
...
# Conflicts:
# osu.Game/OsuGame.cs
# osu.Game/OsuGameBase.cs
# osu.Game/osu.Game.csproj
2016-10-01 17:10:27 +09:00
Dean Herbert
af91341704
Remove unused variable.
2016-10-01 17:03:47 +09:00
Dean Herbert
5afb038025
Use explicit cast to OsuGame rather than in-between derived classes.
...
# Conflicts:
# osu.Game/GameModes/Menu/MainMenu.cs
2016-10-01 17:02:57 +09:00
Dean Herbert
40e5a449bf
Add parallax to ButtonSystem.
2016-10-01 17:02:20 +09:00
Dean Herbert
4ad618abc9
Adjust scale and outwards transition of ButtonSystem.
2016-10-01 17:02:01 +09:00
Dean Herbert
665352f706
Improve the transition and look of white-boxed game modes.
2016-10-01 17:01:09 +09:00
Dean Herbert
463f606004
Add delay for exit process.
2016-09-30 13:31:05 +09:00
Dean Herbert
357c94ed8a
Add OsuGameMode. Standardise naming of classes.
2016-09-30 13:30:55 +09:00
Dean Herbert
643ae0cefe
Merge remote-tracking branch 'upstream/master' into beatmap_framework
2016-09-30 00:13:08 +09:00
Dean Herbert
a114463678
Add null check.
2016-09-29 23:52:51 +09:00
Dean Herbert
154226b9a3
Basic white-boxing of all game modes.
2016-09-29 23:51:17 +09:00
Dean Herbert
a69c5b4fc0
Fix a few warnings.
2016-09-29 23:46:27 +09:00
Dean Herbert
7dcf2c6269
Add TestCase for main menu ButtonSystem.
2016-09-29 23:46:24 +09:00
Dean Herbert
aad58532ec
Remove getter on Objects.
2016-09-28 15:49:47 +09:00
Dean Herbert
f0284ce57c
Use the old naming style for now.
2016-09-26 15:07:29 +09:00
Dean Herbert
ae100e3137
Move PlayTest to the VisualTests project.
2016-09-25 13:59:38 +09:00
Dean Herbert
58ed5c00e4
Merge remote-tracking branch 'refs/remotes/upstream/master' into beatmap_framework
...
# Conflicts:
# osu.Game/GameModes/Menu/ButtonSystem.cs
# osu.Game/OsuGame.cs
2016-09-25 13:40:06 +09:00
Dean Herbert
7bdb2fcfc7
Add basic implementation of VisualTest framework for osu! project.
...
Comes with one complimentary test.
2016-09-24 15:47:17 +09:00
Dean Herbert
9891e72114
Fix indentation.
2016-09-24 15:35:27 +09:00
Dean Herbert
c64dfca82e
Remove silly textboxes.
2016-09-24 00:09:59 +09:00
Dean Herbert
f936618156
Add back TextAwesome and osu!font.
2016-09-24 00:05:09 +09:00
Dean Herbert
997c6f45f6
Update framework again.
2016-09-21 17:37:33 +09:00
Dean Herbert
33e46facec
Use children for initialisation.
2016-09-21 13:25:23 +09:00
Dean Herbert
3a5f37444c
Add back Playfield masking.
2016-09-21 13:21:55 +09:00
Dean Herbert
1712a142a5
Add proper HitObject expiration.
2016-09-21 13:12:15 +09:00
Dean Herbert
f1688499e4
Bring framework up-to-date.
2016-09-21 13:12:05 +09:00
Dean Herbert
e0c06a4f19
Merge branch 'refs/heads/general-fixes' into beatmap_framework
...
# Conflicts:
# osu-framework
# osu.Game/GameModes/FieldTest.cs
# osu.Game/GameModes/FontTest.cs
# osu.Game/GameModes/Menu/ButtonSystem.cs
# osu.Game/Graphics/UserInterface/TextBox.cs
# osu.Game/OsuGame.cs
# osu.Game/osu.Game.csproj
2016-09-20 16:36:42 +09:00
Dean Herbert
b9de26aa26
Framework updates.
2016-09-20 14:41:55 +09:00
Remie Richards
3b1ef0b991
Reverts a small bandaid fix that's no longer necessary relating to the order in which osulogo is initialised.
2016-09-19 01:57:15 +01:00
Remie Richards
3c297064b6
Fixes invalid button scaling, Fixes invalid button location (they were oddly shifted to the right)
2016-09-19 01:47:14 +01:00
Remie Richards
320f76d860
Fixes over-scaling, Brings osu! logo back to the front
2016-09-19 01:35:50 +01:00
Remie Richards
80dfad9af9
Missed an extra set of () on an object initialiser
2016-09-18 20:49:01 +01:00
Remie Richards
314b0dfc04
Replaced all Add() calls in Load()s with direct Children = new Drawable[] {} settings, for consistency
2016-09-18 20:41:53 +01:00
Remie Richards
4754c0e2d1
Clears out old tests (use the framework tests!), Replaces osu.Game.Graphics.UserInterface references with osu.Framework.Graphics.UserInterface
2016-09-17 21:54:52 +01:00
Remie Richards
1a5c2b5221
Updates to latest osu-framework, Updates existing Load() methods to use Children = new Drawable[]{} syntax
2016-09-17 21:33:46 +01:00
Dean Herbert
36ae4dd271
Fix osu! playfield (was using inheriting sizemode when it shouldn't).
2016-09-15 23:58:02 +09:00
Dean Herbert
4a85d8627d
Update to latest framework version.
2016-09-11 03:04:47 +09:00
Dean Herbert
851ef4fbbf
Framework updates.
2016-09-11 02:27:42 +09:00
Dean Herbert
b6bbea392b
Merge branch 'general-fixes' into beatmap_framework
...
Conflicts:
osu-framework
2016-09-11 02:24:15 +09:00
Dean Herbert
842fb1892f
Update to latest framework version.
2016-09-11 02:23:26 +09:00
Dean Herbert
753a67fb3d
Update to use new transform logic.
2016-09-06 21:42:45 +09:00
Dean Herbert
9e76feb159
Add remaining HitRenderers.
...
Many general improvements.
2016-09-06 21:42:45 +09:00
Dean Herbert
97d101310d
Make OsuPlayfield box a bit larger.
2016-09-06 21:42:45 +09:00
Dean Herbert
024ae1d1c2
Move playfields to own class.
2016-09-06 21:42:45 +09:00
Dean Herbert
93744f7372
Add basic TaikoHitRenderer.
2016-09-06 21:42:45 +09:00
Dean Herbert
677a1b0e56
Add basic box background to OsuPlayfield.
2016-09-06 21:42:45 +09:00
Dean Herbert
2ea5a5c675
Add basic HitRenderer framework.
2016-09-06 21:42:45 +09:00
Dean Herbert
7cee44ab1d
HitObject -> HitBase. Also add BaseHits for each game mode.
2016-09-06 21:41:16 +09:00
Dean Herbert
016521240a
Add playtest class.
2016-09-06 21:41:16 +09:00
Dean Herbert
7254c31a92
Drawable is abstract, let's not instantiate it.
2016-09-04 18:32:14 +09:00
Dean Herbert
23111821f5
Update naming conventions.
2016-09-04 18:31:58 +09:00
Dean Herbert
586aaad2b0
Add sample TextBox and SpriteText to MainMenu for comparison.
2016-09-01 22:51:03 +09:00
Dean Herbert
6e836708bd
Remove unnecessary file extension.
...
# Conflicts:
# osu.Game/GameModes/Menu/MainMenu.cs
2016-09-01 22:47:48 +09:00
Dean Herbert
af3e024c7b
Update SampleManager Get method call.
2016-09-01 22:47:48 +09:00
Huo Yaoyuan
6826391b7a
Replace custom delegates by generic delegates.
2016-09-01 00:48:28 +08:00
Dean Herbert
e3ec485a9d
New style transformations.
2016-08-31 12:23:44 +09:00
Dean Herbert
81f9ce657f
License -> Licence.
2016-08-26 17:27:49 +09:00
Dean Herbert
6cbbeaaac0
Initial commit.
2016-08-26 14:41:47 +09:00