Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8 9 10 11 12 13 14
次のページ(過去)
返信[4]
親投稿
Ed CPFace
@Jaxon Yep! I need to document it, but otherwise it's working pretty well. It should be ready to share sometime this week! @neto I've actually been working on a tutorial. It started as a tutorial for PTC, but since SmileBASIC came out, I've started rewriting it. If I ever get it together, I'll post something about it here on Miiverse.
1そうだね
プレイ済み
プレイ日記
Ed CPFace
Now THIS is a setup screen.
3そうだね
プレイ済み
返信[1]
親投稿
Ed CPFace
It's going to need some polish before it's ready for prime time. And I'm sure I'd like to leave some of the more involved elements like dropdown boxes to the true professionals. But is there anything obvious and useful that I've missed? (One thing I still plan to make is a rotating text field that changes every time you tap it, for choices like "Human/CPU/Off" and so on.)
0そうだね
プレイ済み
プレイ日記
Ed CPFace
My first four GUI elements! Top to bottom: Switch - A box that can be filled or empty. Button - A simple button that knows when it's tapped. Pick one - Linked boxes. Only one is active at a time. Text box - A field for entering text.
7そうだね
プレイ済み
返信[1]
親投稿
Ed CPFace
Put a color code after the string, like so: GPUTCHR 50,50,"HELLO WORLD!",#GREEN
0そうだね
プレイ済み
返信[2]
親投稿
Ed CPFace
Yeah, I hold no illusions about making THE ONE AND ONLY GUI library, just something quick and dirty for people who want to throw in a touch screen menu without the bother.
1そうだね
プレイ済み
返信[5]
親投稿
Ed CPFace
I don't know any Japanese, sorry. Also, the key doesn't seem to work for me...
0そうだね
プレイ済み
返信[2]
親投稿
Ed CPFace
That looks cool! What's the key for it?
1そうだね
プレイ済み
返信[2]
親投稿
Ed CPFace
I'm working on a library of general-purpose GUI elements, and I wanted to use strings to store "pointers" to various variables. I found a work-around, and it actually simplified a lot of my design quite a lot. So it turned out to be a good thing!
0そうだね
プレイ済み
トピック
Ed CPFace

Has anyone already made a nice generalized GUI library? Otherwise I'm going to put one together myself.

2そうだね
プレイ済み
プレイ日記
Ed CPFace
VAR can be used with a string to refer to an array, but not to an element in an array. This complicates my plans.
3そうだね
プレイ済み
返信[2]
親投稿
Ed CPFace
Awesome! Reminds me of ZZT.
1そうだね
プレイ済み
返信[3]
親投稿
Ed CPFace
You can make your own sprites with the Smile Tool. By default, Smile Tool launches when you press the Smile button on the keyboard. If you save a sprite sheet that you made, you can load it in your program like so: LOAD "GRP4:[File name]",0 Animation... I'm still figuring that out myself!
2そうだね
プレイ済み
返信[6]
親投稿
Ed CPFace
I haven't seen the glass sprite. Was it filled with transparent color, so that background shows through it, or with black?
0そうだね
プレイ済み
返信[1]
親投稿
Ed CPFace
A good place to start is with the manual. Chapter 11, then 16 and forward talk about how programming works. Smilebasic.com has an online reference with all of the commands that you can browse as you need it.
1そうだね
プレイ済み
返信[1]
親投稿
Ed CPFace
The graphic screen, by default, appears "beneath" sprites and BG. Use GPRIO to set its Z coordinate and bring it to the front.
1そうだね
プレイ済み
返信[23]
親投稿
Ed CPFace
@calc84 I just keep coming up with ideas that they've already implemented!
0そうだね
プレイ済み
返信[7]
親投稿
Ed CPFace
You look so disappointed for someone who's made a cool screen effect.
3そうだね
プレイ済み
プレイ日記
Ed CPFace
Just a quick reminder for people who only read the play journals, and especially for people who want to share their programs. SmileBOOM has opened some discussions in with their official accounts. Have a look!
12そうだね
プレイ済み
返信[21]
親投稿
Ed CPFace
Some interpreted languages allow you to reference a variable that's named in a string. For example: A$="X" &A$=5 would assign 5 to the variable X. Would something like this be possible?
0そうだね
プレイ済み