|
Post by ra7en1911 on Dec 9, 2023 15:05:10 GMT
There is a command that I used once, forgot what it was, and too lazy to toaster my other HDD to find it. But it allowed asychonous running during runtime. Example it could do a count down live, while running the program. But I cannot for the life of me figure out what that command was.
Any help?
BTW, what happened to the old forum and the other old forum LOL, I had to sign up again. (forgot all my stuff. grrr ). Well this one looks nicer. hahah
|
|
|
Post by bplus on Dec 9, 2023 15:40:15 GMT
There is a command that I used once, forgot what it was, and too lazy to toaster my other HDD to find it. But it allowed asychonous running during runtime. Example it could do a count down live, while running the program. But I cannot for the life of me figure out what that command was.
Any help?
BTW, what happened to the old forum and the other old forum LOL, I had to sign up again. (forgot all my stuff. grrr ). Well this one looks nicer. hahah
Welcome ra7en1911 I do believe I remember you from the past Unless you are talking about some Windows or other OS API I have no idea how you would sync one program with another BUT inside QB64 you can literally _LIMIT the number of times a loop recycles per second with that command, _Limit. This controls the minimum recycle time. If the numbers crunching takes longer say to render a detailed 3D image then of course you loop minimum time will be that instead. _Display works nicely with _Limit to control blinking. QB64.org took over from QB64.net when Galleon handed the keys to kingdom to Fellippe. Sorry, more details come to mind about org. It was started by Fellippe, Bill and Luke as optional QB64 forum when .net went on fritz for long periods of time as Galleon was NOT paying attention to updating host... something like that and eventually Galleon lost control of .net and org was already there to pick up the ball and carry it forward. The QB64.org forum was lost when RC Cola was handed the keys to kingdom and he shut it down. 4/22 QB64 has forked into this "Care taker" forum preserving 2.0+ from .org and another QB64pe (Phoenix Edition) which had arisen first from the ashes of RC Cola shut down and is still actively developing QB64 up to version 3.9.1 I think. qb64phoenix.com/forum/index.php
|
|
|
Post by ra7en1911 on Dec 9, 2023 15:47:19 GMT
The one I remember, it is put at the begining and can call a sub at given intervals. while program in running. Example it would work great with a idle game or clicker game. If the player is not doing anything, the function still runs back and forth to the sub. - hope that makes sense.
|
|
|
Post by ra7en1911 on Dec 9, 2023 15:50:34 GMT
Welcome ra7en1911 I do believe I remember you from the past QB64.org took over from QB64.net when Galleon handed the keys to kingdom to Fellippe. The QB64.org forum was lost when RC Cola was handed the keys to kingdom and he shut it down. 4/22 QB64 has forked into this "Care taker" forum preserving 2.0+ from .org and another QB64pe (Phoenix Edition) which had arisen first from the ashes of RC Cola shut down and is still actively developing QB64 up to version 3.9.1 I think. qb64phoenix.com/forum/index.phpwow, I will mark that as popular? starting to sound like Blizzard LOL (M$ is buying them last I heard - oh boy). so will this be the main QB64 forum then? I'll book mark it. Was hard signing up because so many forums I am in use proboard, so my login got confused.
|
|
|
Post by bplus on Dec 9, 2023 16:00:02 GMT
You control the main loop with _Limit, then you automatically control the calls to any and all subs that main loop executes.
Don't forget to check out this forum's Home page and Discord link. GotBasic of Discord gives you access to dozens of Basics! and their discussion, pretty nice! if you like that sort of thing.
|
|
dbox
Junior Member
Posts: 89
|
Post by dbox on Dec 9, 2023 16:06:10 GMT
|
|
|
Post by ra7en1911 on Dec 9, 2023 16:07:14 GMT
You control the main loop with _Limit, then you automatically control the calls to any and all subs that main loop executes. Don't forget to check out this forum's Home page and Discord link. GotBasic of Discord gives you access to dozens of Basics! and their discussion, pretty nice! if you like that sort of thing.
thanks will do. Bored this weekened, so gonna make a qb tamagatchi game hahah. Remember, I am old fashion so still play with old dos text games. I think they have much more character. Thats for the tip. will post it here if I get it to work..
|
|
|
Post by bplus on Dec 9, 2023 16:20:09 GMT
Yes that would be another way, that works independent of the code when set the trap. tamagatchi ? looking forward to seeing!
|
|
|
Post by bplus on Dec 9, 2023 16:24:11 GMT
tamagachi = Fake pet? to feed and walk and...
|
|
|
Post by ra7en1911 on Dec 9, 2023 18:53:54 GMT
Yes that would be another way, that works independent of the code when set the trap. tamagatchi ? looking forward to seeing! Yes that was it!!!
I wanted something running live.
Perfect. I'll play around with it. there are a ton of these tomagatchi clones, but mose are really basic. I have tons of info for the real one, which is pretty elaborate, gonna see if i can implement that into qb64.
Thanks!!!
|
|