Tag: Love2D

Ludum Dare 27: Triad

Posted on August 29, 2013 in Projects

For pretty much all of this year I haven't really been doing any game development (nor posts). But I'm starting to get back into it now; a couple weeks ago I started working on my arena shooter again, and now I've participated in the 27th Ludum Dare. It would seem my period for "not participating in the main competition" was only eight months. :P The game I made is called Triad. You can download it...

Read more...

Ammo 1.0

Posted on December 13, 2012 in Projects

This is just a post announcing that Ammo 1.0 has been released (changelog). After a couple months in the 0.x range, I feel it's ready to be pushed up to 1.0. Hopefully soon I can create some tutorials for the library; the documentation is complete and up-to-date, but documentation isn't particularly good at conveying the big picture. Anyway, if you've got any feedback on the library, please let me know.

Read more...

Ammo

Posted on October 15, 2012 in Projects

This announcement post is a bit overdue, but, better late than never. A short while ago, I released the first version (0.1) of Ammo, my organisational library for LÖVE. Its current version is 0.1.3. I plan to let the library stay in the 0.x range for a while as it's tested by me and any others who use it. Along with the core library, there's a number of extensions available. The one I'm most excited...

Read more...

Custom Cursors in Love2D

Posted on September 20, 2012 in Tutorials

When making a game in LÖVE, you'll probably end up needing to customise the mouse cursor. As I recently had to do just that, I thought I'd make a quick tutorial on it. If you want an example cursor, here's the crosshair I'm using in a game right now. Now, all of what we need is contained within the love.mouse module. The first step is to hide the mouse with love.mouse.setVisible. You'll probably want to...

Read more...

And I'm Back

Posted on January 17, 2012 in General

The holiday was great for the most part, and as always, it's good to be home again. But the main thing I want to talk about is the things I've been working on while away. First of all, I worked on Illusive Dreams a bit, adding levels 34 to 38. But the thing I got the most done on would be my library for LÖVE, Ammo. I'm not sure whether I've mentioned it on my...

Read more...

How It Works: The Thruster in Facilitated Escape

Posted on October 23, 2011 in Tutorials

In this post I'll be taking a look at how I programmed aspects of the ship's thruster in my game, Facilitated Escape. I'll most likely be making more posts like this in the future (as in, I intend to make a series of "How It Works" posts). Initially I had a lot of trouble getting the thruster to look right; you might be able to see some of my troubles in the Ludum Dare time-lapse....

Read more...

Mouse Dragging in Love2D

Posted on September 06, 2011 in Tutorials

In this tutorial, I'll be taking you through my method of enabling objects to dragged by the mouse (in LÖVE of course). You can view the completed code for this tutorial at gist #1196228. So, say you have an object with x/y coordinates, width, and height, and you want this object to be draggable by the mouse. For this tutorial, I'm just going to construct a table and put in the global, rect: function love.load()...

Read more...

Facilitated Escape 1.0

Posted on September 02, 2011 in Projects

This post is to announce the release of the first version of my game, Facilitated Escape (other than the one submitted to Ludum Dare). I've been working on it for nearly two weeks since I started work during Ludum Dare 21. The game revolves around escaping a collapsing facility in your rocket, dodging oncoming "blocks" that are in your path. It's got quite a retro feel to it, with pixel art and 8-bit music. Anyway,...

Read more...

Ludum Dare 21

Posted on August 22, 2011 in General

After my complete failure in the last Ludum Dare, I didn't plan to take part in the next one (the 21st), however I decided to give it another shot. I'd learnt a number of things from my failure last time: go with a concept that's really simple, and use simple art, like pixel art, at least if you're a programmer like me. I also decided not use my personal framework for LÖVE; the biggest reason...

Read more...

Glow Effect for Lined Shapes in Love2D

Posted on July 16, 2011 in Tutorials

Recently I experimented with an easy way to make lined shapes glow (using LÖVE of course). There are of course other ways of doing it, and there are many styles of glow that can be used, but this is the one I came up with. love.graphics.setColor(r, g, b, 15) for i = 7, 2, -1 do if i == 2 then i = 1 love.graphics.setColor(r, g, b, 255) end love.graphics.setLineWidth(i) -- draw lined shape here...

Read more...

A Guide to Getting Started with Love2D

Posted on June 14, 2011 in Tutorials

In this post, I'll attempt to give you my personal guide on some good steps to getting started with the Love2D game engine (the proper name is LÖVE, which I'll be using from now on). It's not perfect, of course, but I hope you find it useful. If you have any feedback, I'd love to hear from you in the comments. What is LÖVE? I'm guessing you probably already know, but for those who don't,...

Read more...

Cameras in Love2D Part 3: Movement Bounds

