Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroshevskii committed Mar 21, 2023
1 parent 62be141 commit ea80b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Docs/Assets/Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Sources/Snake/SnakeGame.swift
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class Game {
// textColor
// )

let text = "[ Swiftly Snake ]"
let text = "[ Pixel Snake ]"
let textFontSize: Int32 = 40
let drawPosition = Point2D(
x: (640 - Raylib.measureText(text, textFontSize)) / 2,
Expand All @@ -187,7 +187,7 @@ class Game {
let descriptionFontSize: Int32 = 10
let descriptionDrawPosition = Point2D(
x: (640 - Raylib.measureText(descripion, descriptionFontSize)) / 2,
y: 360 / 2 + (360 / 2 - descriptionFontSize) / 2
y: 360 / 2 + (360 / 4 - descriptionFontSize) / 2
)
Raylib.drawText(
descripion, descriptionDrawPosition.x, descriptionDrawPosition.y, descriptionFontSize,
Expand Down

0 comments on commit ea80b87

Please sign in to comment.