Search found 1325 matches

by Mijikai
Tue Nov 28, 2023 12:01 pm
Forum: Coding Questions
Topic: Using Procedures within Procedures
Replies: 4
Views: 389

Re: Using Procedures within Procedures

Define the second procedure at the top.

Code: Select all

Define.i Procedure2()
by Mijikai
Mon Nov 27, 2023 8:23 pm
Forum: Applications - Feedback and Discussion
Topic: [Library] EGL4 Easy Opengl 4 - Easy access to new Opengl functions! [Win x64]
Replies: 2
Views: 1356

[Library] EGL4 Easy Opengl 4 - Easy access to new Opengl functions! [Win x64]

How to get access to all those fancy new Opengl functions ? Solution: let egl4 create a Opengl 4.5 context and set up all functions for you. Does that mean egl4 is "slow" and simply calls the Opengl functions ? The answer is no - egl4 patches the import table so all calls will be direct ! ...
by Mijikai
Mon Nov 27, 2023 5:23 pm
Forum: Coding Questions
Topic: how to save ico file?
Replies: 10
Views: 871

Re: how to save ico file?

I would suggest to use structs.
Some old code with structs but limited functionality: http://forums.purebasic.com/german/view ... 2d#p350902
by Mijikai
Sat Nov 25, 2023 4:22 pm
Forum: Applications - Feedback and Discussion
Topic: [Library] DSKT Library - Get access to a window behind the Icons [Win x64]
Replies: 14
Views: 8655

Re: [Library] DSKT Library - Get access to a window behind the Icons [Win x64]

Mario Desktop Clock Example for DSKT v.1.02 Choppy GIF preview: https://i.postimg.cc/JzL0pkfy/dskt-001.gif Code: EnableExplicit ;TO END THE PROGRAM PRESS THE [F12] KEY! XIncludeFile "dskt.pbi";v.1.02 XIncludeFile "rpix.pbi";RPIX v.1.00: https://www.purebasic.fr/english/viewtopic....
by Mijikai
Sat Nov 25, 2023 12:54 pm
Forum: Applications - Feedback and Discussion
Topic: [Library] DSKT Library - Get access to a window behind the Icons [Win x64]
Replies: 14
Views: 8655

Re: [Library] DSKT Library - Get access to a window behind the Icons [Win x64]

J. Baker wrote: Fri Nov 24, 2023 2:58 pm Very nice! Thanks for the update.

Are you able to make a 32 bit version?
Thanks, i further improved the code see first post for changes.
I have no plans for a 32 bit version.
by Mijikai
Fri Nov 24, 2023 12:40 pm
Forum: Coding Questions
Topic: #PB_2DDrawing_Outlined doesn't work with #Sprite_Alphablending
Replies: 2
Views: 114

Re: #PB_2DDrawing_Outlined doesn't work with #Sprite_Alphablending

Combine the flags:

Code: Select all

DrawingMode(#PB_2DDrawing_AllChannels|#PB_2DDrawing_Outlined)
by Mijikai
Fri Nov 24, 2023 10:53 am
Forum: Applications - Feedback and Discussion
Topic: [Library] DSKT Library - Get access to a window behind the Icons [Win x64]
Replies: 14
Views: 8655

Re: [Library] DSKT Library - Get access to a window behind the Icons [Win x64]

J. Baker wrote: Fri Nov 24, 2023 5:57 am Screen code with tray icon. :D
Nice example, thank you 8)
I took another look at it and improved the code further, i also added more examples see first post.
by Mijikai
Thu Nov 23, 2023 10:49 pm
Forum: 3D Programming
Topic: Demo 3D - Shoal of fish V2
Replies: 35
Views: 3791

Re: Demo 3D - Shoal of fish >> to be seen! <<

Very impressve ,thanks for sharing (i like the fish models :shock: ).
Reminded me of Abzu and this: https://www.youtube.com/watch?v=l9NX06mvp2E
by Mijikai
Thu Nov 23, 2023 10:14 pm
Forum: Announcement
Topic: [Windows x64] RetroPixel a 2D 8-Bit (256 Color) GFX Library - DEV
Replies: 38
Views: 8021

Re: [Windows x64] RetroPixel a 2D 8-Bit (256 Color) GFX Library - DEV

Update v.1.00 : Here we go v.1.00, many changes and fixes later. 8) Im still not done with the documentation but i wanted to release it anyway. I will create a dedicated thread once the documentation is ready. Anyway its for those who want to play around, have fun :D Example for RPIX v.1.00: https:...
by Mijikai
Thu Nov 23, 2023 9:54 pm
Forum: Applications - Feedback and Discussion
Topic: [Library] DSKT Library - Get access to a window behind the Icons [Win x64]
Replies: 14
Views: 8655

Re: [Library] Aki Desktop - Get access to a window behind the Icons [Win x64]

J. Baker wrote: Thu Nov 23, 2023 4:20 pm Pretty cool..
Thank you :)
J. Baker wrote: Thu Nov 23, 2023 4:20 pm Non-Commercial use? Are you selling your lib for commercial use?
I recoded the lib in fasm see first post, i also changed the license so you can use it for your commercial projects.
Have fun 8)
by Mijikai
Sun Nov 19, 2023 9:37 pm
Forum: Tricks 'n' Tips
Topic: Demo 2D - Shoal of fish
Replies: 4
Views: 454

Re: Demo 2D - Shoal of fish

Love it, thanks for sharing.
by Mijikai
Sat Nov 18, 2023 5:34 pm
Forum: Coding Questions
Topic: Memory Buffer Query
Replies: 8
Views: 603

Re: Memory Buffer Query

The example copied a string with 24 bytes to the buffer (pointer/address are 8 bytes).
by Mijikai
Sat Nov 18, 2023 10:36 am
Forum: Applications - Feedback and Discussion
Topic: PixelToy
Replies: 10
Views: 4055

Re: PixelToy

Nice!
Image
by Mijikai
Fri Nov 17, 2023 5:57 pm
Forum: Coding Questions
Topic: Making an OxygenBasic compiler with PureBasic
Replies: 11
Views: 1176

Re: Making an OxygenBasic compiler with PureBasic

This works:

Code: Select all

Macro o2_Run(_input_)
  o2_exec(o2_basic(_input_))
EndMacro

Procedure.i Main()
  Protected bday.l
  bday = 1964 
  o2_Run("overlay long bday" + #CR$ + "@bday =" + Str(@bday) + #CR$ + "bday = bday - 2")
  Debug bday
  ProcedureReturn #Null
EndProcedure