YOUREWINNER.COM
 
   

progress...
 
steev
#1 21-05-2015, 16:48:58 PM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13658
  • Rigcoins: 888428.20
  • Send Money to steev
    Linux Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
image usernames coming soon to a mobile app near you
http://gfycat.com/ReliableHappyEastsiberianlaika


steevp
Svetlana
#2 21-05-2015, 21:23:15 PM
wwow!!!!


lana_chan my name is erin
JAVIKS
#3 21-05-2015, 21:48:47 PM
  • Global Moderator
  • *****
    *****
    *****
    *****
    *****
    *
  • Posts: 6899
  • Rigcoins: 10448.37
  • Send Money to JAVIKS
    Windows 7 Thumb Up
  • TAG TEAM CHAMPDadCoors Light Fan+
  • "cats are like potato chips"
holy poo poo


JAVIKS
Cirus
#4 21-05-2015, 22:15:13 PM
  • Administrator
  • *****
    *****
    *****
    *****
    *****
    *****
  • Posts: 16892
  • Rigcoins: 2091.20
  • Send Money to Cirus
    Windows 8 Thumb Up
  • Head Cynic/Obscure Metalheadsmug hipsterProfessional Football Manager+
Steev this is cool


cirus206
Cirus
#5 21-05-2015, 22:15:24 PM
  • Administrator
  • *****
    *****
    *****
    *****
    *****
    *****
  • Posts: 16892
  • Rigcoins: 2091.20
  • Send Money to Cirus
    Windows 8 Thumb Up
  • Head Cynic/Obscure Metalheadsmug hipsterProfessional Football Manager+
Waz would be proud


cirus206
bjorno the hedgehog
#6 21-05-2015, 23:50:57 PM
this is going to kill my moto g



 cheers m8
bjorno780 http://img444.imageshack.us/img444/2969/freesorfzl1.gif
Dissident
#7 22-05-2015, 01:05:40 AM
  • the ultimate, the muffin man
  • *****
    *****
    *****
    *****
    *****
    *****
  • Posts: 17207
  • Rigcoins: 99966942.39
  • Send Money to Dissident
    Windows 7 Thumb Up
  • weeaboosexual orientation uncleardissident b shirt+
  • "smash the patriarchy"
thanks steev




Dissident International Anti-Furry Organization
steev
#8 22-05-2015, 19:32:16 PM
- Last Edit: 22-05-2015, 22:35:24 PM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13658
  • Rigcoins: 888428.20
  • Send Money to steev
    Linux Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
These last few days I've been playing with Kivy framework which may be the FUTURE of cross-platform apps development. A lot of people are saying that web apps are the way to go for cross-platform portability, but I'm not convinced! Sure everything has a web browser, but not everything has a GOOD web browser! Go ahead and try playing RocketRigs in your smartphone's browser, it will probably lag because HTML5 canvas performance is still garbage on mobile!! But Kivy apps can perform similar to native apps

Don't believe me? Just steev me:
https://play.google.com/store/apps/details?id=com.meltingrocks.kivy2048

Kivy uses python so you get

Cross-platform portability
Kivy works on all major platforms including Windows, Linux, OS X, Android, iOS, even Raspberry Pi.
All fully GPU-accelerated using OpenGL ES 2!

Ease of use
No more having to memorize 69 different Java classes just for simple file I/O.

Power
You can access all the platform-specific mobile APIs through either pyjnius (Android), pyobjus (iOS), or plyer.
Kivy apps can do anything that native apps can do!

Getting started is so easy, just take the Kivy Crash Course!
https://www.youtube.com/playlist?list=PLdNh1e1kmiPP4YApJm8ENK2yMlwF1_edq

So SIMPLE, yet POWERFUL!

For example a basic fart app looks like this:
Code: [Select]
from kivy.app import App
from kivy.uix.button import Button
from kivy.core.audio import SoundLoader

class FartApp(App):
    def build(self):
        return Button(text="Fart",
            font_size=150,
            on_release=self.fart)
    def fart(self, *args):
        fart = SoundLoader.load("fart.wav")
        if fart:
            fart.play()

if __name__ == "__main__":
    FartApp().run()

Hmm that's nice, but it needs a Butt widget. Kivy doesn't come with a Butt widget, but we can easily make one by combining a Button and a Image widget (this time using kv language):
Code: [Select]
from kivy.app import App
from kivy.uix.button import Button
from kivy.core.audio import SoundLoader
from kivy.lang import Builder

Builder.load_string("""
<ButtWidget>:
    on_release: app.fart()
    Image:
        source: "butt.png"
        height: self.parent.height
        width: self.parent.width
        allow_stretch: True
        keep_ratio: False
""")

class ButtWidget(Button):
    pass

class FartApp(App):
    def build(self):
        return ButtWidget()
    def fart(self, *args):
        fart = SoundLoader.load("fart.wav")
        if fart:
            fart.play()

if __name__ == "__main__":
    FartApp().run()

By combining simple Kivy widgets we can create almost any kind of widget/layout we want!

That's the power of Kivy!


steevp
steev
#9 23-05-2015, 05:53:27 AM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13658
  • Rigcoins: 888428.20
  • Send Money to steev
    Linux Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
imagine



nowhere close to functional yet, but making great progress!


steevp
Dissident
#10 23-05-2015, 15:06:25 PM
  • the ultimate, the muffin man
  • *****
    *****
    *****
    *****
    *****
    *****
  • Posts: 17207
  • Rigcoins: 99966942.39
  • Send Money to Dissident
    Windows 7 Thumb Up
  • weeaboosexual orientation uncleardissident b shirt+
  • "smash the patriarchy"
twisted looks a lot cooler on mobile




Dissident International Anti-Furry Organization
Svetlana
#11 23-05-2015, 15:45:16 PM
man frick tapatalk this is the official yourewinner dot com app


lana_chan my name is erin
steev
#12 27-05-2015, 13:16:26 PM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13658
  • Rigcoins: 888428.20
  • Send Money to steev
    Linux Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
progress update: STILL MAKING PROGRESS

i made this cool class that makes it easy to write bots that rate posts

but you will not believe how much time i spent trying to make the avatars round yesterday. I kind of got it to work, but some of the avatars are still square sometimes and I don't know why!!


but anyway, it shouldn't be much longer

Tapatalk is about to go out of business


steevp
steev
#13 29-05-2015, 01:19:06 AM
- Last Edit: 29-05-2015, 01:27:16 AM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13658
  • Rigcoins: 888428.20
  • Send Money to steev
    Linux Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
working on android, but ugh it's so slow!!!

maybe scraping was a bad idea




steevp
steev
#14 29-05-2015, 01:28:39 AM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13658
  • Rigcoins: 888428.20
  • Send Money to steev
    Linux Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
also gifs don't work on android


steevp
steev
#15 02-07-2015, 09:51:27 AM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13658
  • Rigcoins: 888428.20
  • Send Money to steev
    Linux Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
big rigcoin reward to the person who finds out why zmann crashes kivy
Code: [Select]
from kivy.base import runTouchApp
from kivy.uix.image import AsyncImage

if __name__ == "__main__":
    zmann = AsyncImage(source="http://www.yourewinner.com/index.php?action=dlattach;attach=792;type=avatar")
    runTouchApp(zmann)

thanks


steevp
0 Members and 1 Guest are viewing this topic.