Jump to content

Honeycombs: Difference between revisions

→‎{{header|Go}}: Updated so now works properly with latest version of raylib-go.
(Ada version)
(→‎{{header|Go}}: Updated so now works properly with latest version of raylib-go.)
Line 1,224:
}
return false
}
 
func DrawLineStrip(points []rl.Vector2, pointsCount int32, color rl.Color) {
for i := int32(0); i < pointsCount - 1; i++ {
rl.DrawLineV(points[i], points[i+1], color)
}
}
 
Line 1,265 ⟶ 1,271:
ctr.X -= r
index := -1
if key := rl.GetKeyPressed(); key !=> -10 {
if key >= 97 && key <= 122 {
key -= 32
Line 1,297 ⟶ 1,303:
}
rl.DrawText(string(c.letter), int32(c.x)-5, int32(c.y)-10, 32, rl.Black)
rl.DrawPolyExLinesDrawLineStrip(pts[i], 7, rl.Black)
rl.DrawText(sChosen, 100, 525, 24, rl.Black)
rl.DrawText(lChosen, 100, 565, 24, rl.Black)
9,486

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.