Search found 7 matches

by emm
Thu Sep 07, 2023 2:23 pm
Forum: Coding Questions
Topic: How to open a .psd file with PureBasic? And how to access layers individually?
Replies: 5
Views: 894

How to open a .psd file with PureBasic? And how to access layers individually?

Hello world,

Do you know a library I could load in PB to read .psd files (photoshop images)?

I also like to be able to access the individual layers: I want to make animations with them so want to load layers into sprites.

Any help highly appreciated.

Regards

E.
by emm
Sun May 21, 2023 1:46 am
Forum: Linux
Topic: Necessary libraries to PlayMovie()
Replies: 20
Views: 14388

Re: Necessary libraries to PlayMovie()

Hi

It's an old thread but as the issue experienced maybe related I post here.

GOAL: I try to play a mp4 video stored online

Environment:

I use ubuntu 22.04 on a 64 bit intel CPU on a PC. All videos play well on VLC and online.

I don't know how to install codecs on linux.
I searched online ...
by emm
Sun Mar 26, 2023 6:01 pm
Forum: Linux
Topic: Official Linux distribution for PureBasic
Replies: 66
Views: 83484

Re: Official Linux distribution for PureBasic

Hi everybody

Fred, you will get lots of opinions on this thread and obviously the 32 bits users will ask their distro to be supported.

I think it would be good to work this way:

1- get a clear idea of the number of users who are actually use PB to build 32 bits executable in the last year.
You ...
by emm
Sun Mar 26, 2023 1:06 am
Forum: Linux
Topic: Simple install of PureBasic (Ubuntu, Mint, Raspberry)
Replies: 60
Views: 82910

Simple install of PureBasic 6.01 Ubuntu 22.04 LTS

Hello There!

I try to install PureBasic 6.01 from https://www.purebasic.com/download/purebasic2-demo_x64.tgz on Ubuntu 22.04 LTS
BUT PureBasic 6.01 is available for 20.04 not 22.04

Once I'm trying to install the dependencies apt get stuck on:

1. qt5 default:

sudo apt install qt5-default
Reading ...
by emm
Mon Feb 27, 2023 11:48 am
Forum: Game Programming
Topic: How to overlay 2 sprites?
Replies: 4
Views: 1814

Re: How to overlay 2 sprites?

Ok, thanks for the link.

As the OS I work with is Linux, OpenGL is used for rendering.

Here is what I found for OpenGL blending documentation:

https://learnopengl.com/Advanced-OpenGL/Blending

So if I want my code to be cross platforms I'll have to set somewhere that OpenGL has to be used for ...
by emm
Sun Feb 26, 2023 11:42 pm
Forum: Game Programming
Topic: How to overlay 2 sprites?
Replies: 4
Views: 1814

Re: How to overlay 2 sprites?

Incredible !

It works! Thanks so much Caronte3D.

Can you explain how the mixing / blending works?
by emm
Sun Feb 26, 2023 1:59 am
Forum: Game Programming
Topic: How to overlay 2 sprites?
Replies: 4
Views: 1814

How to overlay 2 sprites?

Hi,

I've 2 sprites which I want to overlay.
I understand that the screen can't be considered to have a Color 0 which I could alter independently of other colors unlike on bitmat platforms.
So I put on sprite 0 the background = color 0
Then I put a png with a transparent background and parts in ...