lQuery

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: lQuery

Post by BlackBulletIV »

You've gotta be kidding me. I released alpha 4 with syntax errors? The way to fix it is either remove the require() call for Vector2 from data/init.lua (easiest solution) or add in all the necessary "then"s after the if statements.

Sorry about how hard it is to get going. (Well, it is alpha, but syntax errors is worse than alpha status, lol)
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

Done. New error:

Code: Select all

bash-4.1$ love physics/
Error: [string "main.lua"]:2: module 'src.utils.ease' not found:
	no field package.preload['src.utils.ease']
	no file './src/utils/ease.lua'
	no file '/usr/share/lua/5.1/src/utils/ease.lua'
	no file '/usr/share/lua/5.1/src/utils/ease/init.lua'
	no file '/usr/lib/lua/5.1/src/utils/ease.lua'
	no file '/usr/lib/lua/5.1/src/utils/ease/init.lua'
	no file '/usr/share/lua/5.1/src/utils/ease.lua'
	no file '/usr/share/lua/5.1/src/utils/ease/init.lua'
	no file './src/utils/ease.so'
	no file '/usr/lib/lua/5.1/src/utils/ease.so'
	no file '/usr/lib64/lua/5.1/src/utils/ease.so'
	no file '/usr/lib/lua/5.1/loadall.so'
	no file './src.so'
	no file '/usr/lib/lua/5.1/src.so'
	no file '/usr/lib64/lua/5.1/src.so'
	no file '/usr/lib/lua/5.1/loadall.so'
	no file "src/utils/ease" in LOVE game directories.

stack traceback:
	[C]: in function 'require'
	[string "main.lua"]:2: in main chunk
	[C]: in function 'require'
	[string "boot.lua"]:293: in function <[string "boot.lua"]:219>
	[C]: in function 'xpcall'
ok, rename Easeto ease
Errors anywhere:

Code: Select all

bash-4.1$ love physics/
Error: [string "Game.lua"]:4: attempt to index global 'super' (a nil value)
stack traceback:
	[string "Game.lua"]:4: in function 'initialize'
	[string "src/thirdParty/middleclass/middleclass.lua"]:37: in function <[string "src/thirdParty/middleclass/middleclass.lua"]:33>
	(tail call): ?
	[string "main.lua"]:13: in function 'load'
	[string "src/Grace.lua"]:798: in function <[string "src/Grace.lua"]:796>
	[C]: in function 'xpcall'
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: lQuery

Post by BlackBulletIV »

Oh goodness me! The examples haven't been updated in ages obviously, therefore they're not using the correct capitalisation (the name was changing from 'ease' to 'Ease'), and not MiddleClass 1.3 compliant. My advice is, wait until alpha 5 comes out (should be soon) if you want to use the examples.
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

I want to see what framework can do.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: lQuery

Post by BlackBulletIV »

Does that mean you want to test it anyway? If so, I'm not stopping you.

If that meant, you want a list of features, then have a look at the README.md file. Note that alpha 5 will be adding a lot of stuff to it.
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

New in lQuery
Entity tree. The main entity - screen, all other entities are children. You can show/hide whole branch of entity tree to switch game context. Examples coming soon.
Bounding function to catch the mouse cursor inside the entity. Two main pre-defined functions are Entity.bounds.circle and Entity.bounds.rectangle.
Animation loops


Yes, I'm trying to create framework "everything in the game - entities" :ultrahappy:
Last edited by RPG on Fri Mar 11, 2011 2:09 pm, edited 1 time in total.
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

Simple UI: menu demonstration. Menu can be animated. This kind of menu is used in casual games.
Attachments
menu.love
(128.3 KiB) Downloaded 2634 times
User avatar
crow
Party member
Posts: 186
Joined: Thu Feb 24, 2011 11:47 pm
Location: UK
Contact:

Re: lQuery

Post by crow »

RPG wrote:Simple UI: menu demonstration. Menu can be animated. This kind of menu is used in casual games.
That is very nice could I use this a a prebuild for a demo app for my Erös builder as I am going to when a new project is started have a few template demos and a blank demo :) would be nice to include this :)
Sir Kittenface
Möko IDE Codename (Erös) Returns Soon

I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: lQuery

Post by Jasoco »

Can the menu items move? Like float if you want them to? Can you have them fade in and out when they appear and disappear?
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

crow wrote:That is very nice could I use this a a prebuild for a demo app for my Erös builder as I am going to when a new project is started have a few template demos and a blank demo would be nice to include this
Of course I would not mind
Jasoco wrote:Can the menu items move? Like float if you want them to? Can you have them fade in and out when they appear and disappear?
Yes, you have full access to menu items, in next demo menu will disappear with special effect.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests