Search found 10 matches

by ertt
Fri May 17, 2019 2:49 pm
Forum: Support and Development
Topic: t.window.icon error : file does not exist
Replies: 5
Views: 4686

Re: t.window.icon error : file does not exist

Wiki say

Code: Select all

success = love.window.setIcon( imagedata )
Edit: i'm not sure if "large" file means the filesize or width/height. But i dont think that a icon needs to be 100kb...
by ertt
Wed May 15, 2019 4:38 pm
Forum: Support and Development
Topic: t.window.icon error : file does not exist
Replies: 5
Views: 4686

Re: t.window.icon error : file does not exist

Except the OP did say that ... and the myicon.png file is in the same directory as main.lua and conf.lua Oh sorry, i misunderstood the post. I thought that the imagepath was replaced with another filename, which is maybe outside the folder.. According to the wiki : large iconfiles maybe not support...
by ertt
Wed May 15, 2019 1:30 pm
Forum: Support and Development
Topic: t.window.icon error : file does not exist
Replies: 5
Views: 4686

Re: t.window.icon error : file does not exist

Hey. Löve-Applications are running in a sandbox. You cannot access files outsite of this box. So you can only reference files in the main-folder or included folders, not outside. It is not possible to reference to files in (for example) "c:\users\icon.png" but from "assets/icon.png&qu...
by ertt
Tue May 14, 2019 11:43 pm
Forum: Support and Development
Topic: How to use sti with gamera?
Replies: 0
Views: 3255

How to use sti with gamera?

Hi everyone, i have a problem with the correct usage of kikito's gamera lib in combination with karai17's sti lib (which I both appreciate very much) to work with Tiled-exported lua-files. When i draw the map without gamera everything is fine and the map is drawn on the hole window. But when i want ...
by ertt
Fri May 03, 2019 6:25 pm
Forum: Support and Development
Topic: bump.lua - push passiv object
Replies: 2
Views: 2498

Re: bump.lua - push passiv object [SOLVED]

Hey.
This absolutly works and is a good start for future development of this project. Thanks.
by ertt
Fri May 03, 2019 10:34 am
Forum: Support and Development
Topic: bump.lua - push passiv object
Replies: 2
Views: 2498

bump.lua - push passiv object

Hey lovers, im working on a little platform-like game with traps and items that can push the player. A goal is, that the player could not resist againt the pushers or walls. I am working with bump for the collision detection. In the attached demo i have a player-object and a wall who pushes the play...
by ertt
Sun Dec 23, 2018 7:44 pm
Forum: Support and Development
Topic: Get maximal possible fontsize
Replies: 4
Views: 3402

Re: Get maximal possible fontsize

pgimeno wrote: Sun Dec 23, 2018 6:47 pm Binary search?
I hope there is a solution only with the love-API. But if i dont found another way it should be possible to use a search algorithm. (But maybe its a little bit over-engineered?!).

Thanks anyway.
by ertt
Sun Dec 23, 2018 4:06 pm
Forum: Support and Development
Topic: Get maximal possible fontsize
Replies: 4
Views: 3402

Get maximal possible fontsize

hey folks, i have a little matter with working with fonts. i want to calculate the largest possible font size to show my text in the window. the code in the example is veeeeery slow (i think because of creating a lot of new font-objects). fontname = "fontfile.ttf" fontsize = 60 function ge...
by ertt
Tue Mar 21, 2017 9:51 am
Forum: Games and Creations
Topic: Dudes with bombs (party game)
Replies: 9
Views: 7907

Re: Dudes with bombs (party game)

Ah, ok. I found a solution for my keyboard "shift+;" -problem: :cool: I'm from germany, so i use a german keyboard. To get a ";" i have to press "shift+," . On the us-keyboard, you only press the button right of the "l" ?! (Fun Fact: on a german keyboard there...
by ertt
Mon Mar 20, 2017 11:09 pm
Forum: Games and Creations
Topic: Dudes with bombs (party game)
Replies: 9
Views: 7907

Re: Dudes with bombs (party game)

Hey.
Thanks for your game. I enjoy it! But, how do i add the bots? Do i have to press "shift+;" in the join-menu? It seems that it didnt work for me. By now i add the bots directly in the code.

Anyway! Good job. I Like the art and the music.

ertt