Search found 343 matches

by Kasperelo
Sun Aug 30, 2015 8:13 pm
Forum: General
Topic: Nice one-liner for switching between "false" and "true"
Replies: 11
Views: 3946

Re: Nice one-liner for switching between "false" and "true"

... god damnit, and I thought I was being clever :P
by Kasperelo
Sun Aug 30, 2015 6:17 pm
Forum: General
Topic: Nice one-liner for switching between "false" and "true"
Replies: 11
Views: 3946

Nice one-liner for switching between "false" and "true"

Code: Select all

not variable and true or false
If variable is true, it return false, and vice versa. Thought it looked much better than

Code: Select all

if variable then
    variable = false
else
    variable = true
end
by Kasperelo
Sun Aug 30, 2015 5:57 pm
Forum: Games and Creations
Topic: Loophole - 2D Puzzle Platformer
Replies: 36
Views: 26661

Re: Loophole - 2D Puzzle Platformer

The jumping acceleration is way too low, you glide around making it hard to control your player.
by Kasperelo
Sat Aug 29, 2015 9:54 am
Forum: Support and Development
Topic: Very weird bug with my bullets
Replies: 2
Views: 876

Re: Very weird bug with my bullets

Haha, god damnit! Thanks!
by Kasperelo
Fri Aug 28, 2015 10:35 pm
Forum: Games and Creations
Topic: Loophole - 2D Puzzle Platformer
Replies: 36
Views: 26661

Re: Loophole - 2D Puzzle Platformer

Nice! It makes the platforming a bit tighter, but the jumping is still a bit weird. The game is fun though :D
by Kasperelo
Fri Aug 28, 2015 10:31 pm
Forum: Support and Development
Topic: Very weird bug with my bullets
Replies: 2
Views: 876

Very weird bug with my bullets

When I shoot a bit to the right of the player in my top down 2d shooter, in some places the bullet doesn't draw and it's x and y coordinates are "NaN". When I remove the code on line 54 and 55 in player.lua, the bullets work again. What??
by Kasperelo
Fri Aug 28, 2015 2:40 pm
Forum: Games and Creations
Topic: Loophole - 2D Puzzle Platformer
Replies: 36
Views: 26661

Re: Loophole - 2D Puzzle Platformer

Nice game, very smooth! You acceleration and deceleration makes it a bit hard to calculate jumps though
by Kasperelo
Thu Aug 20, 2015 2:13 pm
Forum: General
Topic: Programs for making Android apps?
Replies: 12
Views: 5475

Re: Programs for making Android apps?

unek that shit's too expensive yo
and windows sucks
by Kasperelo
Tue Aug 18, 2015 5:18 am
Forum: General
Topic: Programs for making Android apps?
Replies: 12
Views: 5475

Re: Programs for making Android apps?

But that doesn't work on Linux