Jump to content

[1.8] MineDroid — port of android GUI to MineCraft


chedim

Recommended Posts

Hi!

 

Month ago I've started to develop a very big mod for my future minecraft-based custom server and had faced one problem: Minecraft GUI library is really painful to use, especially if you had experience in developing GUI's under other platforms. And, since my mod should use a lot of custom GUI windows, I decided to port a very well-designed Android GUI library for it.

 

As a result, I've made MineDroid — GUI library that manages resources of my mod and allows me to edit and store windows layouts in XML files. Main concepts of it were taken from Android so people who used to develop android applications, probably will find this library very useful and easy to understand. Anyway I've tried to make some documentation for it and even wrote a quick-start guide :)

 

Library can be used as a separate library mod, providing your mods ability to make fancy interfaces :)

Right now it's on beta-testing: if you'll find any bugs, feel free to report about them on the github bugtracker. I'll do my best to fix bugs as soon as possible.

 

You can check it here: http://chedim.github.io/minedriod/

 

Please, comment if you find this library useful for you. It will affect how much time I will spend to support the library (and will I develop an IntelliJ Idea plugin to support autocompletion in the XML layout files :) )

 

Thank you!

 

Some example and test GUIs:

 

 

 

Update:

 

plugin for IntelliJ Idea: https://plugins.jetbrains.com/plugin/7881?pr=

Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...

Release 1.3.2:

M3mxgziQq10.jpg

 

Changelog:

— unobfuscated dev-jar was added into project's maven repository ('com.onkiup.minedroid:minedroid:1.3.2:dev')

— integrated betterfonts

— EditText now supports mouse events, including scrolling

— Added notifications:

relACLI1eHw.jpg

 

— Added LayeredOverlay — a GuiWindow that allows to show several overlays at the same moment

— New View components:

—— CheckBox (finally)

—— ProgressView

—— Focus

—— EntityView:

2yNhwExgYbQ.jpg

 

— New Drawables:

—— ShapeDrawable — allows to draw custom shapes

—— LayerDrawable — allows to stack drawables on top of each other

—— GradientDrawable — allows to render gradients

— Added class: ExProps — allows to easy store and retrieve IExtendedProperties

— Added package: com.onkiup.minedroid.net — simplifies network interactions with the server (in beta)

— Added class EntityLabelManager — allows to render any of MineDroid Drawables on top of an Entity (i.g. on top of a player or a villager):

ujf8L6opw-U.jpg

 

— Added some standard dialogue that work through notifications:

—— Confirm

—— Alert

— Added class StringHolder — simplifies creation of ListViews form a list of Strings

— Added project's logo ^_^

— Fixed bugs in components: ViewGroup, EditText, ListView, LinearLayout, RelativeLayout

 

Documentation will be updated during a week.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.