Happy Easter dkcromley.
I rar'd which is like zipping up the two files, makes it easier perhaps to download and run.
Nice to have another coder interested in graphics, thanks for sharing your hard worked example.
I got my Easter egg now
This is maybe my 5th post. It's late -- Easter is almost over even here in Wyoming.
I'm a retired mainframe (IBM mainframes) systems programmer. I still like to play with
math and programming, mostly Word and Excel macros in VBA. I don't see how people
can keep up with what's going on in the programming world. It's too much.
Anyway, I like graphics, and I worked my butt off getting this program done by Easter.
Barely made it. (It's tomorrow in a large part of the world). Of course, I copied from
the Examples a lot. It has some things I want to improve, so I'm just putting it on my
website. That's probably the best place anyhow. I enjoyed it, I hope you do.
You need the .tbasic file and the .bmp texture file.
http://dkcromley.inoutbox.com/dceasterbasket.tbasic
http://dkcromley.inoutbox.com/weave.bmp
Lower case is important. (Not on all sites, right?) Regards, Dave
Happy Easter dkcromley.
I rar'd which is like zipping up the two files, makes it easier perhaps to download and run.
Nice to have another coder interested in graphics, thanks for sharing your hard worked example.
I got my Easter egg now
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Thanks a lot Dave for this application.
I checked you code: very nice and precise way of programming. Great, I like it a lot
If I can, I have only one indication about the source: the use of CALL statement is not necessary if you just want to execute a named function. In this case only indicate the function name. It is a little faster without the CALL statement.
The main reason why I've developed CALL is to be able to call script functions whose name is not known at run-time and can be computer on the fly as a string expression. Check CALL help and see examples to see what I mean.
Thanks again for this very nice present.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Very nice!
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Nice script Dave, thanks for sharing.
TBGL_BuildFont should only be called once, outside your loop. And then you need to correct the position you print the text.
Thanks.
I especially appreciate the code improvement comments.
>Posted by: Michael Hartlef
>And then you need to correct the position you print the text.
That was debug text that I just didn't remove. And I would've made a 800x600 window
instead of 1024x768 if I'd remembered to. Was the text in the upper left for you?
>Posted by: kent sarikaya
>I rar'd which is like zipping up the two files, makes it easier ..
Yes, I thought of that. I've only used the LHA zipper which dates back to 1991 but I
really like. It also makes a nice *.exe package, but I guess that's a poor idea for
security. Is ZIP common here? LHA?
Have a good week. Dave
ZIP is more diffuse bur RAR is ok too.
LHA ... mmmm the risk is no one will get your code.
If you want to attach files to posts, click on "Additional Options" just below text area.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Bookmarks