New in lQuery
draggable method - you can drag entity anywhere
lQuery
Re: lQuery
UI slider:
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: lQuery
yep:) This is just for demonstration.
Last edited by RPG on Mon Apr 04, 2011 9:11 pm, edited 1 time in total.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: lQuery
This thing is looking awesome. Good work!
Re: lQuery
Almost complete:
Re: lQuery
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.
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.
Re: lQuery
На этом форуме есть русскоговорящие люди? Очень нужна помощь по части документации на английском языке:( Сейчас она вся на русском.
Re: lQuery
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:
New code may be downloaded from git. I'll apply changes in lQuery beta release.
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)
Who is online
Users browsing this forum: No registered users and 4 guests