Search found 59 matches
- Tue Mar 18, 2014 1:16 am
- Forum: Libraries and Tools
- Topic: A little demo of love.math.noise function
- Replies: 5
- Views: 3453
A little demo of love.math.noise function
Hello to all, Here is a little demo of the love.math.noise function to generate background images. (left/right arrow to rotate, space to regenerate background) Because I use scrolling, I need seemless image that I generate with the 3D noise function mapping the 2D surface on a donut that can create ...
- Sun Feb 09, 2014 11:57 am
- Forum: Support and Development
- Topic: Share a Shader!
- Replies: 328
- Views: 601316
Re: Share a Shader!
I tried to implement your shader qwook, the glow effect looks really cool in your picture. Unfortunately, I'm not doing something right, as my pig doesn't glow like I think it should: In fact the code is a code for bluring not for glowing. What I undestand of glowing, you want your picture surround...
- Tue Feb 04, 2014 7:39 pm
- Forum: Support and Development
- Topic: Share a Shader!
- Replies: 328
- Views: 601316
Re: Share a Shader!
Hello, I have modifed my shader that display voronoi's diagram of moving point, working now with löve 0.9.0 It can now display voronoi using three different distances : the euclidian distance (the standard one) the "manhattan distance" (addition of absolute value of x difference and y diff...
- Tue Feb 04, 2014 12:23 am
- Forum: Games and Creations
- Topic: Ophidian Crawler : a non-tron snake clone [v0.07]
- Replies: 22
- Views: 15333
Re: Ophidian Crawler : a non-tron snake clone [v0.07]
(Sorry for the double post) Here a new version of Ophidian Crawler 0.07. See OP for the love file. New Features : Background generated by the noise() of love 0.9.0 Vitamin have progressive color from yellow to red, before disapearing Score of vitamin from 50 to 200, depending of maturity and size (l...
- Thu Jan 09, 2014 1:47 pm
- Forum: Support and Development
- Topic: A couple minor problems making a console
- Replies: 4
- Views: 1724
Re: A couple minor problems making a console
the problem :
in console.lua. In fact it must be consoleLog[k] or more simply v.
Else consoleLog[v] is nil, so it's an error.
Code: Select all
love.graphics.print(consoleLog[v],11,y)
Else consoleLog[v] is nil, so it's an error.
- Sun Dec 15, 2013 9:07 pm
- Forum: Games and Creations
- Topic: Ophidian Crawler : a non-tron snake clone [v0.07]
- Replies: 22
- Views: 15333
Re: Ophidian Crawler : a non-tron snake clone [v0.05]
Thank you for you feedback Lafolie, and sorry for my response time. The model I use is that each ring of the snake is pulled by the previous. Is not how a real snake move of course, and it's in fact like a string or a train without rail. The follower don't have the same trajectory that the followed ...
- Sat Oct 12, 2013 7:31 pm
- Forum: Support and Development
- Topic: Vector Rotation
- Replies: 3
- Views: 3166
Re: Vector Rotation
The problem is due to modification of origin vector during computation (origin vector = result vector). For the rotation around x-axis, the formula must be : x' = x y' = cos * y + sin *z z' = cos * z - sin * y Or in fact you do y = ...., so you change y value for the z' computation and the the z res...
- Wed Oct 09, 2013 7:40 pm
- Forum: Games and Creations
- Topic: Ophidian Crawler : a non-tron snake clone [v0.07]
- Replies: 22
- Views: 15333
Re: Ophidian Crawler : a non-tron snake clone [v0.05]
Sorry for the double post. Here a new version of Ophidian Crawler (love file in the first post) The new feature is that the snake's body avoiding the vitamin. The collision code here is not optimized so it's working on my machine but it can be slow on yours. The number in bottom left is the FPS. It'...
- Sat Oct 05, 2013 8:27 pm
- Forum: Support and Development
- Topic: [SOLVED] For loops and grid-locked movement
- Replies: 6
- Views: 4120
- Fri Oct 04, 2013 8:58 pm
- Forum: Support and Development
- Topic: Need quick fix for Box2d !
- Replies: 3
- Views: 1369
Re: Need quick fix for Box2d !
The problem ? You use your object variable to hold a unique object. For example you can use a variables objects containing all your box 2D objects. love.physics.setMeter(64) world = love.physics.newWorld(0,9.86*64,true) local objects = {} spawner = {} -- spawn the entities function spawner:spawn(wor...