プレイ日記
Oscar PwnageBlock
Hey there! I made a demo scrollbar program! I was hoping you could give me some feedback or suggestions on the program and its code. Feel free to look around the code. (It's a bit of a mess, though.) Also, make sure to change the variable values at the top of the code! Key: «4DEPDESD»
4そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
By the way, this is NOT a game. It's just a little demonstration of a scrollbar. The items are also not selectable. (They're not supposed to be, anyways.) You can touch and hold the arrows to scroll by item. You can touch and hold the back of the scrollbar to scroll by page. And of course, you can also drag the scrollbar itself.
0そうだね
プレイ済み
返信[2]
親投稿
SıмΞоп SimeonW
Did you use the MOD operator? itemPositionY=itemOffset+scrollPosition MOD itemHeight Its an absolutely Brilliant algorithm that gives the illusion that its moving when its really not
1そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
That's a really good idea! I was already using MOD for something else, but I didn't think of using it for smoother item movement!
0そうだね
プレイ済み
返信[4]
親投稿
SıмΞоп SimeonW
Whenever you get a chance Type this in, and you'll see the illusion i'm talking about
1そうだね
プレイ済み
返信[5]
親投稿
SıмΞоп SimeonW
The blue box represents the 3ds screen. The counting on the left is the index with the scroll offset, to the right is the index without the scroll offset
0そうだね
プレイ済み