Search found 1182 matches

by paul doe
Sep 02, 2020 23:15
Forum: Libraries
Topic: raylib headers
Replies: 63
Views: 4519

Re: raylib headers

... Important Addition: Something I think very important for raylib to fit into the Basic spirit here, a function to get an FB.Image to GPU, like EasyGL2D had. The easiest solution I could think of was a conversion of FB.Image to raylib Image, but it seems beyond my capabilities. ... It is trivial,...
by paul doe
Sep 02, 2020 21:46
Forum: Libraries
Topic: raylib headers
Replies: 63
Views: 4519

Re: raylib headers

... New Example: It would be nice to have a fb-translated example of scarfy as part of the examples collection, to show loading and animating sprites from a texture. I will try to do this and contribute it. ... /'**************************************************************************************...
by paul doe
Aug 14, 2020 12:36
Forum: Beginners
Topic: How to set the x+y position, width and height of a window or screen
Replies: 6
Views: 179

Re: How to set the x+y position, width and height of a window or screen

... According to the manual, ScreenControl(SET_WINDOW_POS (100), x, y) would be the way to go: "Sets the current program window position, in desktop coordinates". After some trial and error (error 42: Variable not declared, SET_WINDOW_POS in 'set(z)'), it turns out that a simple ScreenCon...
by paul doe
Aug 14, 2020 11:32
Forum: Beginners
Topic: How to set the x+y position, width and height of a window or screen
Replies: 6
Views: 179

Re: How to set the x+y position, width and height of a window or screen

jj2007 wrote:...
How can I set the x+y position, width and height of a window or screen?
...

Code: Select all

#include once "fbgfx.bi"

screenRes( 1200, 600, 32 )
screenControl( Fb.SET_WINDOW_POS, 100, 50 )

sleep()
by paul doe
Jul 25, 2020 11:56
Forum: Libraries
Topic: ttf examples on 64-bit systems?
Replies: 4
Views: 418

Re: ttf examples on 64-bit systems?

Here's one example that uses both Cairo and FreeType to load and render fonts: #include once "inc/cairo/cairo.bi" #include once "inc/freetype2/freetype.bi" '' The FB headers don't contain this prototype extern "C" declare function _ cairo_ft_font_face_create_for_ft_face...
by paul doe
Jul 25, 2020 1:33
Forum: General
Topic: Squares
Replies: 8041
Views: 507049

Re: Squares

albert wrote:...
When was "multiplicative reciprocal" invented???

When i came up with the idea...

Wikipedia wrote:...
The term reciprocal was in common use at least as far back as the third edition of Encyclopædia Britannica (1797)
...

So, that must mean you are at least 223 years old... wow! Mind blowing!
by paul doe
Jul 25, 2020 0:55
Forum: General
Topic: Squares
Replies: 8041
Views: 507049

Re: Squares

... Back in "Circles" , I invented a way to divide by multiplying , you divide 1 by one number , and then multply the two numbers.. Oh, so it was you who 'invented' the multiplicative reciprocal ? Who would have thought... You need to go back to what you do best: writing songs. Seriously.
by paul doe
Jul 21, 2020 23:54
Forum: Tips and Tricks
Topic: Animation Class
Replies: 5
Views: 960

Re: Animation Class

... So, what does this to the version that I downloaded in 2018 with the MIT licence? Seems to me that can put it online for download or even sell it, if I wanted that. (same for your framework of which I have a copy from January this year) Absolutely nothing, of course. The license was/is MIT, whi...
by paul doe
Jul 21, 2020 19:08
Forum: Tips and Tricks
Topic: Animation Class
Replies: 5
Views: 960

Re: Animation Class

Update: as of 7/21/2020, this code is no longer available.
by paul doe
Jul 21, 2020 18:59
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 6294

Re: Frame rate independent game loop

Update: as of 7/21/2020, this code is no longer available.
by paul doe
Jul 21, 2020 18:41
Forum: Game Dev
Topic: 31 color blending modes (WIP OpenGL version)
Replies: 37
Views: 9370

Re: 31 color blending modes (WIP OpenGL version)

Update: as of 7/21/2020, this code is no longer available.
by paul doe
Jul 21, 2020 18:36
Forum: Tips and Tricks
Topic: SXML (Simple XML parser)
Replies: 12
Views: 6534

Re: SXML (Simple XML parser)

Update: as of 7/21/2020, this code is no longer available.
by paul doe
Jul 18, 2020 1:02
Forum: Game Dev
Topic: game dev challenge (paul doe exercise)
Replies: 49
Views: 2134

Re: game dev challenge (paul doe exercise)

... Paul Doe could probably use code to reformat other people's code to make it more readable for him? ... It is generally not needed (I can split the lines manually for better reading). I do find some other codes easier or harder to read, but this generally isn't so much a question of convention, ...
by paul doe
Jul 17, 2020 15:02
Forum: Game Dev
Topic: game dev challenge (paul doe exercise)
Replies: 49
Views: 2134

Re: game dev challenge (paul doe exercise)

... Which makes the code hard to follow. Not for me, sorry. Due to some unforeseen circumstances , I had to settle for a convention that allows me to use a humongous font size, and doesn't makes the lines too long (they become a blurry mess to my eyes) It also annoys the hell of other people (some ...
by paul doe
Jul 17, 2020 7:39
Forum: Game Dev
Topic: game dev challenge (paul doe exercise)
Replies: 49
Views: 2134

Re: game dev challenge (paul doe exercise)

(it's always a good habit to debug with the -exx option!) Indeed. But it's also a good habit to check that the corrected code is functionally equivalent (original is a Bubble Sort; yours is not). The correct code is thus: sub _ Leaderboard.scoreChanged() for _ i as integer => 0 to ubound( entry ) f...

Go to advanced search