Search found 107 matches

by pedrosgali
Sat Dec 10, 2016 4:46 pm
Forum: General
Topic: still noob and going to learn :)
Replies: 20
Views: 11431

Re: still noob and going to learn :)

It seems I can't put an attachment on a PM so here is a .love with the working shader, use WASD to move the stars. If you unzip it and check the main.lua you can see how to get it working in your program, playing with the variables will get a more custom movement style. Hope this helps. Starfield.lo...
by pedrosgali
Sat Dec 10, 2016 1:07 pm
Forum: General
Topic: still noob and going to learn :)
Replies: 20
Views: 11431

Re: still noob and going to learn :)

I've got a starfield shader you can use, I'm working at the moment but I'll PM you later.
by pedrosgali
Sun Dec 04, 2016 11:53 pm
Forum: Support and Development
Topic: All game entities [unintentionally] act as one entity
Replies: 3
Views: 2147

Re: All game entities [unintentionally] act as one entity

I always try and separate my class functions into another file then have other stuff extend that class, like this... CLASS.LUA local class = {} --Extend allows you to add a new class with a subclass if you want one. and returns the new instance of class. function class:extend(subClass) return setmet...
by pedrosgali
Tue Nov 29, 2016 7:00 pm
Forum: Games and Creations
Topic: SUMMON PROJECT
Replies: 30
Views: 23479

Re: SUMMON PROJECT

I think it is important to mention that I personally am not a fan of the cryptic. The following is quite simply my opinion but in a post No Mans Sky world I think it is relevant, I don't want to derail this thread nor do I want to discourage the dev(s) as I think this game looks great (and I love FL...
by pedrosgali
Sun Nov 06, 2016 3:25 pm
Forum: Support and Development
Topic: Random character?
Replies: 9
Views: 5522

Re: Random character?

I thought love.math.random was auto seeded before love.load... I could be wrong though.

Edit, never mind. I think I see what you meant now.
by pedrosgali
Sun Nov 06, 2016 1:26 pm
Forum: Support and Development
Topic: Random character?
Replies: 9
Views: 5522

Re: Random character?

Are you using love.math.random or just math.random? Math.random will always return the same numbers unless you set the seed at the start.
by pedrosgali
Thu Nov 03, 2016 4:38 pm
Forum: Games and Creations
Topic: noise function toy
Replies: 2
Views: 2519

Re: noise function toy

I love perlin noise. You should add a method of adding a texture to it, by colouring each pixel according to its value. Then you've got a map generator or a texture generator. It always amazes me just how many effects you can achieve with this simple bit of maths.
by pedrosgali
Thu Oct 20, 2016 2:54 pm
Forum: Games and Creations
Topic: Rambo Cat, a platformer shoot'em up
Replies: 7
Views: 4694

Re: Rambo Cat, a platformer shoot'em up

This is fun, I like how you can jump then turn in mid air then fire to use the kickback from your gun to get a little more range on your jumps. That is a fun mechanic that players better than me will use well. I do feel like the jumps are a little sluggish, although this may be down to slow performa...
by pedrosgali
Fri Sep 30, 2016 6:13 pm
Forum: Libraries and Tools
Topic: sone - sound processing library for LÖVE
Replies: 18
Views: 10104

Re: sone - sound processing library for LÖVE

Can't that sawtooth generator be identical to the sinewave gen except using math.tan? Rather than the formula you're using I mean, I was playing with a wave generator a little while back but I never figured a way around the clicks on a change of note.
by pedrosgali
Fri Sep 30, 2016 3:34 pm
Forum: Support and Development
Topic: Balancing game economies
Replies: 21
Views: 13498

Re: Balancing game economies

Well that is pretty awesome. :)
Thanks for that, I'll be reading that as soon as I get a chance.