[Mod] Laptop (WIP) (V. 0.41)
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [MOD] Laptop (WIP)
I must try this! thank you!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
There will be themes for the computers. For now there's only themes are Windows based. I've asked V-Rob for help to create an apple based theme.
Jesus Is Lord and Savior!!!
Re: [MOD] Laptop (WIP)
Some information about the laptop framework capabilities:
Define hardware: with laptop.reister_hardware()
It is a hardware model Basically an nodes list as a chain to be swapped by punch. Ie. "on"/"off" or "closed", "open", open_on".
The hardware is the right place for all hardware-specific settings like later can_usb or can_floppy. Currently the next customizings are possible:
- Custom launcher - Launcher is the User-Interface. Custom launcher allow to "simulate" full other OS
- Initial Theme for default launcher - The pre-installed theme, can be changed, but will be set back on factory reset (not implemented)
- If "power_on" or "resume" needs to be used to activate the computer. Resume means the previous running app is started again. power_on: boot to the launcher
Write apps: with laptop.register_app()
Basically a formspec_func / on_receive_fields_func combination for own app logic. The storage framefork nodemata (=HDD) and modmeta (=Internet Cloud) are available. The Itemmeta (Floppy/Disk) is on my roadmap.
- A view is a special case for app. It is just filtered out in launcher that means the app is not visible. The idea is to splitt an app in different screens. The first one is the app, the others are the view. See the mail app for example.
- A launcher is a second special case for app. It is started on power_on or if a running app closes. The launcher can have additonal appwindow_formspec_func method that defines formspec injected to all apps, for window decoration for example. (Maybe with taskbar later?)
Write own ThemesThemes could be selected at runtime for each computer.
laptop.register_theme()
Set Launcher-Background, appwindow_formspec background (default launcher), and buttons eye candy
There is an API documentation: https://github.com/Gerold55/laptop/blob/master/API.md
If you have questions about how a specific feature should be done, just ask me
Define hardware: with laptop.reister_hardware()
It is a hardware model Basically an nodes list as a chain to be swapped by punch. Ie. "on"/"off" or "closed", "open", open_on".
The hardware is the right place for all hardware-specific settings like later can_usb or can_floppy. Currently the next customizings are possible:
- Custom launcher - Launcher is the User-Interface. Custom launcher allow to "simulate" full other OS
- Initial Theme for default launcher - The pre-installed theme, can be changed, but will be set back on factory reset (not implemented)
- If "power_on" or "resume" needs to be used to activate the computer. Resume means the previous running app is started again. power_on: boot to the launcher
Write apps: with laptop.register_app()
Basically a formspec_func / on_receive_fields_func combination for own app logic. The storage framefork nodemata (=HDD) and modmeta (=Internet Cloud) are available. The Itemmeta (Floppy/Disk) is on my roadmap.
- A view is a special case for app. It is just filtered out in launcher that means the app is not visible. The idea is to splitt an app in different screens. The first one is the app, the others are the view. See the mail app for example.
- A launcher is a second special case for app. It is started on power_on or if a running app closes. The launcher can have additonal appwindow_formspec_func method that defines formspec injected to all apps, for window decoration for example. (Maybe with taskbar later?)
Write own ThemesThemes could be selected at runtime for each computer.
laptop.register_theme()
Set Launcher-Background, appwindow_formspec background (default launcher), and buttons eye candy
There is an API documentation: https://github.com/Gerold55/laptop/blob/master/API.md
If you have questions about how a specific feature should be done, just ask me
- v-rob
- Developer
- Posts: 969
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: [MOD] Laptop (WIP)
The problem with making an Apple theme is that the "X" button is on the other side and is very small. More programming would have to be done, or else I'll just have to make a slightly inaccurate theme.GamingAssociation39 wrote:I've asked V-Rob for help to create an apple based theme.
I'll do my best, even though I don't have any Apple computer to work off of.
Oh, and technically, the Basic theme is keyed to look more like Minetest's default formspec UI, not Windows.GamingAssociation39 wrote:There will be themes for the computers. For now there's only themes are Windows based,
Re: [MOD] Laptop (WIP)
There is no Taskbar with start buttons like in Windows because there is no tasks to be managed.
The "Homescreen Launcher" and "Softkeys" are like in Android. But "Home-button" is called "Exit" in Laptop-OS and the buttons-position is not the same (On Android in middle of bottom).
@v-rob, you can enhance the formspec in default launcher's "appwindow_formspec_func" to be able to get button positions and sizes from theme like the textures does. That should not be as to much work. The current values you need to add at least to the default theme to avoid the "if exists" code parts. The framework adds attributes from default theme if missed in selected theme.
The "Homescreen Launcher" and "Softkeys" are like in Android. But "Home-button" is called "Exit" in Laptop-OS and the buttons-position is not the same (On Android in middle of bottom).
@v-rob, you can enhance the formspec in default launcher's "appwindow_formspec_func" to be able to get button positions and sizes from theme like the textures does. That should not be as to much work. The current values you need to add at least to the default theme to avoid the "if exists" code parts. The framework adds attributes from default theme if missed in selected theme.
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
I have been working with Cross_over to renew the old models/textures they will be updated as soon as they are finished.
Jesus Is Lord and Savior!!!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
New Update:
Redone Models
Redone Textures
by Cross_over and yours truly
Redone Models
Redone Textures
by Cross_over and yours truly
Jesus Is Lord and Savior!!!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
The models are great I would love if you guys would add a white computer some timeGamingAssociation39 wrote:How does everyone liking the models?
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
How does this look?veNext wrote:The models are great I would love if you guys would add a white computer some timeGamingAssociation39 wrote:How does everyone liking the models?
- Attachments
-
- Screenshot (133).png (480.08 KiB) Viewed 878 times
Jesus Is Lord and Savior!!!
Re: [MOD] Laptop (WIP)
Yes that is perfectGamingAssociation39 wrote:How does this look?veNext wrote:The models are great I would love if you guys would add a white computer some timeGamingAssociation39 wrote:How does everyone liking the models?
That is even the type of computer I was thinking about
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
Any ideas for the computers name? The companies name is fruit so...veNext wrote:Yes that is perfectveNext wrote:How does this look?GamingAssociation39 wrote:
The models are great I would love if you guys would add a white computer some time
That is even the type of computer I was thinking about
Jesus Is Lord and Savior!!!
Re: [MOD] Laptop (WIP)
What about winter fruit
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
UPDATE:
Updated PC Names
Updated Fruit PC Texture
Updated PC Names
Updated Fruit PC Texture
Jesus Is Lord and Savior!!!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
UPDATE/ADDED:
Email App
Calculator App
Time
Theme/button adjustments
Email App
Calculator App
Time
Theme/button adjustments
Jesus Is Lord and Savior!!!
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [MOD] Laptop (WIP)
Awesome!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
Brand New Update Is Live:
Brand New Button Icons by Cross_over
New Calculator Icon
Brand New Button Icons by Cross_over
New Calculator Icon
Jesus Is Lord and Savior!!!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [MOD] Laptop (WIP)
tested all of this except last update and I can say it's a very good and promising mod (especially the calculator (even if the infotexts of buttons are empty))
Also, where is defined the OS for pentium 3?
Also, where is defined the OS for pentium 3?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
The Pentium 3 is an old computer. It's waiting for a developer to make the old style OS. I believe Bell07 has reinstated to current OS until the old style one is made.
Jesus Is Lord and Savior!!!
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [MOD] Laptop (WIP)
And I want to make one! At least a tiny one! but pls tell me where is defined the code for it's placeholder OS!GamingAssociation39 wrote:It's waiting for a developer to make the old style OS
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [MOD] Laptop (WIP)
Jesus Is Lord and Savior!!!
Who is online
Users browsing this forum: No registered users and 11 guests