Search found 3826 matches

by BasicCoder2
Jun 26, 2023 21:59
Forum: Sources, Examples, Tips and Tricks
Topic: ants tripod gait
Replies: 2
Views: 530

Re: ants tripod gait

@dodicat It was just a quick piece of code to illustrate the tripod gait. I need the legs to be "objects" and their joints to be handled as angles to the body. The idea is to have a central pattern generator to control the legs which would be modulated by a higher control system as in real...
by BasicCoder2
Jun 23, 2023 5:44
Forum: Sources, Examples, Tips and Tricks
Topic: ants tripod gait
Replies: 2
Views: 530

ants tripod gait

When I ran Boromir's Marabunta: 2D Ant Game I wondered if I could make more realistic looking ants. From reading how they moved I learned that they use a tripod gait. The front and back legs on one side and the center leg on the other side would be on the ground while the other legs floated forward ...
by BasicCoder2
Jun 11, 2023 0:19
Forum: Game Dev
Topic: Star Trader Game (In-progress)
Replies: 30
Views: 5580

Re: Star Trader Game (In-progress)

.
by BasicCoder2
Jun 06, 2023 18:54
Forum: Game Dev
Topic: Star Trader Game (In-progress)
Replies: 30
Views: 5580

Re: Star Trader Game (In-progress)

@rdc
How is your little space-trading game progressing.
After reading your post I have spent some time trying to learn what is involved in such trading simulation games starting with one of the first games "Star Traders" coded by Dave Kaufman.
by BasicCoder2
Jun 06, 2023 18:49
Forum: Community Discussion
Topic: ChatGPT
Replies: 23
Views: 4362

Re: ChatGPT

You have used chatGPT to check your code. That is no different to someone using a spelling or grammar checker. Someone just told me how they used it to improve their job resume. It seems to me to be a useful tool but like any tool AI can be misused. AI might be used to develop a new life saving drug...
by BasicCoder2
Jun 05, 2023 23:33
Forum: Community Discussion
Topic: ChatGPT
Replies: 23
Views: 4362

Re: ChatGPT

I see they are working out how to use chatGPT to control the real world!
https://www.microsoft.com/en-us/researc ... -robotics/
by BasicCoder2
Jun 05, 2023 23:29
Forum: Sources, Examples, Tips and Tricks
Topic: Word Clock
Replies: 77
Views: 5366

Re: Word Clock

Nice one dodi. I didn't know that you could initialize an array the way you did in the intToRoman() function.
We can see why Roman numerals are not used in digital displays!
by BasicCoder2
Jun 05, 2023 20:43
Forum: Sources, Examples, Tips and Tricks
Topic: Word Clock
Replies: 77
Views: 5366

Re: Word Clock

My understanding is that the Romans used numbers the way we do for days on a calenda. We don't use zero for the first day and they don't use zero for the first hour. Hour 1 means during the first hour not an instance in time. We might say 6:20 and if they had used minutes that would be 7th hour and ...
by BasicCoder2
Jun 05, 2023 3:54
Forum: Community Discussion
Topic: ChatGPT
Replies: 23
Views: 4362

Re: ChatGPT

You might also say well done to those professional programmers who put the code online that chatGPT is trained on. A common function returning the max and min that would have been written correctly many times in the thousands(?) of lines of code I assume were used to train ChatGPT? It may also have ...
by BasicCoder2
Jun 04, 2023 22:09
Forum: Sources, Examples, Tips and Tricks
Topic: Word Clock
Replies: 77
Views: 5366

Re: Word Clock

@neil You can reduce the number of lines by making your own little font set and character print routine. screenres 640,480,32 'CREATE A FONT SET dim as string datum dim shared as integer mult = 8 dim shared as any ptr fontSet fontSet = imagecreate(44*mult,5*mult) for j as integer = 0 to 4 read datum...
by BasicCoder2
May 31, 2023 0:24
Forum: Game Dev
Topic: Star Trader Game (In-progress)
Replies: 30
Views: 5580

Re: Star Trader Game (In-progress)

@rdc I assume essentially text based? When I looked at simple role playing game programs the big obstacle was not the code rather it was the artwork, music and making up all the dialog for the characters. Capturing sounds is easy enough and I guess today you can use AI to generate some music or even...
by BasicCoder2
May 30, 2023 10:56
Forum: Sources, Examples, Tips and Tricks
Topic: Word Clock
Replies: 77
Views: 5366

Re: Word Clock

dodicat wrote: May 30, 2023 8:44 Basiccoder2, here is a windows easy- peasy way to access speak.
Does windows have a means to convert speech to text using a microphone?
.
by BasicCoder2
May 30, 2023 10:42
Forum: Sources, Examples, Tips and Tricks
Topic: Word Clock
Replies: 77
Views: 5366

Re: Word Clock

neil Does it handle thirteen to nineteen? Or am I missing something. I couldn't resist trying to convert the time (hours:minutes) into words. Just keep hitting a key to try a random time or ESC to end the program. dim shared as string number(1 to 20) for i as integer = 1 to 20 read number(i) next i ...
by BasicCoder2
May 30, 2023 10:35
Forum: Sources, Examples, Tips and Tricks
Topic: Word Clock
Replies: 77
Views: 5366

Re: Word Clock

Dodicat that is really neat :)
Not knowing much about the inner functionality of Windows or what mshta vbscript might be (a visual basic script of some kind) I am unable to write anything like that.
by BasicCoder2
May 29, 2023 22:05
Forum: Sources, Examples, Tips and Tricks
Topic: Word Clock
Replies: 77
Views: 5366

Re: Word Clock

Do you write these programs yourself? You could try a speaking clock. My old AmigaBASIC had a SAY command while modern versions of BASIC do not. SAY TRANSLATE$ ("HELLO WORLD") This is how it can be done in FreeBASIC. ' Speak the Clipboard! v1.0 ' (C) 2008 Innova and Kristopher Windsor #def...