Rotationspunkt setzen für eine Grafik 64x64 für Setrotation
Übersicht BlitzMax, BlitzMax NG Allgemein
funkheldBetreff: Rotationspunkt setzen für eine Grafik 64x64 für Setrotation |
So, Aug 14, 2016 17:28 Antworten mit Zitat |
|
---|---|---|
Hallo, guten tag.
Wie kann ich bitte bei einem Image einen bestimmten Rotationspunkt setzen für Setrotation? Bild ist 64x64 Pixel. Code: [AUSKLAPPEN] Graphics 600,600,0 Global rot:Int Global bild=LoadImage( "d:/blitzmax/grafik/auto.bmp" ) SetMaskColor 0,0,0 SetColor(255,255,255) While Not KeyDown(Key_Escape) cls If KeyDown( Key_Up ) Then rot = rot + 1 If KeyDown( Key_Down ) Then rot = rot - 1 SetRotation( rot ) drawimage(bild,300,300 ) Flip Wend Danke. Gruss |
||
Midimaster |
So, Aug 14, 2016 19:58 Antworten mit Zitat |
|
---|---|---|
SetHandle(x%,y%) für DrawOval, DrawText, etc...
oder SetImageHandle(image:TImage,X5,y%) für Images |
||
Gewinner des BCC #53 mit "Gitarrist vs Fussballer" http://www.midimaster.de/downl...ssball.exe |
funkheld |
So, Aug 14, 2016 22:24 Antworten mit Zitat |
|
---|---|---|
Hallo, grüss dich.
Danke für die Hilfe. Klappt wunderbar. Gruss |
||
Übersicht BlitzMax, BlitzMax NG Allgemein
Powered by phpBB © 2001 - 2006, phpBB Group