Search found 2786 matches

by Danilo
Sat May 16, 2020 6:27 am
Forum: Announcement
Topic: A new PureBasic YouTube channel
Replies: 8
Views: 4768

Re: A new PureBasic YouTube channel

For the voice, I used http://onlinetonegenerator.com/voice-generator.html with the Google US English voice. No such selection for me. Did they remove it? The voice selections all sound like robots now. Fred is a robot! ;) I think Daniel, Lee, Oliver, and Tom are pretty okay for english male voices.
by Danilo
Sat May 16, 2020 5:40 am
Forum: Coding Questions
Topic: DrawVectorText() can also multiline output
Replies: 20
Views: 4583

Re: DrawVectorText() can also multiline output

For multiline: Procedure DrawVectorTextPro(text$) ; ; Multi-line DrawVectorText(). Lines separated by #LF$. ; Protected count = CountString(text$,#LF$) Protected height.d = VectorTextHeight(text$) Protected i, x = PathCursorX(), y = PathCursorY() For i = 0 To count MovePathCursor(x,y+(i*height)) Dra...
by Danilo
Sat May 16, 2020 5:25 am
Forum: Coding Questions
Topic: VectorTextWidth funktioniert nicht mit Zeilenumbruch 5.72
Replies: 6
Views: 2075

Re: VectorTextWidth funktioniert nicht mit Zeilenumbruch 5.7

Saki probably means multi-line: Procedure.d VectorTextWidthPro(text$, flags=#PB_VectorText_Default) ; ; Returns the VectorTextWidth() of the longest line (separated by #LF$) ; Protected i, width.d, result.d = 0.0, count = CountString(text$,#LF$) For i = 0 To count width = VectorTextWidth(StringField...
by Danilo
Fri May 15, 2020 5:52 am
Forum: Feature Requests and Wishlists
Topic: Support of ARM CPU
Replies: 60
Views: 17088

Re: Support of ARM CPU

derschutzhund wrote:Is there a plan when the first version of PB can be tested for the Pi?
Nobody said officially that PB is coming to Raspberry Pi.
by Danilo
Thu May 14, 2020 9:19 pm
Forum: Bugs - Mac OSX
Topic: [PB5.72] Crash with empty Macro args
Replies: 0
Views: 1300

[PB5.72] Crash with empty Macro args

The following code is not correct, but it crashes the compiler or IDE. Macro __DQ " EndMacro Macro MacroColon : EndMacro Macro JoinMacroParts (P1, P2=, P3=, P4=, P5=, P6=, P7=, P8=) P1#P2#P3#P4#P5#P6#P7#P8 EndMacro Macro CreateMacro (name,macroBody) JoinMacroParts (Macro name, MacroColon, macro...
by Danilo
Wed May 13, 2020 11:57 am
Forum: Off Topic
Topic: What is the best free basic compiler ?
Replies: 20
Views: 4536

Re: What is the best free basic compiler ?

BlitzBASIC? (by the way, is it free?, where to download?) The Blitz-Research products Blitz3D, BlitzPlus, and BlitzMax are at github and itch.io BlitzMax is continued by the community as „Blitzmax NG“: blitzmax.org , github Cerberus-X is Blitz-Research‘s „Monkey-X“ continuation by the community: ce...
by Danilo
Tue May 12, 2020 4:10 pm
Forum: General Discussion
Topic: 32K Image limit, canvas and DPI aware ?
Replies: 3
Views: 1270

Re: 32K Image limit, canvas and DPI aware ?

You should write a tile system, so you don‘t need to use 1 big image of 64.000 x 64.000 pixels in the future. If the 64k x 64k image is in one big file, you also need to write an image loader that does not load the whole file into memory. Instead it loads only tiles into memory. If you see only 4.00...
by Danilo
Mon May 11, 2020 6:19 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
Replies: 20
Views: 6348

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Added 17 interesting examples to the category ‚textures‘ today.
by Danilo
Mon May 11, 2020 3:21 pm
Forum: Coding Questions
Topic: Best approach for placing a gadget above all other
Replies: 8
Views: 1460

Re: Best approach for placing a gadget above all other

If you need it for the Windows OS only, you could probably just add a child gadget (container for example) to the main window and set the z-order to topmost using SetWindowPos_().
by Danilo
Mon May 11, 2020 10:43 am
Forum: Coding Questions
Topic: Best approach for placing a gadget above all other
Replies: 8
Views: 1460

Re: Best approach for placing a gadget above all other

Use another borderless window and attach it to the parent window.
by Danilo
Sun May 10, 2020 6:58 pm
Forum: Coding Questions
Topic: Why is HideGadget not working?
Replies: 3
Views: 814

Re: Why is HideGadget not working?

DisableGadget() and HideGadget() are different things.
by Danilo
Sun May 10, 2020 6:08 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
Replies: 20
Views: 6348

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Examples 40 (text_font_filters) and 41 (text_font_loading) require re-compiled helper libs.
If you can‘t re-compile yourself, just ignore this examples. They crash without re-compiling.
by Danilo
Sat May 09, 2020 6:23 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
Replies: 20
Views: 6348

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

It looks like Example 19 (core_storage_values.pb) may not work on all platforms. It doesn‘t work on macOS. The libs that come with the raylib distribution are probably compiled without the flag ‚SUPPORT_DATA_STORAGE‘. But hey, it shouldn‘t be a problem to save high-scores using PB‘s file functions. ...
by Danilo
Fri May 08, 2020 4:42 am
Forum: Applications - Feedback and Discussion
Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
Replies: 20
Views: 6348

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

Just a little error in the INSTALL.md file : libwebkitgtk-3.0-dev appear twice in the list of libraries to install. Thanks, I corrected it. PB told me on the console to do this installs when I run ‚checkinstall.sh‘. :) I'm not sure if my graphic card will support raylib especially if raylib uses Vu...
by Danilo
Thu May 07, 2020 6:06 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
Replies: 20
Views: 6348

Re: [Module] raylib-purebasic (Windows/Linux/macOS)

raysan5 added raylib-purebasic to the official raylib bindings list:
- https://github.com/raysan5/raylib/blob/master/BINDINGS.md