Search found 151 matches

by POLYGAMe
Wed Jan 20, 2016 5:18 am
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12585

Re: Is it possible to 'mirror' the screen easily?

How do I do that test with my tile sets/images? Is that VDP RAM window from a special app?
by POLYGAMe
Tue Jan 19, 2016 9:27 am
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12585

Re: Is it possible to 'mirror' the screen easily?

Awesome :D Pretty sure I can finish the road "engine" this weekend :) Thanks for all your help, Stef!!!
by POLYGAMe
Mon Jan 18, 2016 11:51 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12585

Re: Is it possible to 'mirror' the screen easily?

So rescomp is part of the sgdk... do I need to do anything to utilise it or is it always used when I import resources? Am I right in assuming that if my image is symmetrical it will handle it for me? That sounds better than trying to work out how to fill empty tiles with flipped matching tiles :)
by POLYGAMe
Mon Jan 18, 2016 1:44 pm
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12585

Re: Is it possible to 'mirror' the screen easily?

Cool thanks! I'll look into rescomp :)
by POLYGAMe
Mon Jan 18, 2016 8:51 am
Forum: SGDK
Topic: Is it possible to 'mirror' the screen easily?
Replies: 23
Views: 12585

Is it possible to 'mirror' the screen easily?

For my racing game I'm using a textured road. Obviously I'd like to save as much memory as possible so cutting the road in half and mirroring the other side would be awesome. Is this easily achievable? I haven't seen anything obvious in the various VDP functions I've been playing with. Thanks in adv...
by POLYGAMe
Sat Jan 16, 2016 4:00 am
Forum: SGDK
Topic: Which IDE to use?
Replies: 17
Views: 11910

Re: Which IDE to use?

Ah, good to know. I'll stick with Code::Blocks then now that I have it all working :)
by POLYGAMe
Fri Jan 15, 2016 7:23 am
Forum: SGDK
Topic: Which IDE to use?
Replies: 17
Views: 11910

Re: Which IDE to use?

I might try Eclipse too. Be sure to use Eclipse CDT, not Eclipse (for java) Eclipse CDT comes with makefile support, very handy Thanks. I've been using Code::Blocks but building is pretty unstable. Works maybe 70% of the time and I'm only making small demos. Hate to think how it will be with a full...
by POLYGAMe
Wed Jan 13, 2016 9:47 am
Forum: SGDK
Topic: Possible to load image line by line?
Replies: 10
Views: 6125

Re: Possible to load image line by line?

Thanks for the info. I'll have a go at it on the weekend :)
by POLYGAMe
Tue Jan 12, 2016 11:47 pm
Forum: SGDK
Topic: Possible to load image line by line?
Replies: 10
Views: 6125

Possible to load image line by line?

I'm wanting to load in an image that is taller than what I want to display but I only want to load every 20th line of the image or so, so I can 'scroll' between lines. Basically I want to use a tall image of a road but loading it this way (using every 20th line or so) the road will only take up half...
by POLYGAMe
Tue Jan 12, 2016 8:25 am
Forum: SGDK
Topic: Line scrolling 'skipping' lines...
Replies: 15
Views: 8758

Re: Line scrolling 'skipping' lines...

WOOHOO!!!! Thank you, Stef! You're a genius :D
by POLYGAMe
Mon Jan 11, 2016 8:34 pm
Forum: SGDK
Topic: Line scrolling 'skipping' lines...
Replies: 15
Views: 8758

Re: Line scrolling 'skipping' lines...

I'm so confused. Lol.

EDIT: Ah, wait, I see what you mean. Will try again when I get home. Stupid day job getting in the way of my hobby!

Thanks for all your help, too :)
by POLYGAMe
Mon Jan 11, 2016 6:34 pm
Forum: SGDK
Topic: Line scrolling 'skipping' lines...
Replies: 15
Views: 8758

Re: Line scrolling 'skipping' lines...

Okay, so I take each line's x position and shift the line above it plus an offset. Ints are too big as the road shoots off the screen. If I use float to int conversion as you posted above, it doesn't bend the road at all and if I use the same technique but also using the previous line's x for the of...
by POLYGAMe
Mon Jan 11, 2016 1:20 pm
Forum: SGDK
Topic: Line scrolling 'skipping' lines...
Replies: 15
Views: 8758

Re: Line scrolling 'skipping' lines...

I did exactly that yesterday. The problem is, offset still ends up as an int, so I get the same results. I'll try again in case I did it wrong though. Haha.
by POLYGAMe
Mon Jan 11, 2016 9:31 am
Forum: SGDK
Topic: Line scrolling 'skipping' lines...
Replies: 15
Views: 8758

Re: Line scrolling 'skipping' lines...

Okay, bit-shifting didn't work. Gave the same results. The problem is I can't scroll less than a pixel so I need to approximate the curve without the exponential offset.

Any ideas on how to smoothen the road? Perhaps bezier curves? Really stuck on this! Haha.
by POLYGAMe
Sun Jan 10, 2016 6:32 pm
Forum: SGDK
Topic: Line scrolling 'skipping' lines...
Replies: 15
Views: 8758

Re: Line scrolling 'skipping' lines...

I tried that but the problem is the line scroll function only takes an S16 array not a fix16 array so I get the same results. I guess it's because it's impossible to scroll less than one pixel.

Will have a play with bit-shifting tonight but I think I have another idea that might work.