Search found 102 matches
- Tue Apr 09, 2024 7:40 pm
- Forum: Coding Questions
- Topic: Vector Drawing
- Replies: 6
- Views: 393
Re: Vector Drawing
Maybe you use RGB values instead of RGBA values? Maybe the code "Until Not MouseButton(#PB_MouseButton_Left)" is missing an "ExamineMouse"? To get the MouseButton state on a CanvasGadget use "GetGadgetAttribute(Canvas_0, #PB_Canvas_Buttons)" I don't know if that is what...
- Sun Apr 07, 2024 6:50 pm
- Forum: Applications - Feedback and Discussion
- Topic: sho.co interpreter
- Replies: 3
- Views: 539
Re: sho.co interpreter
Thanks for the response, I accidently set the project to 'private'...
Please try again, the link should work now
Please try again, the link should work now
- Sat Apr 06, 2024 7:37 pm
- Forum: Applications - Feedback and Discussion
- Topic: sho.co interpreter
- Replies: 3
- Views: 539
sho.co interpreter
Here is a little program of mine that I wrote for my entertainment... It's an interpreter for my own programming language called "sho.co"! Before running the code, it is first compiled into an assembly-like code which is then interpreted. It comes with a small IDE, an assembly viewer, a fe...
- Mon Mar 18, 2024 4:12 pm
- Forum: Announcement
- Topic: Chordian - An Omnichord Emulator
- Replies: 10
- Views: 758
Re: Chordian - An Omnichord Emulator
I have not had that happen on my machines, and that includes a tablet from 2015. What happened, specifically? While playing some chords suddenly the sound went off. After restarting the App, the sound was playing again... I have no clue how that did happen and couldn't reproduce it later. Maybe it'...
- Mon Mar 18, 2024 7:34 am
- Forum: Announcement
- Topic: Chordian - An Omnichord Emulator
- Replies: 10
- Views: 758
Re: Chordian - An Omnichord Emulator
Very nice project! I have tested your app now for some time - it's fun to play around with it! A few times the soundsystem broke down, there was no sound anymore and I had to restart the program. (Windows 11, I ran the 'chordian_x64.exe') Maybe it is possible to make the Window scaleble? I guess wit...
- Fri Feb 16, 2024 8:36 pm
- Forum: Applications - Feedback and Discussion
- Topic: simple oil paint simulator
- Replies: 5
- Views: 545
- Fri Feb 16, 2024 7:08 pm
- Forum: Applications - Feedback and Discussion
- Topic: simple oil paint simulator
- Replies: 5
- Views: 545
simple oil paint simulator
Here is a little experiment of mine. The goal was to simulate something that resembles "drawing with oil paint on a canvas". Make sure to enable "DPI aware" ...have fun! :P ; simple painter ; 02/2024 Mr.L EnableExplicit UseJPEGImageDecoder() UseJPEGImageEncoder() UsePNGImageDecod...
- Sat Dec 09, 2023 8:53 am
- Forum: Announcement
- Topic: The Ruins of Calaworm (turn-based Dungeon Crawler)
- Replies: 17
- Views: 2559
Re: The Ruins of Calaworm (turn-based Dungeon Crawler)
Incredible work, very well done! I played it for a while now and had much fun, once I got used to the keyboard layout. I thought i was stuck until I realized, there is diagonal movement too .
Nice graphics and music too!
Nice graphics and music too!
- Fri Sep 29, 2023 11:04 am
- Forum: Coding Questions
- Topic: Using gradient in pie chart
- Replies: 7
- Views: 342
Re: Using gradient in pie chart
maybe try it this way - and make sure, that current_degree_position.f is a value between 0 and 1.0. current_degree_position.f=0.00 For f=0 To 7 current_degree_percentage.f=ValF(GetGadgetItemText(#LISTICON_WINDOW_SHOW_STATISTICS,f,2)) GradientColor(current_degree_position.f,colour_degree(f)) current_...
- Fri Sep 29, 2023 8:32 am
- Forum: Coding Questions
- Topic: Using gradient in pie chart
- Replies: 7
- Views: 342
Re: Using gradient in pie chart
Maybe like this... Macro NextGardient(start_, end_, color_) GradientColor(start_, color_) GradientColor(end_ - 0.0001, color_) EndMacro OpenWindow(0,0,0,250,250,"Pie") CanvasGadget(0,0,0,250,250) StartDrawing(CanvasOutput(0)) DrawingMode(#PB_2DDrawing_Gradient) ConicalGradient(125,125,0) N...
- Fri Sep 29, 2023 6:52 am
- Forum: Coding Questions
- Topic: How to recognize alphaMeric characters
- Replies: 24
- Views: 1352
Re: How to recognize alphaMeric characters
...maybe a combination of RegEx and "manual" processing is a better solution. NewList WordsList.s() ; ============================================================ ; Trim code goes here . ; =============================================================== ; a list of characters, that are allo...
- Thu Sep 28, 2023 9:48 pm
- Forum: Coding Questions
- Topic: How to recognize alphaMeric characters
- Replies: 24
- Views: 1352
Re: How to recognize alphaMeric characters
Hi, vmars316!
can you explain how it should look?
can you explain how it should look?
- Wed Sep 27, 2023 6:16 pm
- Forum: Coding Questions
- Topic: How to recognize alphaMeric characters
- Replies: 24
- Views: 1352
Re: How to recognize alphaMeric characters
Hello,
maybe a Regular Expression can help?
greetings
maybe a Regular Expression can help?
greetings
Code: Select all
CreateRegularExpression(0, "\S+")
aLine$ = " 1234 #5678 %10101 $01ac"
ExamineRegularExpression(0, aLine$)
While NextRegularExpressionMatch(0)
Debug RegularExpressionMatchString(0)
Wend
- Mon Sep 25, 2023 12:41 pm
- Forum: Bugs - Windows
- Topic: No keydown event for tab on a canvas
- Replies: 3
- Views: 437
Re: No keydown event for tab on a canvas
To me it is a bug...
It has worked in the previous purebasic version, if you removed the Keyboardshortcut for the tab key after the window has been opened (which makes sense to me).
What has changed in the latest update?
If it's not a bug, there should definitely be an option to detect this key
It has worked in the previous purebasic version, if you removed the Keyboardshortcut for the tab key after the window has been opened (which makes sense to me).
What has changed in the latest update?
If it's not a bug, there should definitely be an option to detect this key
- Mon Sep 25, 2023 12:33 pm
- Forum: Applications - Feedback and Discussion
- Topic: PBEdit - a Canvas-based Texteditor
- Replies: 103
- Views: 31053
Re: PBEdit - a Canvas-based Texteditor
Hi, ❤x1
Unfortunately, since the latest updates, the Tab-key detection for the canvas gadet doesn't work anymore.
I just saw, that you already have written a bug report.
Unfortunately, since the latest updates, the Tab-key detection for the canvas gadet doesn't work anymore.
I just saw, that you already have written a bug report.