Search found 94 matches

by SneakySnake
Thu Jun 19, 2014 3:14 pm
Forum: Games and Creations
Topic: Derpy and The Hunting of the super tasty Muffin (oA)
Replies: 12
Views: 11676

Re: Derpy and The Hunting of the super tasty Muffin (oA)

This looks fun, but can you please make the CRT shader optional?
I have a rather weak graphics card that can't really handle it well.
by SneakySnake
Mon Jun 16, 2014 2:27 pm
Forum: Games and Creations
Topic: Ping - A twist on Pong
Replies: 13
Views: 3678

Re: Ping - A twist on Pong

Please don't set the window title every frame! It can be a real performance killer on some systems.
On my system, it causes 100% cpu utilization and I can't even reach a decent FPS.
by SneakySnake
Sun Jun 08, 2014 9:39 pm
Forum: LÖVE-Android
Topic: [love-android-sdl2 port] Sienna
Replies: 20
Views: 13573

[love-android-sdl2 port] Sienna

EDIT: Merged with https://github.com/SimonLarsen/sienna The controls are simple: In the menus, flick in the direction you want to move, and tap to select. In the game, just tap the screen to jump. The longer you hold, the higher you jump. Android package: https://hostr.co/RSNjYvBoeeWn GitHub: https:...
by SneakySnake
Sun May 25, 2014 8:20 am
Forum: General
Topic: Point me to the path of shaders.
Replies: 5
Views: 1088

Re: Point me to the path of shaders.

1) Where to do shaders? Can I just write the shader code in my np++ and flick it on or off? Yet from what I'm hearing is I have to go through GLSL and write the code in C++ in something like visual studios and then save it as some type of file? GLSL is the language you write shaders in. You can wri...
by SneakySnake
Mon May 12, 2014 4:07 am
Forum: Support and Development
Topic: How do you reset back to the default font?
Replies: 5
Views: 2002

Re: How do you reset back to the default font?

love.graphics.newFont without any arguments returns the default font. See http://www.love2d.org/wiki/love.graphics.newFont#Function_4 Just don't call it in a tight loop or something, because it creates a new font every time. Alternatively, you can save the font into a variable using love.graphics.ge...
by SneakySnake
Sun May 11, 2014 6:34 pm
Forum: General
Topic: Error: attempt to compare number with boolean
Replies: 4
Views: 1811

Re: Error: attempt to compare number with boolean

Don't use error for debugging. It terminates the program. The problem is most likely not in the first iteration, but at a later time. Use assert or print instead. Actually, error is kind of useful to see if a branch of execution is ever reached. But that's pretty much all I can think of using it for...
by SneakySnake
Fri May 02, 2014 12:49 am
Forum: General
Topic: Problem with Lua module
Replies: 2
Views: 672

Re: Problem with Lua module

It's the order of execution. When you require "interface" , the execution of main.lua pauses, and interface.lua gets executed. prim1Callback doesn't exist yet when interface.lua is executing. You can just put the function definition before you require interface.lua . function prim1Callback...
by SneakySnake
Thu May 01, 2014 12:22 pm
Forum: Games and Creations
Topic: [LD29] Safety Blanket
Replies: 9
Views: 2771

Re: [LD29] Safety Blanket

When I was a child, I actually thought monsters would get me if I didn't cover my entire body properly.
I was also afraid to sleep on my back.

Really great idea!
I also loved the sound effects, they are very creepy.
by SneakySnake
Wed Apr 30, 2014 6:02 pm
Forum: Support and Development
Topic: HELP! GameStates from scratch. (Intro > Menu > Game)
Replies: 7
Views: 1547

Re: HELP! GameStates from scratch. (Intro > Menu > Game)

Upload a .love file so we can see all of your code.
by SneakySnake
Sun Apr 27, 2014 11:29 pm
Forum: Games and Creations
Topic: [WIP] Unnamed Gem Miner Game
Replies: 2
Views: 1465

Re: [WIP] Unnamed Gem Miner Game

I get this error: Error: game.lua:425: Cannot create canvas: height of 4800 pixels is too large for this system. stack traceback: [C]: in function 'newCanvas' game.lua:425: in function 'enter' main.lua:10: in function 'load' [string "boot.lua"]:407: in function <[string "boot.lua"...