.exe game don't found the .ttf

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
vitail
Prole
Posts: 26
Joined: Thu Apr 09, 2015 8:37 pm

.exe game don't found the .ttf

Post by vitail » Thu Sep 17, 2015 9:26 pm

i dont know why.

Image

davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: .exe game don't found the .ttf

Post by davisdude » Thu Sep 17, 2015 9:32 pm

Can't tell without the .love, but it's probably a capitalization error...
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

vitail
Prole
Posts: 26
Joined: Thu Apr 09, 2015 8:37 pm

Re: .exe game don't found the .ttf

Post by vitail » Thu Sep 17, 2015 9:49 pm

davisdude wrote:Can't tell without the .love, but it's probably a capitalization error...
i only imported and setted the font on the code, but, ok
Attachments
Scrolling Shooter love.love
(97.93 KiB) Downloaded 39 times

vitail
Prole
Posts: 26
Joined: Thu Apr 09, 2015 8:37 pm

Re: .exe game don't found the .ttf

Post by vitail » Thu Sep 17, 2015 9:56 pm

davisdude wrote:Can't tell without the .love, but it's probably a capitalization error...
if i debug dragging my folder to a love launcher shortcut it works, but the game in a .love or a .exe extension don't work

User avatar
Nixola
Inner party member
Posts: 1942
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: .exe game don't found the .ttf

Post by Nixola » Thu Sep 17, 2015 10:09 pm

The file is called font.TTF. You're loading font.ttf. As Davisdude said, it's a capitalization issue.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics

vitail
Prole
Posts: 26
Joined: Thu Apr 09, 2015 8:37 pm

Re: .exe game don't found the .ttf

Post by vitail » Thu Sep 17, 2015 10:11 pm

Nixola wrote:The file is called font.TTF. You're loading font.ttf. As Davisdude said, it's a capitalization issue.
OH, sorry hahahahaha, thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests