12
6
5
u/CnidariaScyphozoa Feb 15 '20
This looks pretty cool I like it! I shall have a look at your repo and check what you are up to! Nice work so far though
4
u/Snake2k Feb 15 '20
I wish something like that existed for visualization libraries.
4
u/elsantodom Feb 15 '20
You can use jupyter notebooks
2
u/Snake2k Feb 15 '20
I know, but it's still not a live update like that. Sure you can separate the view on JupyterLab, but it's not fluid.
1
u/stuaxo Feb 19 '20
We have live reloading in shoebot (if you use the Gedit) plugin.
https://github.com/shoebot/shoebot
Video demoing it on this blogpost (feel free to skip past the text) :)
http://stuartaxon.com/2014/07/03/belated-post-on-libregraphics-meeting-2014
1
1
u/posedge Feb 16 '20
Love the real time feedback. This feels so smooth. We should have smth like this for frontend development lol
1
1
u/eatsThingsonGround Feb 16 '20
What? Is this not what hot-reloading is?
edit: wait.. this is sarcasm, isn't it...
1
u/posedge Mar 01 '20
It wasn't actually. It is hot reloading but hot reloading is not *that* instant! You still have to e.g. save the file, reload the page. This looks truly "real time" to me
1
u/stuaxo Feb 19 '20
Great, I love livecoding systems like this - and implemented a basic one in creative coding app Shoebot,
Webbrowsers implement close to this when you enter the DOM inspector.
I wish there was an easy to use library to implement this, it gets into all sorts of edgecases fairly quickly.
0
Feb 15 '20
[deleted]
76
u/pokepetter Feb 15 '20
It's a feature for my game engine! https://www.youtube.com/watch?v=j71j88oCTNo So yes, I made the GUI as well :]
25
u/BagofSocks Feb 15 '20
Shit. I've been wanting to learn to make games in Python. This must be a sign. I'm gonna mess around with it. :)
16
Feb 16 '20
This is definitely quite cool! Just wanted to share though, if you’re looking for a mature engine that is similar to Python, try checking out Godot.
5
u/YuhFRthoYORKonhisass Feb 16 '20
This gave me an idea of a video game that requires you to write code to pass levels... Just throwing it out there
3
u/BagofSocks Feb 16 '20
There was a game called "Hack n' Slash" a few years back that was similar to this, it was pretty cool.
2
u/eatsThingsonGround Feb 16 '20
Twilio made TwilioQuest for Advent Code last year.
Hack'n'Slash is more polished and more fun from a gameplay perspective, but TwilioQuest is free and allows you to use your own editors.
2
4
u/EulerCollatzConway Feb 15 '20
Mind linking to your engine?
17
u/saskatch-a-toon Feb 15 '20
https://github.com/pokepetter/ursina
It was in the end of the YouTube video OP linked.
3
0
Feb 16 '20
[deleted]
10
u/pokepetter Feb 16 '20
Originally I just wanted a way for entities to know where in the code they were created, for debugging purposes. I did that with inspect.getframeinfo().
I then thought, what if just look at where each entity was created and constantly try to apply the keyword arguments there. I then set my text editor to save on every change. And it worked!
-11
Feb 16 '20
Computers have a lot of CPU, so just use a ton of it and constantly rerun the code until something works.
3
3
u/[deleted] Feb 16 '20
What's the application you're using?
Is it pycharm?