Search found 7 matches

by AlexanDDOS
Tue May 21, 2019 9:11 am
Forum: Games and Creations
Topic: TriPONG: a triangular-field Ping-Pong
Replies: 0
Views: 4796

TriPONG: a triangular-field Ping-Pong

It's my second open-source game, a triangular-field Ping-Pong powered by LÖVE. It has a simple AI and graphics and local multiplayer for up to 3 player.

Download
GitHub Repository
Image
by AlexanDDOS
Thu Jun 21, 2018 8:06 am
Forum: Games and Creations
Topic: Phibonacci: a 2048-like game with the Fibonacci numbers
Replies: 2
Views: 4728

Phibonacci: a 2048-like game with the Fibonacci numbers

I've decided to publish my fisrt game project made with LÖVE. It's an open-source 2048-like game with the Fibonacci numbers and lack of the goal number.

Download (v0.1)
GitHub Repository
by AlexanDDOS
Wed May 02, 2018 4:42 am
Forum: Libraries and Tools
Topic: Love-Imation - a sprite animation library
Replies: 10
Views: 9911

Re: Love-Imation - a sprite animation library

What are you doing with this frame_alias/frame_mt code? Like, what problem does it solve? I honestly don't get it. li:draw is a complete mystery to me for i = 2, 10 do if i < 5 or i > 6 then args[i] = args[i] or 0 + frame[i] else args[i] = args[i] or 1 * frame[i] end end Both 0 + <number> and 1 * <...
by AlexanDDOS
Wed May 02, 2018 4:31 am
Forum: Libraries and Tools
Topic: Love-Imation - a sprite animation library
Replies: 10
Views: 9911

Re: Love-Imation - a sprite animation library

Yes, what Grump said. Just focus your code on doing 1 thing really well, namely animation. No need for sneaky metatables trying to fill in the default values. I tried to make avoiding li:draw() , if it was needed, easier, because I thought it would be better. But now, I think you're right about fal...
by AlexanDDOS
Tue May 01, 2018 7:41 pm
Forum: Libraries and Tools
Topic: Love-Imation - a sprite animation library
Replies: 10
Views: 9911

Re: Love-Imation - a sprite animation library

Looks better. Your use of metatables is not very good, in fact I highly recommend avoiding metatables in this case. If you insist on using metatables (which is pointless in your case) then how about: local alias = {drawable=1, x=2, y=3, r=4, sx=5, sy=6, ox=7, oy=8, kx=9, ky=10} -- untested but much...
by AlexanDDOS
Tue May 01, 2018 4:08 pm
Forum: Libraries and Tools
Topic: Love-Imation - a sprite animation library
Replies: 10
Views: 9911

Re: Love-Imation - a sprite animation library

Thanks, the upper commenters!
I've already optimized the code and fixed some bugs.
by AlexanDDOS
Tue May 01, 2018 1:12 pm
Forum: Libraries and Tools
Topic: Love-Imation - a sprite animation library
Replies: 10
Views: 9911

Love-Imation - a sprite animation library

I made a simple sprite animation library writen in Lua for LÖVE. It works with LÖVE drawable objects, supports looping animations, animation pausing, automatic loading frames from image files by strings with their names, frame transforms and creating sprites from spritesheets (by a special sub-modul...