From c8c38ab547a1ce4dc106a8e23bbf0569aaa7188a Mon Sep 17 00:00:00 2001 From: tEFFx Date: Thu, 1 Jun 2017 23:08:49 +0200 Subject: [PATCH] v0.2-alpha --- Assets/Core/KeyboardShortcuts.cs | 20 ++++---- Assets/GFX/Icon.png | Bin 0 -> 2406 bytes Assets/GFX/Icon.png.meta | 68 ++++++++++++++++++++++++++ Assets/Tracker.unity | Bin 227624 -> 227624 bytes ProjectSettings/ProjectSettings.asset | Bin 53218 -> 53218 bytes README.md | 4 +- 6 files changed, 80 insertions(+), 12 deletions(-) create mode 100644 Assets/GFX/Icon.png create mode 100644 Assets/GFX/Icon.png.meta diff --git a/Assets/Core/KeyboardShortcuts.cs b/Assets/Core/KeyboardShortcuts.cs index 34caa5f..9585ce0 100644 --- a/Assets/Core/KeyboardShortcuts.cs +++ b/Assets/Core/KeyboardShortcuts.cs @@ -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()) { diff --git a/Assets/GFX/Icon.png b/Assets/GFX/Icon.png new file mode 100644 index 0000000000000000000000000000000000000000..eedb838ea88a02ce94888d53bd1324458e6cc56f GIT binary patch literal 2406 zcmbtWi93{Q8^7OoEYp;j7<^7gBBwrO>8m40Vbl;EMPZO_A{C9LBV?UvS3>2WvPSkT zvNmCKl$|Wq*fK}9VnQ=nW6rDV`wPDBd9U}npX+&_>wfOv@4oNf^WL&Jc36U-KmY&< zQxnPw00f&NfEUAz!ynmaFeB#j`(X+Q*PhhstQc%%osWr~FMx*1+KXJuF!09~#V?v3 zH4^_@3?bnp+zo580PuWMilNn|KHgy4`OV`$i_Z*A6*`|brPhh>mu>VK7_*QaknN5M z)fll2`lIfReNnXxK~K=*(yjQ&;=6dG;LQy|SNz0>Or5ZQ=Z;>j(=4gGkgl9pR$cyN zu(#nQYjXL{`-#U&Ht83ml7MQ%)KE3FEhO~y@{~68>b0u>9yt&hq#OQEK;%?W< z`!f~c3vDl7z6?%i4Om_bN!e>=+BP38Co8MrJ?G+@APmu04&#oPH#dbZ9AXWwuFCRx zBj(;Unq~bw>4a)d-Dh##G%q>YkRUDYj?%8XNm1_U)gyvHR5=C zQbccWZ{%Xli*5)H4^P{Xwu6vvCq4FD-?vwbV&Pn1Slem+Sl=eVR~_hx2$TbpKo;fZ zUIw--vvkZJl)ws5c9S}YFd;kU24q`v_c^ITriyZAX6CNjl+D5Xwn$BL0#gvm;}l~v zqxvFi;GjM38lDKJ>53Et0jk7nVS&~VN)FV7*7;OP+&VzWp*XUr5@b(=Od?NXM7M$f zJA%L_=YR-#*zk=Ee9M9IN7Fo1NgA5suA!;MB=T_?mQxivA!j654o!c^G#u-6*e(P8 ztr_Y}MJ#SfZi@sn_NL^=FT-iQ3Rh|w3xB`1UTvlh@jG_fs0GrU8IuL_DGzq=R^-OU z)8ofu6=Hsu(=?_~lE>qXwP9%`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n6I2v~Wo zxkdp|0uk(lTn~BF0->wM_sFz4Kh+r5Ubah?_@lX-YQ_6Ogp`lX|)DWtFnH@>{Zf)68v=dGY z?f;BSAb4hcG`%lH^|0DHT2dcsG0uzh%f*_d%4)4lrmatiG6_K1s0LO#7!O=Rj`-RY zQ+O9c!QJ!U+&fnXy){wI?B|93*<36Ls@};8nAX3rvh=NsK}{a#@ALlPVCpvYNHe&& z`_n)|Vq&7#UWFJ;Ep$9{H9Po=+s%_-uqrDT8p0R62@Rz$UW5dDcz7IWDar3Vw^_}1 zDlR_0!%sJ9@?K*>Pp@_nW2f?*j^};BbhxeAh;0p#xO{VguW^{7dHph9N2}+-kAD{+ z14gJ6kR5T{;;l#CrC*C0oxRJTYQ|nZ@5Nsd4h#38zq*R2Y-wyv*%hENe9GlioSv{E lYowSZO>}I*!~Z<|M=baB_H5}<9!1xDm>M0U6dt5q`3D^`8btsA literal 0 HcmV?d00001 diff --git a/Assets/GFX/Icon.png.meta b/Assets/GFX/Icon.png.meta new file mode 100644 index 0000000..cd0de46 --- /dev/null +++ b/Assets/GFX/Icon.png.meta @@ -0,0 +1,68 @@ +fileFormatVersion: 2 +guid: fc5ae619a6bc64fdba02db0d3307a5d4 +timeCreated: 1496350995 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tracker.unity b/Assets/Tracker.unity index 31d3f65a6917cd11d53b5f57d1240dbaaba97f4e..f218ab35fb99e3090a03ce42663a8f3b428c8e3b 100644 GIT binary patch delta 1244 zcmdUuyGsK>5XPCg_#h@4BtDR!DMS=34#XHi!A7vKP_YmZYm0yumZD-6#Uh2c77;B( z1BQ@7Tm=go8*_PB3W63Yf(Rj4sD$X;ZZ0NA`~z%`yZL@MJNwN{C}R(0?5igb-eB%V ztOS+SJwg{7+XV}M*npvWJ?!M#9v&mV--9>12r$+7Nf2-~3u;uo zfG^?(d>JRWBMxgaGYOLt*-U_qsR_80g7|bKVMM6hmjpjZB`b=KKrfgNeb@9p)Q zZUGNIf%=EE^$E5LnacG|Wqswq%2GM-%9ALT5*}4xZ?X4o3udeGzZq8ZF&p0XnS;{n z^f0#9=#nW<>K>`Sy9xCE&rSqqFktQkqfRXHmszy6narSJq`5m=!O?2zMSroU(hF@J zKk{A_hB!a4{s5|VBBeg?Uh}9+iqTkGxE4XbIHPoBqG{X)-g=H1qqH(T-@HXfrL3>d zRA1O3<2^<3BTCv-sEXEb-l`0i;rK&~(&>?)Yh0Q7pAFAWD^uo%^Wco)w~CvUt{ye} RWlniF_N%Zcj(Mfo`UABKryl?S delta 1687 zcmd^9ziU%*5a;eijqybuv0`eAc90+lZ3d}XgbXSU4pF+N*cbWBC;GQ{}fGCoJ%T87=I4!^Mu_fF~pi|cTa@! zm?{Mr>6aR&W(9kE6sO|~GRtQU2-|C{DS zZX2rjI5*hZd%#1|&VzYRv)7u@X&q=&2^Yj0aq7L70*)sCgic&uYW< zKRC{{VGb0=&Z0@_ELxNw!8r9_$m#b`atH2TMbHGfyaN*_RKovbkT7~&`Ud79Ma%SL z=im2b=k`9NRIlP2rD_4J&^)V~m;8rC;MWiEMpzei$Juy{U$vVJ+7dr~h8HZA zac~Y2+CvbSLH_qgN3}gw_iz#T%p2^wPx`kkYag)V>h~{MidNR#CjF6@QsR`qdpTya z5#zEJ&fBMr^OGL@_)X*50g>OvZDUHWKIdpzSsbF7id<>uXxY=oR7AJbKpE`bHNG6y KG1!_l;*npK8F-ff diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 39aa12b737310438860097ee13d2053e53a6dddd..799457dbb3eacc9edecd4f9e4301a78e4ce7b61a 100644 GIT binary patch delta 31 pcmV+)0O0@Pp9A8b1F%ED5YMGV?K&@*saO|w(Lj}HRg51#-4 delta 31 pcmV+)0O0@Pp9A8b1F%ED5MXgjq4wvKOtn;9vI)4>-?LM|j}HL*5H|n- diff --git a/README.md b/README.md index 05f732c..c9eec50 100644 --- a/README.md +++ b/README.md @@ -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/) \ No newline at end of file +Requires MIDI.Net in Plugins folder. (https://github.com/jstnryan/midi-dot-net/)