Skip to content

Commit

Permalink
v0.2-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
tEFFx committed Jun 1, 2017
1 parent 0d57e2d commit c8c38ab
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 12 deletions.
20 changes: 10 additions & 10 deletions Assets/Core/KeyboardShortcuts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ void Update () {
if (ExclusiveFocus.hasFocus)
return;

if(Input.GetKeyDown(KeyCode.Home))
patternView.SetSelection(0);

if(Input.GetKeyDown(KeyCode.End))
patternView.SetSelection(songData.patternLength - 1);

if (!playback.isPlaying)
{
if(Input.GetKeyDown(KeyCode.Home))
patternView.SetSelection(0);
if(Input.GetKeyDown(KeyCode.End))
patternView.SetSelection(songData.patternLength - 1);

if (Input.GetKeyDown(KeyCode.DownArrow))
DoShortcut(KeyCode.DownArrow, () => { patternView.MoveVertical(1); });
if (Input.GetKeyDown(KeyCode.UpArrow))
DoShortcut(KeyCode.UpArrow, () => { patternView.MoveVertical(-1); });
if (Input.GetKeyDown(KeyCode.LeftArrow))
DoShortcut(KeyCode.LeftArrow, () => { patternView.MoveHorizontal(-1); });
if (Input.GetKeyDown(KeyCode.RightArrow))
DoShortcut(KeyCode.RightArrow, () => { patternView.MoveHorizontal(1); });
}

if (Input.GetKeyDown(KeyCode.LeftArrow))
DoShortcut(KeyCode.LeftArrow, () => { patternView.MoveHorizontal(-1); });
if (Input.GetKeyDown(KeyCode.RightArrow))
DoShortcut(KeyCode.RightArrow, () => { patternView.MoveHorizontal(1); });

if(ModifierDown())
{
Expand Down
Binary file added Assets/GFX/Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions Assets/GFX/Icon.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Assets/Tracker.unity
Binary file not shown.
Binary file modified ProjectSettings/ProjectSettings.asset
Binary file not shown.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SnoozeTracker
Chiptune tracker made with Unity.
SN76489 tracker made with Unity. Supports custom waveforms and samples (even on noise PSG!).

Requires tiny file dialogs in Plugins folder for appropriate architecture/OS (https://sourceforge.net/projects/tinyfiledialogs/)

Requires Ionic.ZLib in Plugins folder. (http://dotnetzip.codeplex.com/)

Requires MIDI.Net in Plugins folder. (https://github.com/jstnryan/midi-dot-net/)
Requires MIDI.Net in Plugins folder. (https://github.com/jstnryan/midi-dot-net/)

0 comments on commit c8c38ab

Please sign in to comment.