mirror of
				https://github.com/hajimehoshi/ebiten.git
				synced 2025-10-31 19:52:47 +08:00 
			
		
		
		
	| @@ -36,8 +36,8 @@ func init() { | ||||
| } | ||||
|  | ||||
| const ( | ||||
| 	screenWidth  = 320 | ||||
| 	screenHeight = 240 | ||||
| 	screenWidth  = 640 | ||||
| 	screenHeight = 480 | ||||
| ) | ||||
|  | ||||
| // Sprite represents an image. | ||||
| @@ -316,7 +316,7 @@ func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int) { | ||||
| } | ||||
|  | ||||
| func main() { | ||||
| 	ebiten.SetWindowSize(screenWidth*2, screenHeight*2) | ||||
| 	ebiten.SetWindowSize(screenWidth, screenHeight) | ||||
| 	ebiten.SetWindowTitle("Drag & Drop (Ebiten Demo)") | ||||
| 	if err := ebiten.RunGame(NewGame()); err != nil { | ||||
| 		log.Fatal(err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Hajime Hoshi
					Hajime Hoshi