123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|418|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> help with moving rectangles...

Mon, 14 Jul 2008, 07:12
spinal
First of all, i'm not mentioning the actual name of what i'm trying to imitate, mostly because i dont want google comming in and giving the code to everyone and his dog.

Jay has kindly put together some nice code for scrolling some rectangles from the left of the screen to the right, warping them along the way to give some perspective.

what im trying to do, is get the rectangles to do the same after half way as before it, exept the opposite way around, you'll see.

anyway, heres the code (slightly tweaked from what jay did, to get better perspective in the first half of the screen at least)...


So if anyone can have a stab at mirroring the first half of the screen, please do, i cant think right now, too lazy/bored/tired.

and try not to mention the name of the thing its immitating

-=-=-
Check out my excellent homepage!
Mon, 14 Jul 2008, 09:06
Jayenkai


-=-=-
''Load, Next List!''
Tue, 15 Jul 2008, 02:54
spinal
my best solution, im going to cheat also, and just record the corners into a lookup.



-=-=-
Check out my excellent homepage!
Tue, 15 Jul 2008, 03:05
Jayenkai
Hehe..
I tried that, yesterday, but gave up when it got to doing the whole Z-Buffer stuff!


-=-=-
''Load, Next List!''
Tue, 15 Jul 2008, 16:52
spinal
i've gone with the following, just need to drap the array into a text file and sort out the c-side of things.



-=-=-
Check out my excellent homepage!
Fri, 18 Jul 2008, 17:47
dna
That is pretty good spinal.

Jay, you've done it again. Very Good.

These things slow way down

-=-=-
DNA
Sun, 30 Nov 2008, 05:17
spinal
I've came back to this after quite a while and I'm afraid I need a little help (;_

I came up with the following, it cheats a bit, but that doesn't matter. You'll notice it turns all the way across the screen, the problem is, when I do it on the DS, with multiple icons, they overlap a but, plus it doesn't quite look the same as the thing I'm imitating.

What I want, is for the box to wait a while before rotating, so that the rotation only takes up about half what it does now (still across the middle of the screen).
Also, I NEED z to stay in tact, it MUST represent the distance across the screen and be from 0 to 255.



-=-=-
Check out my excellent homepage!
Sun, 30 Nov 2008, 07:07
Jayenkai
*shrugs*

I'm too tired to do that, right now

-=-=-
''Load, Next List!''