Jump to content

[Rel] Lunix Phone Green [SmartPhone]


AriosJentu

Recommended Posts

Hello. Scince one year I want to publish this smartphone here. 

There is awesome smart with some base functions, what appeared in previous version. But customizing in settings now removed to make system style more interesting and minimalistic. Also removed lockscreen, because it was useless.

What can you do basically with this phone?
- Chatting with another players on the server, and send them stickers
- Listen music by URL or your local, and switch timeline of the track (progressbar clickable) 
- Calculate something. Now calculator has history of calculations.
- With application "Passport" you can see some information about you. Created for RP modes, but I dont know nothing about RP, and created it just for fun.
- In settings you can change desktop image, change System Language [NEW], and read information about developers.
- When phone updating, admins can check for updates phone on the air in system settings. Its available in "About" menu, on bottom of app - green text with current version as build.

Of course, this resource has API for developers. With it you can:
- Create your own applications for phone
- Edit some phone settings
- Add your own stickers for messenger
- Add your own desktop images (276x445px)
- Add your own system translations. In file "language.lua" you can find example and there you can add in table your prefered languages.
- Manage notifications
and etc.

There are some pictures of system:

 

XdTbHA6.png8asSuZu.pngKsYS0lw.pngq74COGG.pngmhDF5iT.pngP8HR02j.png0rXjgKV.pngR6jH4rZ.pngBfFB1jW.pngzzzzpJLgkSA.pngzYTGeqO.png7oyZL4C.pngeYRbYf9.pnggeG4FLw.png04h9fC0.png4v1lmtQ.pnggebv6Ge.png

Download: GitHub
I would like to apologize about my code. Sometimes this is not readable, because it was written about year ago, when I was at school :D. I wont to optimize this working code, bcs I'm too lazy :D

New Video:

Demo (2016):

Functions, what you can use to modify your system:

Spoiler

 


openPhone()
closePhone()

Returns nothing.
This functions shows or hides phone on game screen.

 


bool isPhoneOpened()

Returns state of phone - checks is phone opened [bool].

 


goHome()

Returns nothing.
Close all active windows, and shows desktop, activate widgets, etc.

 


gui-staticimage createApplication(string id_appname, string title_color)

Returns application plane - image [gui-staticimage].
This function creates in memory new application plane with name - identifier of application. Parameter "title_color" - 6 chars hexademical string, what setts statusbar icons color.

 


openNotifications()
closeNotifications()

Returns nothing.
This functions opens or closes notification panel.

 


addAuthor(string nick)

Returns nothing.
This function adding new author in system settings.


addNotification(string title, string text, string icon_color, function on_click_event)

Returns nothing.
Creates notification with title, text, and color of icon, where located remove button. In function "on_click_event" located some events when player click on notification.

 


setDesktopImage(string image_location)

Return nothing.
This function were changing desktop background image by string of image location.

 


visibleHomeButton(bool set_visible)

Return nothing.
This function shows or hides home button on left top side of phone screen. It will be good to make introduce application, where player no needed to go home screen.

 


openApplication(string id_appname)

Returns nothing.
This function open application with id - app name, on phone screen.

 


closeAllApplications()

Returns nothing.
This function only close all opened applications.

 


bool isApplicationOpened(string id_appname)

Returns state of application [bool].
This function checking state on screen of application with id - app name. 

 


reopenApplication(string appname)

Return nothing.
This function reopen opened application with id - "appname", with demonstrative closing appeared application. With this function working clicking on music icon in titlebar, just watch demo video.

 


addApplicationIcon(string hex_color, string visible_name, fucntion on_click_event, string subname, string id_appname)

Returns nothing.
This function creating application icon on desktop.
- hex_color - 6 hex chars of color RRGGBB
visible_name - Application name under icon
on_click_event - Function, called when player clicking on application, often it was function, what opening application
subname - 1 or 2 chars of preview application name, located on icon
id_appname - Created application name

 


changeSystemLanguage(string name)

Returns nothing.
This function changing system language. Available languages in "name" variable are all languages from "Langs" array - default langs array.

 


addSticker(string filename, int width, int height) 

Returns nothing.
This function adding sticker in message box with fixed Width and Height. Notice - sticker want to be as png in "images/stickers" folder, filename want to be as a stickername - without location and extension.

Example:
 


addSticker("lol", 42, 42)

Adding sticker "images/stickers/lol.png" with size 42x42.

Edited by AriosJentu
  • Like 7
  • Thanks 1
Link to post

Update:
- Fixed bug with showing users in Message Box
- New Icons of Send Message and Stickers Button
- Added saving account settings - user desktop image and user system language.

Updated version you can download from my GitHub from main post of this topic

Link to post

Added update manager. This manager can automatically update your phone resource with based files. Recommend to take copy of your own files cofigurations in meta.xml, but in future I will fix thus problem. 

Pictures:
 

Spoiler

pJLgkSA.pngzYTGeqO.png7oyZL4C.pngeYRbYf9.png

 

Edited by AriosJentu
Link to post

Upd: added file "skip_dirs.txt", where you can put files, what you doesn't want to update from repository.
You can use here local file, like "language.lua", and full directory, like "apps/passport/id/".

kWkZrCL.png

Edited by AriosJentu
Link to post
  • 3 weeks later...
  • 1 month later...
11 hours ago, CodyJ(L) said:

As much as you may want the resource to be seen, please don't bump unless there are some updates or something.

I havent ideas. There is no updates cuz I havent seen ideas, what I can realize here.

Link to post

Update:
- Added game TicTacToe. Now you can play only with "comuter", but I add functionality, when you can play vs another player soon. 
- Removed unnecessary label "URL:" in Music Player
- In Update Manager added percentage of download. Please, test update manager, cuz fetchRemote returning connection error, but this link working in browser.

- Default system language moved to another file, called "lang.txt". 

Screens:
 

Spoiler

geG4FLw.png04h9fC0.png4v1lmtQ.pnggebv6Ge.png

 

Link to post
  • 2 weeks later...
  • 2 weeks later...
1 hour ago, LittleRabbit said:

The GitHub URL seems to be broken, is the project shutdown?

Yes. All my public projects were removed - finally shutdowned. I was removed them cuz some russian players publish my selling projects, and make me without money. And thats reason.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...