PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

BltFast 's problem

first, why the Blt function does't support E2DSurfaceRGBA?

second, I want to use BltFast with EFX_COLORIZE && EFX_OPACITY , how to set the property ?

I had try to do it like this, but fail.

buffer->BltFast(100, 100, &m_sprite, NULL, EFX_COLORFILL| EFX_OPACITY, 100<<24 | E_RGBX(0,0,255) );(m_sprite have Alpha)

the screen show me nothing
Hi,

1. Using Blt with RGBA surfaces isn't implemented in the current version of EDGELIB. However, it's on our todo list for future releases.

2. Change your call to BltFast to make it work:

Code:

buffer->BltFast(100, 100, &m;_sprite, NULL, EFX_COLORFILL | EFX_OPACITY, E_RGBA(0,0,255, 100));
thinks a billion!

We are developing a EdgeParticleSystem, it work with alpha, I want to make the system look like HGE's particle system,Do you know HGE? If no, just a search in google, you will konw how stronge it is! and it's open src. Now We also move a pc game to Edge, it had finished about 60%, if we finish it, I will send it to you in the first time for your help, this time I send a PC version to you, Enjoy it!

because the 1MB limit, I could't put it here.
download:
http://show.gameres.com/BrickShortJr/BrickShortJr.rar
Hi czcomtt,

Glad we could help.

Please contact us at info [at] edgelib [dot] com to discuss possibilities with your particle engine. Thanks!