Hi, I wanted to share Zoetrope, a library I've been working on for some time now. My goal is for it to be a starter kit for LOVE -- something you can plug in and very quickly get everything you need to create a simple game, but is also reasonably extensible. I also designed it to work a lot like Flixel does, partly because that's what I previously used, but also because the community is pretty big and I'm hoping this might lure people into trying LOVE out now that Flash is dead
I also tried to make debugging less painful, so it's got an interactive console with a command history and the ability to set watches on variables. It also pops open the console if your game crashes so you can inspect the state of things -- thanks to josefnpat's recent post. You can also record user input to automate testing.
Attached is a demo... I have all this hosted on a Bitbucket repository with downloads, documentation, and couple tutorials. Bugs and pull requests are totally welcome!
Zoetrope, a starter kit for LOVE
Zoetrope, a starter kit for LOVE
- Attachments
-
- zoetrope_1.0.love
- (94.23 KiB) Downloaded 1272 times
Re: Zoetrope, a starter kit for LOVE
More clicks if you include:
-creating classes, subclassing existing ones, reusing objects
-animated sprites, including alpha fading, color tinting, and rotation
-user input via keyboard, mouse, and gamepads
-framerate-independent physics (velocity, acceleration, and drag)
-collision checking
-static and animated tilemaps, loaded from either CSV or Tiled files
-tweening object properties
-recording user input and debugging
Re: Zoetrope, a starter kit for LOVE
Wow, this is really awesome - there's so much here. But it crashes in some of the demos when I press a direction key. What version of LOVE was this made in?
Re: Zoetrope, a starter kit for LOVE
Wow, very compact and well done game library!
Recording, not just the user input, but all veriables would be cool.
Keep up good work!
Recording, not just the user input, but all veriables would be cool.
Keep up good work!
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Zoetrope, a starter kit for LOVE
Tilde is a dead key on my keyboard, so I couldn't activate the debugging console. If you use the unicode argument of love.keypressed, like you did for the UI demo, it works.
Help us help you: attach a .love.
Re: Zoetrope, a starter kit for LOVE
I don't have it on my keyboard, but pressing '\' worked
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Zoetrope, a starter kit for LOVE
I also having same problem in the tests. Clicking in any of arrow keys make an error in key.lua:211 bad argument #1 to char. I'm in OSX if that matters. The multi-feature packed library seems nice in functionality.litearc wrote:Wow, this is really awesome - there's so much here. But it crashes in some of the demos when I press a direction key. What version of LOVE was this made in?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Zoetrope, a starter kit for LOVE
The API looks really nice, unfortunately I had the same problem as robin, (un)fortunately, you also get dropped into the console on error .
Re: Zoetrope, a starter kit for LOVE
And so the journey begins to 1.0.1
I coded this against 0.8.0, but it does look like my input modules aren't handling keys correctly on OS X (I'm on Windows)... I think the culprit is this line. Not sure what the right way is to test whether a Unicode value should be considered printable. It looks kind of tricky at first glance anyway.
Robin and bartbes, you can configure what key toggles the console by writing something like this in your source code:
I'm super happy people think this looks promising!
I coded this against 0.8.0, but it does look like my input modules aren't handling keys correctly on OS X (I'm on Windows)... I think the culprit is this line. Not sure what the right way is to test whether a Unicode value should be considered printable. It looks kind of tricky at first glance anyway.
Robin and bartbes, you can configure what key toggles the console by writing something like this in your source code:
Code: Select all
the.console.toggleKey = 'f4'
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Zoetrope, a starter kit for LOVE
Still, it's a tiny fix to check the unicode argument, and it will help everyone with dead keys.
As for the OSX keys, what is the problem, with what keys?
Btw, can I direct your attention to Class Commons, to provide an even better experience when using external libraries?
As for the OSX keys, what is the problem, with what keys?
Btw, can I direct your attention to Class Commons, to provide an even better experience when using external libraries?
Who is online
Users browsing this forum: No registered users and 3 guests