Search found 8 matches

by Neox Hopper
Fri Jan 04, 2019 1:57 am
Forum: General
Topic: love.event.wait freezing game window
Replies: 13
Views: 10861

Re: love.event.wait freezing game window

I tried using this script: local Timer = require("hump.timer") local Potato2 = "" function love.keypressed(key) if key == 'a' then Timer.after(1, function() Potato2 = ("potato2.png") end) end end function love.update(dt) Timer.update(dt) end function love.draw() love.gr...
by Neox Hopper
Thu Jan 03, 2019 10:46 pm
Forum: General
Topic: love.event.wait freezing game window
Replies: 13
Views: 10861

Re: love.event.wait freezing game window

Is it possible to do the same thing but with images?
by Neox Hopper
Wed Jan 02, 2019 1:25 am
Forum: General
Topic: love.event.wait freezing game window
Replies: 13
Views: 10861

Re: love.event.wait freezing game window

Do I drag the "hump-master" folder into my game's folder (folder with main.lua)?
by Neox Hopper
Tue Jan 01, 2019 12:06 pm
Forum: General
Topic: love.event.wait freezing game window
Replies: 13
Views: 10861

love.event.wait freezing game window

I'm trying to make a walking animation using this script: function love.update(dt) if love.keyboard.isDown("d") then x = x + (speed * dt) love.event.wait(1) potato = right end However, when I enter the "love.event.wait(1)" code, it freezes the game window for 1 second. Is there a...
by Neox Hopper
Tue Jan 01, 2019 12:10 am
Forum: General
Topic: Unable to change size of game window
Replies: 2
Views: 2704

Re: Unable to change size of game window

It works now, thank you for the info :D
by Neox Hopper
Mon Dec 31, 2018 10:36 pm
Forum: General
Topic: Unable to change size of game window
Replies: 2
Views: 2704

Unable to change size of game window

When I enter this script, the size of the (Love) window doesn't change at all

Script:

function love.conf(t)
t.window.width = 1024
t.window.height = 768
end

Does anyone know how to fix this issue?
by Neox Hopper
Mon Dec 31, 2018 10:13 pm
Forum: General
Topic: Unable to display text and images at the same time
Replies: 2
Views: 2591

Re: Unable to display text and images at the same time

Oh now I get it, thank you so much for the info :D
by Neox Hopper
Mon Dec 31, 2018 8:25 am
Forum: General
Topic: Unable to display text and images at the same time
Replies: 2
Views: 2591

Unable to display text and images at the same time

When I enter this script into my game, it shows the image but it doesn't show the text. Does anyone know how to fix this issue? Script: function love.load() potato = love.graphics.newImage("potato.png") end function love.draw() love.graphics.draw(potato, 250, 250) end function love.draw() ...