Search found 6 matches

by Roukan
Fri Jul 11, 2014 6:02 pm
Forum: Programming Discussion
Topic: New user intro / question(s) about Parallax and sprites
Replies: 14
Views: 1635

Re: New user intro / question(s) about Parallax and sprites

plx_txr_load loads pngs with either PNG_NO_ALPHA or PNG_FULL_ALPHA depending on its alpha parameter (full alpha in your case). The PT poly list only allows for 1-bit alpha (fully opaque or fully translucent). I'm guessing the missing pixels aren't fully opaque and aren't rendered because their alph...
by Roukan
Fri Jul 11, 2014 5:27 pm
Forum: Programming Discussion
Topic: New user intro / question(s) about Parallax and sprites
Replies: 14
Views: 1635

Re: New user intro / question(s) about Parallax and sprites

Tvspelsfreak wrote:Do you get the same issues if you draw everything in the PLX_LIST_TR_POLY list?
Just tried this now - everything appears to display correctly :o
by Roukan
Fri Jul 11, 2014 2:13 pm
Forum: Programming Discussion
Topic: New user intro / question(s) about Parallax and sprites
Replies: 14
Views: 1635

Re: New user intro / question(s) about Parallax and sprites

Tvspelsfreak wrote:You might have some Z fighting going on. Try giving the sprites that should appear on top of the card a larger Z value.
Thanks very much for the reply:

I increased the z value by 1.0 for items 2),3),4) but this made no difference :cry:
by Roukan
Fri Jul 11, 2014 7:26 am
Forum: Programming Discussion
Topic: New user intro / question(s) about Parallax and sprites
Replies: 14
Views: 1635

Re: New user intro / question(s) about Parallax and sprites

I don't know if BlueCrab is still following this thread (or maybe someone else can help). I've ran the attached code below on lxDream emulator and everything display on screen as I would expect it to, but as I received my SD card adapter yesterday I tried the code on my Dreamcast and got very differ...
by Roukan
Tue Jul 08, 2014 4:02 pm
Forum: Programming Discussion
Topic: New user intro / question(s) about Parallax and sprites
Replies: 14
Views: 1635

Re: New user intro / question(s) about Parallax and sprites

Thanks for the very quick reply BlueCrab :) You can use either a sprite sheet or individual textures. I don't recall ever seeing any performance benefit to one over the other, so it is more a matter of how you want to deal with your data. If you wish to use sprite sheets, then you'll need to manipul...
by Roukan
Tue Jul 08, 2014 3:05 pm
Forum: Programming Discussion
Topic: New user intro / question(s) about Parallax and sprites
Replies: 14
Views: 1635

New user intro / question(s) about Parallax and sprites

Hi All Newly registered user reporting in: Name: Jim Age: 50 Location: Lancashire (UK) Never programmed the Dreamcast before and my C knowledge is beginner level. I have been reading the forums for a couple of weeks now to start learning about Dreamcast programming using C & KOS/PARALLAX librari...