Posted on May 09, 2011 in Tutorials

Because there was some interest in a part 3, of this series, I've written it, and in this part we'll cover creating bounds that the camera can't move beyond. Make sure you've read part 1 and part 2 before continuing. In case you're wondering what I mean by this, I mean restricting the movement of the camera to a "box", as in, having minimum and maximum x/y coordinates for the camera. This comes in handy...

Read more...

Draw Origins in Love2D

Posted on May 06, 2011 in Tutorials

In this post I'm going to be showing you origins when drawing stuff in Love2D. First of all, what are origins? They specify the offset for the origin of the object's x/y coordinates. In other words, if you specify the x origin to be 20, the object will be drawn 20 pixels to the left, as in x - 20. It's the same for the y origin: if we have a y origin of 20,...

Read more...

Ludum Dare 20: My Experience

Posted on May 02, 2011 in General

From April 29 to May 2 Ludum Dare 20 has been going on. For those who don't know, the main competition involves making a game based on a certain theme in a 48 period; tough call. Hundreds of developers have a shot at this every four months, and I thought I'd give it a try. In this post, I'm going to write about my experience in it, and the lessons I learnt. I'll let you...

Read more...

Cameras in Love2D Part 2: Parallax Scrolling

Posted on April 22, 2011 in Tutorials

In part 1 we constructed a basic camera. Now we're going to extend it by adding some parallax scrolling. Note that the method I'll use is probably not the prettiest, as I came up with it in half an hour. Nevertheless, this will be a starting point for you to develop your own system. What Is It? Now, for those who don't know, what is parallax scrolling? It's a way to get a pseudo-3D effect...

Read more...

Cameras in Love2D Part 1: The Basics

Posted on April 19, 2011 in Tutorials

This is the first of a couple of blogs on creating cameras in the LÖVE engine. This part will deal with the fundamentals of creating a camera. Part two will deal with parallax scrolling and creating layers. So, let's get to it! Update: I've actually ended up writing a part 3, which covers restricting camera movement. The Functions The functions we'll need are these: love.graphics.pop love.graphics.push love.graphics.translate love.graphics.rotate love.graphics.scale Love2D (I'll use this name from...

Read more...

Launcher - Camera Improvements and Music

Posted on April 17, 2011 in Projects

A little late, posting this, but oh well. I've improved the camera by limiting where it can go, and also by added shakes on explosions. I've added some very quickly put together music. Lastly, I've experimented with increasing the velocity of wall explosions. Enjoy!

Read more...

Launcher - Sound and An Awesome Level

Posted on April 14, 2011 in Projects

Now this gameplay video I'm pretty proud of. I've now added some very rough sound, generated with CFXR. This is also the first time I get to display a much more awesome level; because I'm telling you, it takes a lot of skill to play this kind of level with a screen recorder running, with all the jerkiness in framerate. The screen recorder also caused a few physics problems a long the way. At two...

Read more...

Launcher - Exploding Walls

Posted on April 13, 2011 in Projects

I just posted a new gameplay video of Launcher. Most of the time on Launcher since last time has been fixing bugs; there were some pretty serious ones in there. But anyway, that's over now, and the main new feature is exploding walls. Enjoy!

Read more...

Code for Launcher Released

Posted on April 11, 2011 in Projects

I thought I'd release the code for "Launcher" in its current state for the public to muck around with. Note that, as expressed in LICENSE.txt (make sure you read that), that this only applies to its current state. Meaning that you have this code under the terms of the BSD license, but don't have any future code under its terms. I know this is obvious, but hey, we live in a confusing, wacky, legal world....

Read more...

Launcher

Posted on April 10, 2011 in Projects

I've been working on a little game (in the LÖVE game engine), which for now I'm calling "Launcher". The core gameplay mechanic is this: you are a circle, which can stick to certain surfaces, and then launch yourself at great speed off them in the direction of the mouse. It's completely controlled by the mouse, you aim with it, and the distance between the player and the mouse determines the speed of launch. On my...

Read more...

Grace is No Longer in Development

Posted on April 08, 2011 in Projects

My big project called Grace is no longer under development. The reason I started this project, is because I wanted organisation to back me, before I started making a game. That wish is totally valid, but I went too far. Instead of sticking with some simple organisation, and only implementing what I actually needed, I made this monolithic framework that eventually became a little hard for even me to comprehend. After some examination, I found...

Read more...

Vault

Posted on April 03, 2011 in Projects

Well, this morning I created a little library for LÖVE called Vault. This library is about data storage (as in persistent data storage), and it allows you to store and retrieve data in native Lua data types. If you want to learn more have a read of the README over at its repo. I'll also be adding a project page for it sometime soon. Enjoy! EDIT: The new project page is over here: projects/lua/vault

Read more...