Search found 10 matches

by McValdemar
Thu Jan 21, 2021 9:15 am
Forum: Demos
Topic: Release Mega Marble World 2 for Sega MD / Genesis
Replies: 13
Views: 25517

Re: WIP Mega Marble World 2 for Sega MD / Genesis

Thanks for the update.
Posted on the Italian portal for the Mega Drive: http://www.segamegadrive.it/
by McValdemar
Mon Jan 18, 2021 5:06 pm
Forum: Demos
Topic: ELLENICA: An update on my RPGAdventure (2021)
Replies: 2
Views: 5620

Re: ELLENICA: An update on my RPGAdventure (2021)

Thanks very much for your nice comment Ob1. :)
by McValdemar
Mon Jan 18, 2021 8:43 am
Forum: Demos
Topic: ELLENICA: An update on my RPGAdventure (2021)
Replies: 2
Views: 5620

ELLENICA: An update on my RPGAdventure (2021)

Just wanted to share some screens and video of the progress on the title :) http://www.segamegadrive.it/screens/rom_1.jpg http://www.segamegadrive.it/screens/rom_2.jpg http://www.segamegadrive.it/screens/rom_3.jpg http://www.segamegadrive.it/screens/rom_4.jpg http://www.segamegadrive.it/screens/rom_...
by McValdemar
Mon Jan 18, 2021 8:27 am
Forum: SGDK
Topic: Getting the R, G, B components of a palette color
Replies: 6
Views: 42886

Re: Getting the R, G, B components of a palette color

Sik wrote:
Sun Jan 17, 2021 6:59 am
It's 0000BBB0GGG0RRR0 actually

blue = (color >> 9) & 7;
green = (color >> 5) & 7;
red = (color >> 1) & 7;
BTW you are the dev of Arkagis and the new "drilling game"?
by McValdemar
Sun Jan 17, 2021 9:30 am
Forum: SGDK
Topic: Getting the R, G, B components of a palette color
Replies: 6
Views: 42886

Re: Getting the R, G, B components of a palette color

Thanks alot!
This way was solved.

BTW I made a mistake in putting &&, mistake that I corrected but the real problem, as you guys hinted, was in the bit operation.
Adding:
PRed >>= 1;
PGreen >>= 5;
PBlue >>= 9;

After the "&" masking solved the problem.
Thanks again for the prompt feedback!
:)
by McValdemar
Sat Jan 16, 2021 4:10 pm
Forum: SGDK
Topic: Getting the R, G, B components of a palette color
Replies: 6
Views: 42886

Getting the R, G, B components of a palette color

Hi,
given an array of u16 that has the 64 colors for the 4 palettes, I wanted to read the R, G, B components of each color.
I thought that PRed=palette&&VDPPALETTE_REDMASK; would work, for instance, to read the RED component.
But seems I am wrong... :/

Any suggestion?
by McValdemar
Fri Apr 10, 2020 8:47 am
Forum: SGDK
Topic: What map editors are you using that can be easily integrated in SGDK?
Replies: 2
Views: 3824

What map editors are you using that can be easily integrated in SGDK?

Hello coders,
just wanted to know which are the map editors that can be easily integrated in SGDK (importing the data in the code) and that can be used to draw maps on two layers, with indexed colors (transparency not given by the alpha channel), etc...
by McValdemar
Fri Apr 10, 2020 8:24 am
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 24614

Re: My SGDK Tutorials (Spanish)

As of today your tutorials are the most complete/up to date around.

Really appreciate them!
Do you have a Patreon setup?
by McValdemar
Thu Mar 26, 2020 10:17 am
Forum: SGDK
Topic: A challenge with tiles..
Replies: 1
Views: 3347

A challenge with tiles..

Let's say that i have an image, which size multiple of 8 where I want to store all my tiles. For instance 320x320. That imagine contains 1600 tiles. (I know the limit of 1310, this is just for example). But in the game each bakground element (t1, t2, t3, ...) made up of 5x5 tiles, as I splitted the ...
by McValdemar
Thu Mar 26, 2020 9:26 am
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 24614

Re: My SGDK Tutorials (Spanish)

Just wanted to compliment with you.
Your tutorials are really well crafted.