Search found 23 matches

by XCaptain
Fri Apr 18, 2014 8:40 pm
Forum: General
Topic: The new LOVE2D home page
Replies: 14
Views: 7879

Re: The new LOVE2D home page

I like the special effects edition: http://love2d.org/#germanunkol
by XCaptain
Mon Apr 14, 2014 8:42 pm
Forum: Libraries and Tools
Topic: Dungeon/Cave generator
Replies: 11
Views: 7439

Re: Dungeon/Cave generator

I made a quick cave gen yesterday using the Cellular Automata technique with a 3-6 rule. These are surprisingly easy to make. :awesome: http://s1.bild.me/bilder/260513/6114999map.PNG local cave = function(w,h,seed) local dir = { {-1,-1}, --nw {0,-1}, --n {1,-1}, --ne {-1,0}, --w {1,0}, --e {-1,1}, -...
by XCaptain
Sun Feb 02, 2014 8:10 pm
Forum: Libraries and Tools
Topic: Waveform
Replies: 4
Views: 4214

Re: Waveform

Neat little demo! I noticed you draw all the lines individually, in a for loop. It works well and doesn't really matter much, but you might want to know that love.graphics.line can take a table as arguments as well. So if you'd save the y AND the x values into the wave table, you could simply call:...
by XCaptain
Wed Jan 29, 2014 3:57 am
Forum: Libraries and Tools
Topic: Waveform
Replies: 4
Views: 4214

Waveform

There was no school to day and to kill some time, I made a waveform visualizer (it also plays the corresponding tone). It uses lines and a table of y positions. I was going to try and make one out of GLSL, but GLSL confuses me deeply :crazy:.
Image
by XCaptain
Wed Jan 01, 2014 7:33 pm
Forum: Games and Creations
Topic: HALtris - A.I. Tetris Offshoot
Replies: 11
Views: 8979

Re: HALtris - A.I. Tetris Offshoot

This works fine in love 0.8.0.

This AI is very impressive :awesome:! It will never let you finish a line in mode one. never, not one, not even one line :|.
This AI is pure evil.
by XCaptain
Fri Dec 27, 2013 1:49 am
Forum: General
Topic: Argument Error (Solved)
Replies: 2
Views: 2788

Re: Argument Error

Thank you for tell me this, didn't know I need to use ... and not arg. :)
by XCaptain
Fri Dec 27, 2013 1:01 am
Forum: General
Topic: Argument Error (Solved)
Replies: 2
Views: 2788

Argument Error (Solved)

I have found a big bug in love 0.9.0 involving functions that use (...). The function line.midpoint(...) takes an undefined number of arguments, which love 0.9.0 will always pass the file directory instead of the given values. The fallowing .love file will work in 0.8.0 but will not work in 0.9.0. L...
by XCaptain
Tue Dec 17, 2013 2:20 am
Forum: General
Topic: math.sin and math.cos error
Replies: 7
Views: 7030

Re: math.sin and math.cos error

shouldn't there be some conversion from radians to degrees too?
math.rad(degrees)
This will return x degrees in radians.
math.deg(radians)
This is just the opposite.
by XCaptain
Sat Dec 14, 2013 2:06 am
Forum: Games and Creations
Topic: Crash Man Forever
Replies: 8
Views: 7875

Re: Crash Man Forever

Nsmurf wrote:Nice, but very hard. I haven't been able to kill a crashman yet :(

Also
200X
so >3 years ago?
200X
X is the roman numeral for 10 so it would be 20010
Also this is a nice game, but I've never played Mega Man and suck at this :crazy: .
by XCaptain
Tue Oct 15, 2013 9:56 am
Forum: General
Topic: Need ideeas for a game!
Replies: 31
Views: 25031

Re: Need ideeas for a game!