Text Collision

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Clover
Prole
Posts: 2
Joined: Mon May 18, 2020 11:33 pm
Location: Brazil, São Paulo
Contact:

Text Collision

Post by Clover »

How can i make text collide with text?
I want to make an enemie that is just plain text, but i don't know how to make them collide with each other
User avatar
siberian
Prole
Posts: 21
Joined: Sat Apr 06, 2019 1:42 pm

Re: Text Collision

Post by siberian »

You can use drawable text
https://love2d.org/wiki/Text
cristoferfb
Prole
Posts: 16
Joined: Wed May 15, 2019 12:41 am
Location: Valparaiso, Chile.

Re: Text Collision

Post by cristoferfb »

Creating a Text object (as says siberian) u can control him more accurate, as any other drawable it is like a box and u can apply a 2d collision check like say in this article https://sheepolution.com/learn/book/13
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests