Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objektien piirto sekä kuvien maailmankoordinaatteihin piirto bugaa, kun piirrettävä kuva on kahden pikselin välissä #119

Open
valscion opened this issue Jun 26, 2012 · 0 comments
Labels

Comments

@valscion
Copy link
Contributor

Issue #76 on korjattu jo näyttökoordinaatteihin piirron osalta mutta bugi esiintyy vielä joillakin koneilla kun piirrellään maailmankoordinaatteihin.

tatti = LoadObject("media/tatti.bmp")
ClsColor 255, 255, 255
Repeat
    Color 0, 0, 0
    Text 0, 0, "Object coords: (" + ObjectX(tatti) + ", " + ObjectY(tatti) + ")"
    Text 0,13, "Camera coords: (" + CameraX() + ", " + CameraY() + ")"
    TranslateObject tatti, 0.5 * (KeyHit(cbKeyRight) - KeyHit(cbKeyLeft)), 0.5 * (KeyHit(cbKeyUp) - KeyHit(cbKeyDown))
    TranslateCamera (KeyHit(cbKeyA) - KeyHit(cbKeyD)) * 0.5, (KeyHit(cbKeyW) - KeyHit(cbKeyS)) * 0.5
    DrawScreen
Forever

Kuvat voivat bugata alla olevan vanhan screenshotin tavoin joko x-suunnassa tai y-suunnassa.

bugi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant