Scaler 'Engine'

Post your Construct-made creations!

Post » Thu Feb 05, 2009 1:03 am

while trying to rip off space harrier, i finally found the guts to bite through the trigonometry required to build a simple faux-3d 'sprite scaling' engine:

all behaves well except for tilting the camera. i know it is a hassle to look at other peoples code, but maybe some of you math genius' spot my error straight away ... i would greatly appreciate it! (the code is rather clean to read, too ... :))

scaler engine v01.cap

and if anybody wants to use it, there's a friendly license on it that lets you do that, too. yay for sharing!
B
2
S
2
G
4
Posts: 171
Reputation: 1,792

Post » Thu Feb 05, 2009 2:13 am

did you seriously get a CC license for this :?
i mean cmon man, no ones gonna take credit of this. were not like that here and i could of done this on alot of my stuff but thats not how we roll around here.

its very cool btw. try putting this inside of davids skybox demo, now that would look awesome.

also you shouldnt let the view be rotated up and down, only horizontally, since your sprites are representing a side view, and if you were looking top down you would only see a circle

(make the ball a seperate sprite maybe? that would make more sense)
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Thu Feb 05, 2009 5:24 am

Yeah cc and os gpl don't really mix that well, but... oh well.
If you really want to license it, you might try to make a plugin out of it.
Actually I'm not even sure you can license it at its current stage.
Its a cool concept, one thing I notice is some of the panning seems to be a little exaggerated from the side, one balloon will zoom in real quick while another will stay the same size.
Any way good luck with it.
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Thu Feb 05, 2009 2:42 pm

thanks for your feedback!
i know that the ability to tilt the camera can ruin the illusion; but apart from that, i would really like to know how it is done properly (since my math is wrong in that regard).

[quote="QuaziGNRLnose":1vdwuwik]thats not how we roll around here.[/quote:1vdwuwik] of course i know that the friendly people of this forum are not going to 'steal' this (aside from the fact that it's nothing special, too). mind you, the cc license is actually an explicit statement that the work can (and should) be shared. if i had not published it under a license, copyright law would have implied that 'all rights are reserved', which would (imho) not be in line with the creative spirit around here.
B
2
S
2
G
4
Posts: 171
Reputation: 1,792


Return to Your Creations

Who is online

Users browsing this forum: No registered users and 0 guests