Search found 3 matches

by fing72
Wed May 03, 2023 9:18 pm
Forum: Game Programming
Topic: Sprite - direct pixel manipulation
Replies: 5
Views: 3593

Re: Sprite - direct pixel manipulation

Caronte3D wrote: Wed May 03, 2023 11:25 am Take a look to:
viewtopic.php?p=590989&hilit=retro#p590989
Thank you,
I'll have to test it.
by fing72
Wed May 03, 2023 9:13 pm
Forum: Game Programming
Topic: Sprite - direct pixel manipulation
Replies: 5
Views: 3593

Re: Sprite - direct pixel manipulation


That doesn't work anymore, palette support has been removed many PB versions ago.

You could copy the sprite and then use StartDrawing() and SpriteOutput() to replace the colors inside the copies.



Thank you,
I used your suggestion
I had some problems with the pointers but finally I was able to ...
by fing72
Tue May 02, 2023 6:43 pm
Forum: Game Programming
Topic: Sprite - direct pixel manipulation
Replies: 5
Views: 3593

Sprite - direct pixel manipulation

Hi all.
I'm trying to make a simple game.
I created an image that contains all the sequences of sprites that I would like to display in the game.
What I need is to modify a color knowing the codes of the palettes used in my image. I would like to do this after loading the image (loadsprite), i.e ...