123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|589|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> In-Development -> Noggin

Page : 1 Prev 2
Next
Wed, 14 May 2025, 16:22
cyangames
ohhh, so, there's access to hblank in sgdk?
Thu, 15 May 2025, 00:49
spinal
I took a few days to get it working "correctly". I have an interrupt running first at line 24 to reset the interrupt, then every 28 lines after that, each time scrolling the screen up by 4px, so that every 4th tile row looks only half as high. Then every second column of cards is drawn on the second layer, which is scrolled sideways by 4px and drawing the third, fifth and seventh column one extra tile to the left.

I might have to do it the boring way though, it screws up the actual map update. I might just have to draw four lots of cards with different x and y offsets withing the tiles

-=-=-
Check out my excellent homepage!
Thu, 15 May 2025, 12:54
spinal
Fixed issues by pausing the interrupt when drawing the whole screen, dont need to do it for each card, they render fast enough.



-=-=-
Check out my excellent homepage!
Fri, 16 May 2025, 14:39
spinal
Sat down to do some coding...

Who ya gunna call?...
> Reveal 🔎

-=-=-
Check out my excellent homepage!
Fri, 16 May 2025, 15:11
Jayenkai
An extravagant coding session!
Sat, 17 May 2025, 01:05
spinal
Sometimes you just sit with the files open and do other stuff instead. I think I can call procrastination my main hobby 🤣

-=-=-
Check out my excellent homepage!
Fri, 23 May 2025, 02:51
spinal
RGB333 is a pain when it comes to smoothness, but I got there...



-=-=-
Check out my excellent homepage!
Fri, 23 May 2025, 03:54
cyangames
Look up tables?
Fri, 23 May 2025, 05:38
spinal
50/50. Couldn't read the current pallet from memory, so I'm keeping a second copy in an array. But the fade is done real-time.

Should be able to fade to any colour without issues, other than 3bit crappyness.

-=-=-
Check out my excellent homepage!
Fri, 23 May 2025, 05:40
Jayenkai
Cool!
3-bit's not too bad, is it? At least you have colours, and it isn't like an 8-bit predetermined set of Inks

-=-=-
''Load, Next List!''
Fri, 23 May 2025, 05:50
spinal
It's not bad until you try a smooth colour fade 🧐

-=-=-
Check out my excellent homepage!
Fri, 23 May 2025, 05:57
Jayenkai
Didn't you work on a dither-to-black thing at some point? Maybe that would work better?

-=-=-
''Load, Next List!''
Fri, 23 May 2025, 08:12
spinal
Can't, there's only 2 layers on megadrive and I'm using both to display the cards so close to eachother.

-=-=-
Check out my excellent homepage!
Fri, 23 May 2025, 10:03
Jayenkai
Bah, humbug!!
Then what about something more grid like? If you're using 2 layers, can you fade each layer at a slightly different rate to create a nice blended mix as it fades?
Or how about a slide in and out? They are cards, after all. Could you maybe drop them all down, like a connect 4 end-game, then deal them back in?

(Though, I will admit, I do like how MegaDrive'y the fade looks!)

-=-=-
''Load, Next List!''
Fri, 23 May 2025, 13:37
spinal
Nah, there's really only one palette, 64 colours split into 4 sets of 16, each tileset or sprite is assigned to one of the 4 palettes.
It isn't too bad, I slowed it down for the gif, if it happens in less than a second you cant really tell.

-=-=-
Check out my excellent homepage!
Page : 1 Prev 2
Next