Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Help me print an imatges in allegro c++

This thread is locked; no one can reply to it. rss feed Print
Help me print an imatges in allegro c++
Carlos Garcia
Member #16,113
November 2015

Hello everyone I am creating a game in c++ and i have a problem when I try ro print an imatge of mi character in the background, because when I print the character appears with a white background, covering the background original of the ground.

Help me print my character respecting the original background of te ground.

PD: mi function dibujar_soldado its draw_soldies.

A Thousand of thanks!

Arthur Kalliokoski
Second in Command
February 2005
avatar

The white background of the sprite needs to be changed to black for 8 bit color modes, all other modes need "magic pink", makecol(255,0,255).

They all watch too much MSNBC... they get ideas.

Go to: