Ninja vs. Samurai

Show off your games, demos and other (playable) creations.
User avatar
mike
Administrator
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: Ninja vs. Samurai

Post by mike »

T-Bone wrote:Would, as always, love gamepad support, but no biggie.
Will add it to the list... :ehem:

I have a few questions about using LÖVE, considering I've been gone for so long.
  • GUI libraries are still plentiful... is there a favorite that I should look into?
  • Is AnAL being maintained and are there any animation libraries out there for animation position/scale/opacity/etc?
  • What is the best way to scale graphics to different resolutions/aspect ratios?
  • Are there any awesome libraries/code examples that I should be aware of?
Edit: I didn't mean to come off like an ungrateful douche, but I was under the impression that LÖVE was for prototyping only.
Now posting IN STEREO (where available)
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Ninja vs. Samurai

Post by slime »

mike wrote:I was under the impression that LÖVE was for prototyping only.
There's no reason why that should be the case. In fact, one of the videos of Mari0 (a full game being developed using LÖVE) has over 1.5 million views on youtube. LÖVE is good for prototyping, but there's nothing restricting you from making real games with it. ;)
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Ninja vs. Samurai

Post by Taehl »

mike wrote:
T-Bone wrote:Would, as always, love gamepad support, but no biggie.
Will add it to the list... :ehem:
Might I suggest TLbind?
mike wrote:What is the best way to scale graphics to different resolutions/aspect ratios?
Might I suggest TLfres?
mike wrote:Are there any awesome libraries/code examples that I should be aware of?
Anything that starts with a "TL" or a "TE". :3 But seriously, yeah, there's a whole bunch of great libraries for Love.
mike wrote:Edit: I didn't mean to come off like an ungrateful douche, but I was under the impression that LÖVE was for prototyping only.
It's great for prototyping since it's so fast and easy to work with. But I don't see any reason not run all the way to commercial games with it. At the very least, it'll save you the headache of cross-compiling.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Ninja vs. Samurai

Post by bartbes »

mike wrote:Is AnAL being maintained and are there any animation libraries out there for animation position/scale/opacity/etc?
It is maintained in a sense that when there's a bug, I'll fix it, but nothing more, it's just intended as a drop-in replacement for the old inbuilt animations.
mike wrote: Edit: I didn't mean to come off like an ungrateful douche, but I was under the impression that LÖVE was for prototyping only.
Lolwut. Did you lose all your memory when you stopped devving? :P
User avatar
mike
Administrator
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: Ninja vs. Samurai

Post by mike »

Taehl wrote:Anything that starts with a "TL" or a "TE". :3
Self-whoring, I like that. I'm definitely replacing my shit A* implementation with yours. Any thoughts on a GUI library to use?
bartbes wrote:Did you lose all your memory when you stopped devving? :P
Yes, to be honest. I didn't really know how far things had progressed and was expecting a "Yeah, löve is great for simple stuff but I'd suggest you use bla or bladibla" answer from you guys.
Now posting IN STEREO (where available)
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Ninja vs. Samurai

Post by kikito »

mike wrote:Is AnAL being maintained
I believe it works just fine with the latest stable LÖVE.
mike wrote:and are there any animation libraries out there for animation position/scale/opacity/etc?
tween.lua will help you on that regard.
When I write def I mean function.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Ninja vs. Samurai

Post by T-Bone »

I've never understood the need for AnAL. What's wrong with the good ol' drawq? Keeping a bunch of (systematically generated) quads in a table and choosing between them isn't excactly a problem.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Ninja vs. Samurai

Post by josefnpat »

I very much enjoyed this game. One issue with the movement:
nvs.png
nvs.png (488.22 KiB) Viewed 5856 times
Also,
on the code of level 1:

Code: Select all

	-- 2D map matrix
	map = {
		{ 0, 0, 0, 0 },
		{ 0, 1, 1, 0 },
		{ 0, 0, 0, 0 }
	},
	-- GET THE FUCK OUT
	exit = { x = 3, y = 4 },
	-- Player start location
	player = { x = 1, y = 1 },
	-- Guards
	guards = {
		{ x = 3, y = 1, direction = 3 }
	}
}
And finally, interested in any "map" donations?
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Ninja vs. Samurai

Post by kikito »

T-Bone wrote:I've never understood the need for AnAL. What's wrong with the good ol' drawq? Keeping a bunch of (systematically generated) quads in a table and choosing between them isn't excactly a problem.
First of all, it isn't that obvious. Especially for people learning programming, and how dt works in LÖVE. If you browse the forums, you will find lots of people asking about animations.

But there are other benefits - for example, efficiency. Animations are so common that every little syntactic sugar that you can find on them, helps. Programming games is hard enough without having to reinvent the wheel every time. The time you invest on managing your animations manually is time that you don't invest on making your game more interesting.

There is also the fact that it is community-shared code; likely tested by lots of people, so it'll probably have very little bugs. And if you find one, everyone can benefit from it. If you solve a bug in your code, no one will ever know.

Finally, programming a lib that solves a very easy, but terribly recurrent problem, is much more fun than one that solves a very hard, obscure problem that no one has. At least other people use it!
When I write def I mean function.
User avatar
mike
Administrator
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: Ninja vs. Samurai

Post by mike »

josefnpat wrote:I very much enjoyed this game. One issue with the movement:
Yes, I am aware of this. :oops: It has to do with how my pathfinding algorithm decides on where to go first, but I'm going to replace it with TLpath, which may fix these problems.
josefnpat wrote:And finally, interested in any "map" donations?
Yes yes and yes, but not yet. I'm going to rewrite most of the game for version 0.2, wherein I will do a better job of defining how the levels are created and once that is done I will ask for your levels which I may add to the final game (with your permissions, of course).
Now posting IN STEREO (where available)
Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 36 guests