Corona SDK Ambassador
Volodymyr Sergeyev himself
RSS feed   View Volodymyr Sergeyev's profile on LinkedIn
Welcome to my portfolio. I provide software development for iOS and web, primarily in Python (Django, Flask, Java Script, CSS, XHTML, JQuery) and Lua (Corona SDK)
Feel free to contact me by E-mail. My Skype ID: v.sergeyev. CV: CV_2011.PDF
Sol Control RTS game pushed to Open Source at Feb. 8, 2013

We worked on this game about a year, and it looks no chanse to publish it in App Store.
So it is pushed to Open Source on GitHub: https://github.com/vsergeyev/sol

Here is game video samples:

Read or post comments
Rain library update (Corona SDK) at Feb. 8, 2013

Just added two useful functions to Rain class.


rain.pause()

pause() - removes rain renderer from on-frame handler.


rain.resume()

resume() - set rain renderer back to Corona on-frame handler, so it will make it rain again :)

GitHub: https://github.com/vsergeyev/Rain

Read or post comments
Highlight search results with JS at Oct. 27, 2012

IMHO: highlighting search patterns in text result better UX and love.

Found this idea somewhere and little improved it:


highlight: function(q) {
var re = new RegExp("(" + q + ")", "gi");
// Highlights search results
$(".highlight-on-search").each(function() {
var el = $(this);
el.html(el.text().replace(re, "<span style='background:red'>$1</span>"));
});
}

Read or post comments
Order items by field in admin at Oct. 5, 2012

Ndbadmin is my pet project to create lightweight and easy to use admin UI for Google App Engine webapp2 projects.

Today I added an option to specify sort order for items in admin UI.

`order_by` - set it in model's Meta and specify a field, same as in Model.query().order()

Example:


class Item(ndb.Model):
name = ndb.StringProperty()
class Meta():
def __init__(self):
self.order_by = Item.name

Read or post comments
Admin panel for Google App Engine ndb.Model at Sept. 23, 2012

Maybe I reinvented the wheel, but working on gae project with webapp2 I haven't found good and lightweight admin UI to meet my needs. So I have spent one day to write an universal CRUD handler and UI for it to create, edit, remove and list items of specified Model.

Twitter Bootstrap CSS has been used to make it look good.

admin panel for gae models

The idea of admin UI is to place Meta() class inside model (yes, it's feels Django-like :), and define in it templates and fields for create/edit form.


class Meta():
def __init__(self):
self.fields = [
fields.TextField("name", "Name", required=True),
fields.BigTextField("description", "Description")
]
# optional
# templates, '/templates/admin/[model]/' path
self.c = "" # new item template
self.r = "" # items list template
self.u = "" # edit item template
self.d = "" # delete item template

It is pushed to github at https://github.com/vsergeyev/ndbadmin

On github lives live gae application with demo models and usage samples.

Read or post comments
Lutsk.io at Aug. 2, 2012

Lutsk.io - July 28, Lutsk.

It was a lot of fun to make it happens and I want to say "Big thank you" to all spokespersons and participants. We discussed a lot of interesting things: Corona SDK framework, UDK kit from Unreal, node.js and npm, Flask micro-framework and Erlang. All this new experience is damn great.

Right now it finished uploading videos from conference and you may watch it on Lutsk.io page: http://www.facebook.com/lutskio

Read or post comments
Quick sheet: Understanding display groups in Corona SDK at July 13, 2012

Consider display groups as layers in your on-screen scene.

It is always already exists 1 main group on scene - "self.view".

Group is regular display object with (x, y) position and (width, height).




(click on image to open google drawing)

Read or post comments
Miniredis - python client for redis in 20 lines of code at July 12, 2012

Inspired by miniredis-ruby I spend a few minutes to play with python. And so it is - "miniredis", 20 lines long redis client (Pypi, Github).

Usage is quite simple:


import miniredis
cli = miniredis.MiniRedis()
cli.set('a', 1)
cli.get('a')
cli.sadd('b', 1, 2, 3)
cli.smembers('b')

Read or post comments
Quick sheet: multi param sorting with redis at July 10, 2012

Redis has sorted sets, which is quite useful to create indexes.

ZADD [param_name] [item_id] [param_value]

This will add element into sorted set [param_name] with reference to [item_id]. Item ID is member of set:

SET [item_id] [payload]

Payload can be for example JSON encoded string, so later you may retrieve it and pass to web-browser. In browser JavaScript engine will use this JSON data to display, for example, in jQuery template. Efficient and easy.

Here is actual quick sheet:



(click on image to open google drawing)

Read or post comments
Turtle Cross Stitch: sandwich at July 9, 2012

"Turtle Cross Stitch: sandwich" is iPad/iPhone application for cross stitch.

Application is one-chart, with big tasty sandwich chart and DMC threads table.

Big tasty sandwich, looking cool and detailed. But only you will know, how easy this chart to complete.

Pan, zoom, switch layers function available. It is best and most comfortable to work with chart on iPad's big screen.

Application currently on review.

Read or post comments
« Recent posts
This site is © 2007-2013 V.Sergeyev. Powered by Django