Search found 14 matches

by DekuJuice
Sun Aug 12, 2018 11:08 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 18105

Re: 11.1 app randomly crashes when looping an OGG file

I released a demo recently and one of the testers also had the game crash without an error message. I assumed the problem was something to do with his system since nobody else reported the same issue and I couldn't recreate it myself, but this might be the cause of it. Looking into the code for stre...
by DekuJuice
Mon Jun 04, 2018 5:27 pm
Forum: Support and Development
Topic: love.graphics.print not printing to screen!
Replies: 14
Views: 20620

Re: love.graphics.print not printing to screen!

The code you posted works fine on both my desktop and my old thinkpad. I noticed you're using the 0-1 color range, which was introduced in 11.0, but you're using a variant of setFont that was removed in 0.8.0. With the old 0-255 color range (0,0,0) text on a (1,1,1) background would be pretty much i...
by DekuJuice
Fri May 18, 2018 5:46 pm
Forum: Support and Development
Topic: Is asking for code review here in bad taste?
Replies: 6
Views: 4372

Re: Is asking for code review here in bad taste?

I'd say it depends on how much code you want looked at. If there's specific sections or issues you want looked at I'm sure people here would be willing to help, but asking to look over all of your code is probably a little too much for most.
by DekuJuice
Wed Apr 25, 2018 2:31 pm
Forum: Games and Creations
Topic: Ludum Dare 41 Entries
Replies: 8
Views: 7909

Re: Ludum Dare 41 Entries

The "level1" that shows up in the top left corner is clickable, I should probably update the level select to be more clear and add a proper clear screen since those were common problems brought up to me.
by DekuJuice
Wed Apr 25, 2018 2:18 am
Forum: Games and Creations
Topic: Ludum Dare 41 Entries
Replies: 8
Views: 7909

Re: Ludum Dare 41 Entries

https://static.jam.vg/raw/4ff/2/z/128b5.png Rocket Artist You thought drawing was tough already? Try doing it with a horribly inconvenient control scheme! The goal of the game is successfully draw the image presented in each level with your spaceship. It's the space + drawing game nobody asked for!...
by DekuJuice
Tue Apr 17, 2018 2:10 pm
Forum: Libraries and Tools
Topic: LÖVE-Nuklear - a lightweight immediate mode GUI
Replies: 65
Views: 130529

Re: LÖVE-Nuklear - a lightweight immediate mode GUI

The white square is because nuklear hasn't been updated for 11.0's 0-1 color range yet. Nuklear calls the setColor function from lua though, so a temporary fix is to drop local old_set_color = love.graphics.setColor function love.graphics.setColor(r,g,b,a) a = a or 255 old_set_color(r/255, g/255, b/...
by DekuJuice
Sun Dec 31, 2017 5:54 am
Forum: General
Topic: Graphics module in threads
Replies: 9
Views: 6890

Graphics module in threads

According to the wiki, love.graphics isn't usable from a thread. However, I've found that there's nothing stopping you from requiring the graphics module and calling functions from it. Can I assume it's safe to use as long as I don't do anything that might cause concurrency issues, like drawing to t...
by DekuJuice
Mon Aug 21, 2017 1:12 am
Forum: Support and Development
Topic: [SOLVED] Rotating Pixels at Scale > 1?
Replies: 3
Views: 3511

Re: Rotating Pixels at Scale > 1?

Render your game to a canvas at your original resolution, then draw the canvas at the scale you want. function love.load() --Create a new canvas, the dimensions you pass to it should be your original resolution canvas = love.graphics.newCanvas(320, 240) end function love.draw() love.graphics.setCanv...
by DekuJuice
Sun May 01, 2016 9:21 pm
Forum: Support and Development
Topic: Music like in Nintendo games
Replies: 49
Views: 24482

Re: Music like in Nintendo games

As master both said, you can use a music tracker to compose your songs.

Since you brought up SMB as an example, I recommend http://famitracker.com/
by DekuJuice
Tue Jul 28, 2015 9:03 pm
Forum: Support and Development
Topic: canvas and love.graphics.translate not functioning properly?
Replies: 1
Views: 2112

Re: canvas and love.graphics.translate not functioning prope

First off, you should not be calling love.graphics.newCanvas() from love.draw, just call it once and store it somewhere so you can reuse it later. I'm not completely sure that I understand your issue, but from what I see: love.graphics.push() love.graphics.setCanvas(canvas) love.graphics.translate(1...