lQuery

Showcase your libraries, tools and other projects that help your fellow love users.
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
draggable method - you can drag entity anywhere
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

UI slider:
Image
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 »

Nice job! That's a simulation of Mac's aqua right?
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

yep:) This is just for demonstration.
Last edited by RPG on Mon Apr 04, 2011 9:11 pm, edited 1 time in total.
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: lQuery

Post by slime »

This thing is looking awesome. Good work!
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

Almost complete:
Image
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

Recently I did not write here, but in fact the work is moving forward. In lQuery have added new events (mousemove, mousewheel), several new types of objects (eg, draggable and borderImage), also is working on output GUI.

Not yet release a new version lQuery, since the API is changing rapidly. Latest updates can be seen on the page of this project: https://github.com/scriptum/Monopoly/ (lquery folder).

Monopoly game is a good example of using lQuery.
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

На этом форуме есть русскоговорящие люди? Очень нужна помощь по части документации на английском языке:( Сейчас она вся на русском.
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

Repository (pure lQuery and example):
https://github.com/scriptum/lQuery

Main post was updated.
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: lQuery

Post by RPG »

lQuery framework was updated!
New features:
- multiple actions per event (for example, you can assign more than one function to the "click" event)
- multiple draw functions per entity - very useful feature. Entity now may be combination of simple primitives
- entity drawing becomes engine-depended function and now it is in "init.lua"
- some fixes and code correction

Added new example: developer's console with auto-completion.

How to assign multiple functions to event?
Very simple:

Code: Select all

ent:click(func1)
ent:click(func2)
ent:draw(firstDrawFunc)
ent:draw(secondDrawFunc)
New code may be downloaded from git. I'll apply changes in lQuery beta release.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests