Search found 69 matches

by unixfreak
Sat Aug 19, 2017 5:49 am
Forum: Games and Creations
Topic: Simon says
Replies: 0
Views: 578

Simon says

A small clone of that classic memory game
simon.love
(128.1 KiB) Downloaded 85 times
by unixfreak
Sat Aug 12, 2017 11:38 pm
Forum: Games and Creations
Topic: Boxclip (platformer / map editor)
Replies: 1
Views: 841

Re: Boxclip (platformer / map editor)

Also a video of a map being created:
by unixfreak
Sat Aug 12, 2017 11:36 pm
Forum: Games and Creations
Topic: Boxclip (platformer / map editor)
Replies: 1
Views: 841

Boxclip (platformer / map editor)

An unfinished platformer project/engine i've been working on and off for a while (about 2 years i think...). It's probably the first love2d program i started that has continually evolved as i learn new things. The code is probably horrendous in some places, but if anyone wants to check it out, here'...
by unixfreak
Sat Aug 12, 2017 9:44 pm
Forum: Games and Creations
Topic: Parallaxed / scrolling starfield
Replies: 5
Views: 1931

Parallaxed / scrolling starfield

Here's a scrolling starfield, probably useful for side scrolling space shooters (all CC-BY-SA / GPL), most of the image assets are from opengameart :awesome: There are 4 object types which are spawned randomly based on a seed: - Nebulae - Planet - Star - Nova Some screenshots here: http://i.imgur.co...
by unixfreak
Fri Apr 28, 2017 3:19 pm
Forum: General
Topic: Using Love2D to create gif animations?
Replies: 2
Views: 782

Using Love2D to create gif animations?

Just an idea that popped into my head. Some people might remember this classic windows freeware; https://en.wikipedia.org/wiki/Pivot_Animator I haven't used it in about a decade, so it's probably alot more advanced than it used to be, but i'm wondering if anyone has used Love2D to make something wit...
by unixfreak
Sat Apr 22, 2017 11:43 pm
Forum: Support and Development
Topic: [SOLVED] Bezier Curves, how to trace a line?
Replies: 21
Views: 4507

Re: [SOLVED] Bezier Curves, how to trace a line?

Managed to get this working now in my small game engine. Basically, i've been trying to make a small war simulator, with some ideas from pandemic/defcon as some kind of strategy game. Previously i was using straight lines to attack targets. Here is how i am using these bezier curve related functions...
by unixfreak
Sat Apr 22, 2017 11:24 pm
Forum: Support and Development
Topic: [SOLVED] Bezier Curves, how to trace a line?
Replies: 21
Views: 4507

Re: [SOLVED] Bezier Curves, how to trace a line?

I know it's already solved but maybe you could try a tweening library the next time, flux is a nice option :) Yes, that's always the easiest/fastest approach, but i've never been keen on using libraries for making small demos/games. Mostly because i'd like to use Love2D as a learning experience, wh...
by unixfreak
Sat Apr 22, 2017 9:22 pm
Forum: Support and Development
Topic: [SOLVED] Bezier Curves, how to trace a line?
Replies: 21
Views: 4507

Re: Bezier Curves, how to trace a line?

Yes, you should just feed it derivative coordinates. I had to offset resulting angle because your sprite is rotated. I had a feeling i was plotting the derivative wrongly, but seems that was not the case. :awesome: Many thanks! That works perfectly. Thank you everyone for the suggestions / examples...
by unixfreak
Sat Apr 22, 2017 8:21 pm
Forum: Support and Development
Topic: [SOLVED] Bezier Curves, how to trace a line?
Replies: 21
Views: 4507

Re: Bezier Curves, how to trace a line?

My maths knowledge isn't too great, but that makes things more understandable. I have just been fiddling around with math.atan2 in an attempt to rotate a sprite along the derivative curve, but can't seem to get it to work right. I put together a small love file with relevant code of what i am trying...
by unixfreak
Sat Apr 22, 2017 7:33 pm
Forum: Support and Development
Topic: [SOLVED] Bezier Curves, how to trace a line?
Replies: 21
Views: 4507

Re: Bezier Curves, how to trace a line?

On the topix of bezier curves, I tried to look through Ref's example, where the car moves around the track, although i can't work out what is actually going on in the code to rotate the sprite in the correct direction of movement. I do see this on the wiki: https://love2d.org/wiki/BezierCurve:getDer...