Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8 9 10 11 12 13 14
次のページ(過去)
返信[4]
親投稿
ĦHarry Ramstrong
And if you wonder why there are two GPSET, one was superfluous. It was from when I set the J loop from 0, like this screen post. Basically, one is to the left, the other is to the right.
0そうだね
プレイ済み
返信[3]
親投稿
ĦHarry Ramstrong
Here's the original thick line Bezier. Look, it fits in one screen! :) This took me over 2 hours just because I'm not good at math. Another version, which ended up being discarded was a cross-wise version (2 hours wasted!), instead of length-wise. I had wanted to add variable line thickness for truly artistic lines, but that can wait until after GUI.
0そうだね
プレイ済み
返信[2]
親投稿
ĦHarry Ramstrong
Here's the updated command list. I hope I have enough time to improve it for the Ogiri Tool section. Todo: Library version, GUI, Tutorial files. Hopefully, I'll finish the Library version this weekend. Then it's on to GUI, which is rather complicated to design fully.
0そうだね
プレイ済み
返信[1]
親投稿
ĦHarry Ramstrong
Alas, I finally ran out of letters, so I'm wrapping it up. The last letter, U, is used to denote bit field. I added file loading to make it really useful as a standalone. I also changed the behavior of a command or two, which makes it incompatible with old code. Very close to 1.0 release!
0そうだね
プレイ済み
プレイ日記
ĦHarry Ramstrong
Still working on that Turtle Graphic program. Not much to report. A lot of the changes are internal reorganization. Bezier2 is an example. It's a thick line Bezier algorithm. I went back to using GCIRCLE anyway. But it's so good, I'm keeping it in there.
4そうだね
プレイ済み
返信[8]
親投稿
ĦHarry Ramstrong
Sorry, it's too complicated for me. I'd sooner do a lightweight raycaster of my own than using calc84's full-featured one.
0そうだね
プレイ済み
返信[1]
親投稿
ĦHarry Ramstrong
I see lots of 60s there. Do you think you can change the default tempo so I don't have to type so much?
0そうだね
プレイ済み
返信[9]
親投稿
ĦHarry Ramstrong
You should try learning Table Oriented Programming Style. Much easier to implement than OOPS. :)
1そうだね
プレイ済み
返信[6]
親投稿
ĦHarry Ramstrong
Hi Ed. You got it perfect! Exec did the trick. Thanks. I was reading Raycast.lib, and it says USE 1, so I guess I was confused. Thanks for the help. Now to make my own library!
2そうだね
プレイ済み
返信[2]
親投稿
ĦHarry Ramstrong
dim b is in slot 0. Taking it out gives me Type mismatch on A. It's like Dim A doesn't exist even though it should be global.
0そうだね
プレイ済み
プレイ日記
ĦHarry Ramstrong
I tried to make a library, but I'm getting "Undefined variable" on B[], and "Type mismatch" on A[]. What gives? How can I use arrays on my library files? Either DIM or VAR keyword should work, but it doesn't in this case.
6そうだね
プレイ済み
返信[23]
親投稿
ĦHarry Ramstrong
One last example. This time, I'm highlighting the interactivity aspect. Once I put in the correct codes, I can steer the turtle using buttons: A-turn right. B-backward. X-forward. Y-turn left. I am so glad I put this capability in. Notice I use K00 instead of M00. This new command does not use stack. I used the wrong T command earlier. Oops.
0そうだね
プレイ済み
返信[22]
親投稿
ĦHarry Ramstrong
Another example. This time, I'm laying down rail tracks. This is why Loop and Macro is such a big deal. You can do a lot with them, with Macro acting as Subroutine. Current version adds Kommand, which is equivalent to GOTO.
0そうだね
プレイ済み
返信[21]
親投稿
ĦHarry Ramstrong
You can tell, I'm enjoying myself. PS: Hour of Code is December 7-13. Try using this Macro enabled Turtle Graphic for something fun!
0そうだね
プレイ済み
返信[20]
親投稿
ĦHarry Ramstrong
Try adding Lines 251-257 for Interactive Turtle Shell. BTW, the lines are different because I added a new command already. Just put it in before macro definition array so you can start fresh. Version 0.7 in progress.
0そうだね
プレイ済み
返信[19]
親投稿
ĦHarry Ramstrong
Did you try to draw a point? It's not really set up for that. Try adding "+2" on line 212, and see if that helps. What's the command that brought this on?
0そうだね
プレイ済み
返信[6]
親投稿
ĦHarry Ramstrong
Grabbag is uploaded. Look for the code on the Bezier post!
0そうだね
プレイ済み
返信[6]
親投稿
ĦHarry Ramstrong
Wow. 400 lines! My fully featured Turtle Graphic routine is only 360 lines, and that includes examples! I didn't know Flappy Bird can be so complicated. Must be all those rocketships involved. I'm really curious about the game.
1そうだね
プレイ済み
返信[17]
親投稿
ĦHarry Ramstrong
Come to think of it, if it's really interactive, then it should have an option for goto macro, instead of the default gosub macro. Oh, dear. I'm running out of letters as it is. 360 lines! That's a record for me. Usually mine is only one screen long. ;)
0そうだね
プレイ済み
返信[16]
親投稿
ĦHarry Ramstrong
Cancel that Touchscreen option. Because I forgot. All the graphics are in the top screen, where no touch point takes place! I changed it to ABXY button, instead. Look for TURTLE6.PRG in my GRABBAG! I put in some extras as well. Enjoy!
1そうだね
プレイ済み