This was actually started up as a tiny gag MarkeyJester and I had in the IRC. Neither of us ever expected it to turn into a real project, but now it is here and ready for duty! The greatest problem of this problem wasn't generating the actual code or creating that preview window, no, finding the perfect way to design a program like this, that is the real deal.
<I>*Insert huge wall of text, explaining the rest of the history of this program, nobody cares about.*</I>
That said, here's your download:
<a href="http://selbi.hapisan.com/ParallaxEditor-v1.0.zip" target="_blank"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b>Download</b><!--sizec--></span><!--/sizec--></a>
Updated DLL (recommended!)
Along with a screenshot:
<img src="http://selbi.hapisan.com/ParallaxScreenshot.png" border="0" class="linked-image" />
The usage should be somewhat self-explainority, which is why I don't feel a step-by-step tutorial should be necessary (if you have trouble with it though, just hit me up on IRC; I'm always online in <I>#ssrg</I>). For a teeny-tiny FAQ look at the ASM boxes below.
<b>To-Do List for upcoming versions:</b>
- Implenting support for absolute deformation.
- Adding more speeds so you can create much smoother movement with multiple blocks. 17 possibilities is not enough, considering most of them are way too fast/slow.
- Making the S2LVL project loader being able to load Sonic 1 levels.
- Fixing any bugs and issues this program hid from me.
<b>Special Thanks:</b>
- MainMemory, for providing the two DLLs, making my life a lot easier and also for a lot of VB.NET related tips.
- MarkeyJester, for providing additional information (optimizing, etc.).
<span style='color:#000000;background:#000000'><!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo-->- Oerg866, for being a dick. No seriously, you are a dick Oerg and you've once again proven that you can't even change your arrogant and patronizing attitude within a timespan of almost three years. Leck mich, du Penner.<!--sizec--></span><!--/sizec--></span>
-----------------------------------------------------------------------------------------------
<u><b>Where to put the code:</b></u>
During private testing, one major problem pretty much all people who were unfamiliar with deformation had, was that they didn't know where to put this code. So here I will explain where that location is:
In the deformation routine of your choice, locate this line:
<!--g1--><div class='geshitop'>Syntax Highlighted Code: ASM</div><div class='codemain'><!--eg1--><pre class="asm" style="font-family:monospace;"> <span style="color: #adadad; font-style: italic;">; For Sonic 1:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF70C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span>
Â
<span style="color: #adadad; font-style: italic;">; For Sonic 2:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFEE0C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span></pre><!--gc2--><!--CTsgRm9yIFNvbmljIDE6CgkJbW92ZS53CSgmIzAzNjtGRkZGRjcwQykudywoJiMwMzY7RkZGRkY2MTgp
LncKCgk7IEZvciBTb25pYyAyOgoJCW1vdmUudwkoJiMwMzY7RkZGRkVFMEMpLncsKCYjMDM2O0ZGRkZGN
jE4KS53--><!--egc2--><!--g2--></div><!--eg2-->
And remove everything <I>below</I> that line all the way up to the end of the routine (except for the <I>rts</I> of course). Put your generated code in that location you just deleted.
<u><b>How to lock the background vertically in place:</b></u>
Due to the current status of this program, being unable to create <I>absolute</I> deformation, moving up/down will make the screen go apeshit in 90% of all cases. It is therefore advised, until a proper function has been implented (which will happen as soon as possible, don't worry), to lock the background vertically in place.
To do so, once again locate this line:
<!--g1--><div class='geshitop'>Syntax Highlighted Code: ASM</div><div class='codemain'><!--eg1--><pre class="asm" style="font-family:monospace;"> <span style="color: #adadad; font-style: italic;">; For Sonic 1:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF70C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span>
Â
<span style="color: #adadad; font-style: italic;">; For Sonic 2:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFEE0C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span></pre><!--gc2--><!--CTsgRm9yIFNvbmljIDE6CgkJbW92ZS53CSgmIzAzNjtGRkZGRjcwQykudywoJiMwMzY7RkZGRkY2MTgp
LncKCgk7IEZvciBTb25pYyAyOgoJCW1vdmUudwkoJiMwMzY7RkZGRkVFMEMpLncsKCYjMDM2O0ZGRkZGN
jE4KS53--><!--egc2--><!--g2--></div><!--eg2-->
And put the following line right <I>above</I> it:
<!--g1--><div class='geshitop'>Syntax Highlighted Code: ASM</div><div class='codemain'><!--eg1--><pre class="asm" style="font-family:monospace;"> <span style="color: #adadad; font-style: italic;">; For Sonic 1:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="color: #ff0000;">#</span><span style="color: #ff0000;">$</span>xxxx,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF70C</span><span style="">)</span>.<span style="color: #00bfff;">w</span> <span style="color: #adadad; font-style: italic;">; lock the background vertically in place</span>
Â
<span style="color: #adadad; font-style: italic;">; For Sonic 2:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="color: #ff0000;">#</span><span style="color: #ff0000;">$</span>xxxx,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFEE0C</span><span style="">)</span>.<span style="color: #00bfff;">w</span> <span style="color: #adadad; font-style: italic;">; lock the background vertically in place</span></pre><!--gc2--><!--CTsgRm9yIFNvbmljIDE6CgkJbW92ZS53CSMmIzAzNjt4eHh4LCgmIzAzNjtGRkZGRjcwQykudwk7IGxv
Y2sgdGhlIGJhY2tncm91bmQgdmVydGljYWxseSBpbiBwbGFjZQoKCTsgRm9yIFNvbmljIDI6CgkJbW92Z
S53CSMmIzAzNjt4eHh4LCgmIzAzNjtGRkZGRUUwQykudwk7IGxvY2sgdGhlIGJhY2tncm91bmQgdmVydG
ljYWxseSBpbiBwbGFjZQ==--><!--egc2--><!--g2--></div><!--eg2-->
The <I>$xxxx</I> has to be replaced with whatever location you want the background to be at. For references you can use SonED2. One chunk has a size of $100, so if you want the background to start at chunk 3 from the top, you put in $300.
-----------------------------------------------------------------------------------------------
Just one final thing I'd like to hint out: See you in 10 more posts, when I reach my 1000. =P
<I>*Insert huge wall of text, explaining the rest of the history of this program, nobody cares about.*</I>
That said, here's your download:
<a href="http://selbi.hapisan.com/ParallaxEditor-v1.0.zip" target="_blank"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><b>Download</b><!--sizec--></span><!--/sizec--></a>
Updated DLL (recommended!)
Along with a screenshot:
<img src="http://selbi.hapisan.com/ParallaxScreenshot.png" border="0" class="linked-image" />
The usage should be somewhat self-explainority, which is why I don't feel a step-by-step tutorial should be necessary (if you have trouble with it though, just hit me up on IRC; I'm always online in <I>#ssrg</I>). For a teeny-tiny FAQ look at the ASM boxes below.
<b>To-Do List for upcoming versions:</b>
- Implenting support for absolute deformation.
- Adding more speeds so you can create much smoother movement with multiple blocks. 17 possibilities is not enough, considering most of them are way too fast/slow.
- Making the S2LVL project loader being able to load Sonic 1 levels.
- Fixing any bugs and issues this program hid from me.
<b>Special Thanks:</b>
- MainMemory, for providing the two DLLs, making my life a lot easier and also for a lot of VB.NET related tips.
- MarkeyJester, for providing additional information (optimizing, etc.).
<span style='color:#000000;background:#000000'><!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo-->- Oerg866, for being a dick. No seriously, you are a dick Oerg and you've once again proven that you can't even change your arrogant and patronizing attitude within a timespan of almost three years. Leck mich, du Penner.<!--sizec--></span><!--/sizec--></span>
-----------------------------------------------------------------------------------------------
<u><b>Where to put the code:</b></u>
During private testing, one major problem pretty much all people who were unfamiliar with deformation had, was that they didn't know where to put this code. So here I will explain where that location is:
In the deformation routine of your choice, locate this line:
<!--g1--><div class='geshitop'>Syntax Highlighted Code: ASM</div><div class='codemain'><!--eg1--><pre class="asm" style="font-family:monospace;"> <span style="color: #adadad; font-style: italic;">; For Sonic 1:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF70C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span>
Â
<span style="color: #adadad; font-style: italic;">; For Sonic 2:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFEE0C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span></pre><!--gc2--><!--CTsgRm9yIFNvbmljIDE6CgkJbW92ZS53CSgmIzAzNjtGRkZGRjcwQykudywoJiMwMzY7RkZGRkY2MTgp
LncKCgk7IEZvciBTb25pYyAyOgoJCW1vdmUudwkoJiMwMzY7RkZGRkVFMEMpLncsKCYjMDM2O0ZGRkZGN
jE4KS53--><!--egc2--><!--g2--></div><!--eg2-->
And remove everything <I>below</I> that line all the way up to the end of the routine (except for the <I>rts</I> of course). Put your generated code in that location you just deleted.
<u><b>How to lock the background vertically in place:</b></u>
Due to the current status of this program, being unable to create <I>absolute</I> deformation, moving up/down will make the screen go apeshit in 90% of all cases. It is therefore advised, until a proper function has been implented (which will happen as soon as possible, don't worry), to lock the background vertically in place.
To do so, once again locate this line:
<!--g1--><div class='geshitop'>Syntax Highlighted Code: ASM</div><div class='codemain'><!--eg1--><pre class="asm" style="font-family:monospace;"> <span style="color: #adadad; font-style: italic;">; For Sonic 1:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF70C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span>
Â
<span style="color: #adadad; font-style: italic;">; For Sonic 2:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFEE0C</span><span style="">)</span>.<span style="color: #00bfff;">w</span>,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF618</span><span style="">)</span>.<span style="color: #00bfff;">w</span></pre><!--gc2--><!--CTsgRm9yIFNvbmljIDE6CgkJbW92ZS53CSgmIzAzNjtGRkZGRjcwQykudywoJiMwMzY7RkZGRkY2MTgp
LncKCgk7IEZvciBTb25pYyAyOgoJCW1vdmUudwkoJiMwMzY7RkZGRkVFMEMpLncsKCYjMDM2O0ZGRkZGN
jE4KS53--><!--egc2--><!--g2--></div><!--eg2-->
And put the following line right <I>above</I> it:
<!--g1--><div class='geshitop'>Syntax Highlighted Code: ASM</div><div class='codemain'><!--eg1--><pre class="asm" style="font-family:monospace;"> <span style="color: #adadad; font-style: italic;">; For Sonic 1:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="color: #ff0000;">#</span><span style="color: #ff0000;">$</span>xxxx,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFF70C</span><span style="">)</span>.<span style="color: #00bfff;">w</span> <span style="color: #adadad; font-style: italic;">; lock the background vertically in place</span>
Â
<span style="color: #adadad; font-style: italic;">; For Sonic 2:</span>
<span style="color: #00bfff;">move</span>.<span style="color: #00bfff;">w</span> <span style="color: #ff0000;">#</span><span style="color: #ff0000;">$</span>xxxx,<span style="">(</span><span style="color: #ff0000;">$</span><span style="color: #ff0000;">FFFFEE0C</span><span style="">)</span>.<span style="color: #00bfff;">w</span> <span style="color: #adadad; font-style: italic;">; lock the background vertically in place</span></pre><!--gc2--><!--CTsgRm9yIFNvbmljIDE6CgkJbW92ZS53CSMmIzAzNjt4eHh4LCgmIzAzNjtGRkZGRjcwQykudwk7IGxv
Y2sgdGhlIGJhY2tncm91bmQgdmVydGljYWxseSBpbiBwbGFjZQoKCTsgRm9yIFNvbmljIDI6CgkJbW92Z
S53CSMmIzAzNjt4eHh4LCgmIzAzNjtGRkZGRUUwQykudwk7IGxvY2sgdGhlIGJhY2tncm91bmQgdmVydG
ljYWxseSBpbiBwbGFjZQ==--><!--egc2--><!--g2--></div><!--eg2-->
The <I>$xxxx</I> has to be replaced with whatever location you want the background to be at. For references you can use SonED2. One chunk has a size of $100, so if you want the background to start at chunk 3 from the top, you put in $300.
-----------------------------------------------------------------------------------------------
Just one final thing I'd like to hint out: See you in 10 more posts, when I reach my 1000. =P


02
