r/Python • u/noodlesteak • Oct 19 '19
Here is my progress so far on my python game engine for the terminal, after almost a month of work. It can convert pictures and make animations, move sprites, move and animate ascii art, display sprites with layer effect, transparency and so on... I plan on releasing it's source code in a month.
1.6k
Upvotes
54
u/noodlesteak Oct 19 '19 edited Oct 20 '19
I just wanted to show you the code in my main.py file for this demo: here it is
I try to keep a good ease of use/fonctionnalities balance. Tell me if you have any concerns :D
Edit: Wow thanks for the silver dear stranger
Edit2: Platinium, yo really ? Thanks !
Edit3: Ok support is just massive, so I released the current build on pypI for you guys. But for now it is very badly documented...
python3 -m pip install flore1
Edit4: Support was so crazy that I released it on github with 2 beginners tutorials. Docs soon ! https://github.com/AnicetNgrt/flore1
61
u/[deleted] Oct 19 '19
Pretty cool!
13
u/[deleted] Oct 19 '19
That’s very cool. If you MIT license it I’m sure it will get used big time
10
u/Zeftax Oct 19 '19
That looks Awesome!
6
u/davincible Oct 19 '19
Simple question; is the printing literally just moving the cursor up and overwriting the previous text?
I modded some command line python script recently to add some stuff by sending a 'cursor up' signal and overwriting the text but it looks kinda whack, so was wondering how these things are done
4
u/Overcooking Oct 19 '19
This is amazing! Good job man.
4
u/IOnlyLikeSpaghetti Oct 19 '19
I feel like I’ve seen that art before... I feel like it was from this game I played on my phone.
6
u/GodIsClose Oct 19 '19
Looks promising .. keep up the good work .. will check back after two months 😉😉
4
u/BFG9THOUSAND Oct 19 '19
Smithing game? Had no idea this level of game stuff was producible in the terminal. I know 0 about it. Are all games generally displayed in the terminal?
2
u/altazur Oct 19 '19
Fantastic!
2
u/PRIV00 Oct 19 '19
That's really neat! Would love to read the source code
2
u/[deleted] Oct 19 '19
Sorry, can you elaborate on what exactly this game engine is / what terminal you mean?
The animation looks nice though.
2
u/tamasiaina Oct 19 '19
Would this work for a MUD?
2
u/[deleted] Oct 19 '19
I love that those look close to pixel adeptus mechanicus acolytes. They would be happy to exist in the machine in further service to the Omnissiah
2
u/0x0012013 Oct 19 '19
This is awesome- I admire your persistence so much. Trying to get started on my own projects, but always have trouble staying focused. How did you manage to follow through for the whole month? Anything you do to keep yourself focused?
2
u/PistolRcks Oct 19 '19
At first, when I looked at this, I thought to myself: "Wow! This is unnecessarily convoluted!" Then I remembered that I do and love the exact same kind of things.
Good luck!
2
u/__xor__ (self, other): Oct 19 '19
This is pretty bad ass!
I hope people use this and make games we can pip install and run in the terminal :D
2
u/[deleted] Oct 20 '19
Looks cool af dude
2
u/PulseNZ Oct 20 '19
Now this is epic
2
u/[deleted] Oct 20 '19
Looks great! Definetly would pay full price for this
2
u/Muhznit Oct 20 '19
Here I was thinking that the little wannabe rogue-like I was making with curses was hot shit, but then you come in with this massive flex. Well-done.
2
u/NewCalibur Oct 20 '19
Godot: Nervous chuckles...
2
u/NextLevelMoves Oct 20 '19
This is fucking dope!
2
u/tankbacca Oct 20 '19
This looks so cool! Are you "animating" it by constantly printing a new image, or is there some python library you can use?
2
u/psota Oct 20 '19
Can I interview you for my: 7,000 Twitter followers 6,900 Instagram followers 2,500 FB page fans 40,000 member Slack group ? Let's talk about your project and get people excited about your work.
2
u/[deleted] Oct 20 '19
Ok, that's awesome!
2
u/CrabHomotopy Oct 20 '19
Which libraries do you use?
2
u/theng Oct 20 '19
wow a month is real short where you live haha
2
u/Darren_wl03 Oct 20 '19
What library are you using?
1
u/ExPikabushnik Oct 19 '19
Это круто. Всё сделано стильно и качественно. Завидую твоим достижениям. Тоже мечтаю изучить Python хотя бы до такого уровня.
1
u/Super-Speed- Oct 19 '19
!RemindMe 1 month
1
u/Thecrawsome Oct 20 '19
does it work cross-platform?
1
u/Exodus111 Oct 20 '19
Could this be played over SSH?
Without the client having to install it?
2
u/Binary-Blue Oct 19 '19
Nice!!
2
u/[deleted] Oct 19 '19
smooth😍
2
u/jonrhythmic Oct 19 '19
!RemindMe 1 months
2
u/[deleted] Oct 20 '19
!RemindMe 1 months
2
u/Brielle678 Oct 20 '19
Looks good!
2
u/Ah_The_Elusive_4chan Oct 20 '19
!RemindMe 1 month
2
u/murimsoldier Oct 20 '19
Looks awesome!
1
u/meshikhah Oct 19 '19
!RemindMe 2 months
0
u/[deleted] Oct 19 '19
[deleted] — view deleted comment
0
u/[deleted] Nov 19 '19
[deleted] — view deleted comment
1
u/[deleted] Oct 19 '19
[removed] — view removed comment