Graal's Image Zooming Problem
I am working on a psuedo 3d engine and its going really really good. You can "walk" around several objects and it scales and moves their image around based on your direction and location (The basics). Only problem is the way graal zooms its images. Its hard to explain but as it is now, graal seems like its trying to zoom it from the center of the image. How would I work around that and make it zoom from the bottom center? Ive tried alot of formulas to tweak its draw y location based on its zoom to make it look like its zooming from its bottom center. No luck at all.
|
just nag on stefan to give you a 3d server xD
|
LOL too much work. I'm making a mario kart type event :3
|
Quote:
|
Is this the effect you're looking for..?
PHP Code:
|
I've never even heard of stretchx and stretchy lmao. What are they?
|
Yeah that's the effect I want to achieve but your example seems kind of hard to incorporate with the rest of my script. Ill keep testing.
|
Quote:
|
Can't wait to play the finished product. ^^
|
1 Attachment(s)
Fixed it! I made a work around. Instead of adjusting it for different height images, I made all images the same height! 128 pixels high. Perfect. I also made textured walls :3 Doesn't lag clientside at all. It also shows other players with their text and nickname.
|
Good job, looks awesome :)
|
wow! thats awesome make an oldschool FPS like doom or wolfenstein 3d lol xD
|
Ahaha. "WolfenGraal 3D".
Im kinda nervous to keep it uploaded to the server I'm making it on. Some of my fellow staff are really untrustworthy... (On npulse) |
Quote:
|
How the hell do you resize your polygons like that for the walls? When I do that, it divides the polygon into to triangles and distorts the texture -_-
|
All times are GMT +2. The time now is 11:09 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.