Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 110
» Latest member: JonnyWi
» Forum threads: 125
» Forum posts: 1,479
Full Statistics
|
Online Users |
There are currently 36 online users. » 0 Member(s) | 34 Guest(s) Bing, Google
|
Latest Threads |
LDArray extension
Forum: Extensions
Last Post: AbsoluteBeginner
5 hours ago
» Replies: 17
» Views: 170
|
AI learns Small Basic
Forum: Discussion
Last Post: jrmrhrb00
Yesterday, 12:14 AM
» Replies: 6
» Views: 136
|
Challenge 9 - Quick sort
Forum: Challenges
Last Post: AbsoluteBeginner
11-18-2024, 03:52 PM
» Replies: 47
» Views: 958
|
How to exit a subroutine ...
Forum: Standard Small Basic
Last Post: litdev
11-11-2024, 12:59 PM
» Replies: 2
» Views: 85
|
Training program for SB-N...
Forum: Discussion
Last Post: AbsoluteBeginner
11-08-2024, 07:02 AM
» Replies: 13
» Views: 335
|
SmallBasic Open Edition
Forum: C# Moving from Small Basic
Last Post: KristianVirtanen
11-05-2024, 06:37 PM
» Replies: 21
» Views: 661
|
UCI Chess Engine
Forum: Challenges
Last Post: Scout
10-30-2024, 10:41 PM
» Replies: 17
» Views: 1,747
|
Welcome
Forum: Standard Small Basic
Last Post: AbsoluteBeginner
10-30-2024, 10:01 PM
» Replies: 11
» Views: 1,670
|
Skull Custom Language Cre...
Forum: Discussion
Last Post: z-s
10-28-2024, 04:49 PM
» Replies: 87
» Views: 10,720
|
SB-Prime Plugins
Forum: Extensions
Last Post: litdev
10-25-2024, 07:52 AM
» Replies: 1
» Views: 76
|
|
|
LDController |
Posted by: GBHalford - 10-01-2024, 05:35 AM - Forum: Extensions
- Replies (12)
|
|
Hi folks, can anyone help me with some issues with the LDController actions ?
I have a generic USB SNES controller.
From the Windows Game Controller settings and properties, I can see that all the buttons are registering correctly, and continue to register whilst held down.
I have SlimDX runtime for .NET 4.0 installed .
In SB, using the LDController.Buttons query, the array returned is completely spasmodic. I have the following code in a While ("True") loop...
LDButtons = LDController.Buttons(1)
GraphicsWindow.Title = LDButtons
E.g. I press button 1 and hold it. For a few seconds there is no response, then Button 1 may register as "True" for a brief moment, and then return to "False" almost instantly.
All other buttons exhibit similar behaviour. Sometimes a button may not register "True" at all while being held down, even though the Controller settings show that the button is depressed.
Here's what the array looks like for a brief period while I am holding Button 1 down... Notice that it is registered as "True" for 2 loop passes.
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=True;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=True;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
1=False;2=False;3=False;4=False;5=False;6=False;7=False;8=False;9=False;10=False;
Any help to resolve this so I can get a true reading of current buttons depressed will be much appreciated.
regards, Gordon
|
|
|
Challenge 7 - Snap |
Posted by: litdev - 09-25-2024, 09:15 AM - Forum: Challenges
- Replies (1)
|
|
Make a 2 player 'Snap' game - first player to press their key when 2 of the same are shown, could be shape, colour, size, image or a combination.
|
|
|
Voice recognition? |
Posted by: Yumda - 09-19-2024, 05:33 AM - Forum: Extensions
- Replies (23)
|
|
Hi there:
I am trying to write a simple program that can help my father learn to pronounce English better, specifically it will prompt him to pronounce a word and if not recognized then it will not move on to the next word, anyone know of any extensions that can help with voice recognitions for small basics? or any ideas how to go about it another way?
I know it is a big ask, but just hoping if anyone has any ideas.
|
|
|
Updating SB |
Posted by: z-s - 09-09-2024, 12:31 PM - Forum: C# Moving from Small Basic
- Replies (2)
|
|
Today I got an idea why someone can't help in updating SB.
We have a community here so any good csharp developer can do this but not me.
I could help in writing standard library for SB.
Making it a high-level programing language.
I have some goals that can be in SB
Addition of function like struct new keywords.
And large standard library seperate dll.
Many csharp functionality.
As I thought sb just use csc.exe to compile a small basic program after converting it to csharp am I right????.
|
|
|
Challenge 4 - Colour buttons |
Posted by: litdev - 09-04-2024, 06:06 PM - Forum: Challenges
- Replies (17)
|
|
Create some buttons that when pressed change the background colour of the GraphicsWindow.
As an extra challenge, try to make it so that the buttons are suitably coloured - no extensions!
|
|
|
|