Ludum Dare 37 entry
excessive / ludum-dare-37 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The cutscene text looks too blurry. This patch fixes it:
diff --git a/libs/dialog.lua b/libs/dialog.lua
index 6275fbb..cff4a8c 100644
--- a/libs/dialog.lua
+++ b/libs/dialog.lua
@@ -93,11 +93,11 @@ function dialog:_box(cx,cy,text)
--left
love.graphics.draw(dialog.img.edge,x-p,y+h,-math.pi/2,h,1)
- love.graphics.printf(text,x+tpad,y+tpad,max_width,"left")
+ love.graphics.printf(text,math.floor(0.5+x+tpad),math.floor(0.5+y+tpad),max_width,"left")
local shadow = 2
love.graphics.setColor(0,0,0,31)
- love.graphics.printf(text,x+tpad+shadow,y+tpad+shadow,max_width,"left")
+ love.graphics.printf(text,math.floor(0.5+x+tpad+shadow),math.floor(0.5+y+tpad+shadow),max_width,"left")
love.graphics.setColor(old_color)
love.graphics.setFont(old_font)
I hacked the game to let me keep playing without dying in the first minute. Near the end, I got this:
Error: libs/cpml/modules/quat.lua:210: 'struct 162' has no member named 'w'
stack traceback:
libs/cpml/modules/quat.lua:210: in function 'dot'
libs/cpml/modules/quat.lua:337: in function 'slerp'
src/systems/ai.lua:73: in function 'process'
libs/tiny.lua:325: in function 'update'
libs/tiny.lua:774: in function 'update'
src/scenes/play.lua:528: in function 'update'
conf.lua:472: in function <conf.lua:298>
[C]: in function 'xpcall'
This happened twice at two very different points of the game. Another time around, I could beat the game without problems, so it's kind of intermittent.
I don't know if the window is resizable during midgame, but since the mouse is captured, it doesn't really matter. However, it's resizable while not playing, and it's useful to resize it because, for example, setting fullscreen on and off leaves the window with the fullscreen size and it can't be shrunk again to normal. I didn't see any issues with doing so.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.