Search found 438 matches

by undef
Mon Aug 08, 2016 4:15 am
Forum: General
Topic: Avoiding OOP
Replies: 30
Views: 14303

Re: Avoiding OOP

I would indeed have a map variable which is exposed to the current game state. This variable would always point to the current map which is in a list of maps. To load another map I would just change what map is referring to. I think it's ok that the monsters assume that there is a map, because a mon...
by undef
Mon Aug 08, 2016 2:45 am
Forum: Games and Creations
Topic: Blue - small stressful game
Replies: 5
Views: 3046

Re: Blue - small stressful game

Thanks! :)
Luck is definitely a factor in this game, sometimes you can also just get all "Red".
Nice score! Got me motivated to beat it, but so far without success c^^
by undef
Sun Aug 07, 2016 10:42 pm
Forum: Games and Creations
Topic: Blue - small stressful game
Replies: 5
Views: 3046

Blue - small stressful game

Made a small game for A Game By Its Cover 2016.
Unfortunately you can't play it if you're colorblind.

Blue

I don't really give instructions as well, but I think/hope it's easy enough to figure out the controls and gameplay after failing a few times.

It's very hard for me, my highscore is 13.
by undef
Sun Aug 07, 2016 1:22 pm
Forum: Games and Creations
Topic: vision-training-kit | 視能訓練キット
Replies: 1
Views: 1390

Re: vision-training-kit | 視能訓練キット

Lol, "moonscript trigger warning" :)

Got a score of 57 :)
by undef
Sun Aug 07, 2016 1:18 pm
Forum: General
Topic: What's your Lua/Love setup ?
Replies: 26
Views: 18723

Re: What's your Lua/Love setup ?

josefnpat wrote:
undef wrote:":wall |!love ."
This is nice - TIL <3
:)
Actually ":wa" is the same as ":wall", but I kind of got used to ":wall".
by undef
Tue Aug 02, 2016 12:37 pm
Forum: General
Topic: What's your Lua/Love setup ?
Replies: 26
Views: 18723

Re: What's your Lua/Love setup ?

I also use Vim with custom syntax highlighting.
To run a lua script I use ":w |!lua %", for love I use ":wall |!love .".
And usually I just have to press ":", arrow key up, and return.
by undef
Wed Jul 13, 2016 2:46 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 411224

Re: "Questions that don't deserve their own thread" thread

Use [wiki]Font:getHeight[/wiki]*#wrappedText.
wrappedText ist the second return value of Font:getWrap.
by undef
Tue Jul 12, 2016 1:24 pm
Forum: Support and Development
Topic: Filled circles/arcs are never smooth
Replies: 4
Views: 1759

Filled circles/arcs are never smooth

I usually have to draw another circle with drawmode "line" around my filled circle to make it look smooth.
Anyone else experiencing this?

Setting MSAA doesn't solve this issue for me.

I've added a test.love that switches between drawing a filled circle and drawing two circles every second.
by undef
Fri Jul 01, 2016 3:09 pm
Forum: Support and Development
Topic: Love2D Exporter Online
Replies: 7
Views: 7734

Re: Love2D Exporter Online

Nice!
This would be even cooler if it could export to HTML5 with love.js. ;)