Page 1 of 2 12 LastLast
Results 1 to 20 of 21
  1. #1
    Member WKnight02's Avatar
    Join Date
    Aug 2017
    Location
    Earth
    Posts
    55

    BGEz - Full Python game projects

    Hi everyone !

    So, right to the point: I made somewhat of a Python alternative API for the BGE, its some kind of framework which aims at making the development of games inside the BGE more maintainable and organized, so that it much much much more looks like a true Python project, as if it was piloting the BGE.

    GitLab project: https://gitlab.com/bgez/bgez
    Demos made with the framework: https://gitlab.com/bgez/demos

    This project is meant to grow with your help.

    What I need now is your input, I need you to eventually use it and break it, so that we can work to improve the things.
    This project is not perfect yet, I'm not sure we can even get to perfection, but it can certainly be better for everyone.

    Also keep in mind that this project is rather Python-heavy, the point is to have real Python project-like that would be really organized. This way the game sources can be versionned and maintained a bit easier.

    I wrote a bit of documentation and plan to write more now, so I'm sorry if its not really fully documented, but I'm working on it. This is a work in progress and I need your help !

    If you have any questions about something that sounds really unclear about the goal of the framework, about its actual practical use, anything really: I'm here to help you through !
    Last edited by WKnight02; 20-Oct-17 at 23:27.



  2. #2
    Member BluePrintRandom's Avatar
    Join Date
    Jul 2008
    Location
    NoCal Usa
    Posts
    18,231
    you should post a screencast of yourself using the framework to make a game.

    (like for bgmc or a microgame etc)
    Break it and remake it - Wrectified
    If you cut off a head, the hydra grows back two.
    "headless upbge"



  3. #3
    does that mean I could I put some one my python chatbot into a videogame?



  4. #4
    Member WKnight02's Avatar
    Join Date
    Aug 2017
    Location
    Earth
    Posts
    55
    Originally Posted by Lostscience View Post
    does that mean I could I put some one my python chatbot into a videogame?
    Can you be more specific ?



  5. #5
    Member Thatimster's Avatar
    Join Date
    Jul 2012
    Location
    New Zealand
    Posts
    1,835
    If you want to get this fully implemented it could be a good idea to talk to the UPBGE team!
    My BGE Tutorials | 98 free nature Assets | My BGE Sprite Addon | Facebook Page | Contact
    Stay inspired!



  6. #6
    I meant could I put this python chatbot into a videogame with this?

    Code:
    name =input(" who are you? ")
    print("How are you " + name + "?")
    friendly =input(" what is your friend's name? ")
    
    print("I have a friend named luke.")
    print("what does " + friendly + " do for a living?")

    without much modification.



  7. #7
    Member Nicholas_A's Avatar
    Join Date
    Oct 2014
    Location
    own.worldPosition
    Posts
    1,053
    Putting a chatbot like that into a blend would be no problem but why would anyone want to put something so simple as that into a game? If you could make a neural network which forms responses based on human responses, now that would be interesting.
    My website | My YouTube channel | My Blendswap profile | Current Project: [BGMC 25] Ant Panic!

    I sell custom logos for $5 (among other things). Check them out!



  8. #8
    I could add more to it.And i think it would be cool in a videogame.I am really into chatbots.I want to incorporate one into a videogame.
    that is why i wanted to incorporate that python program.



  9. #9
    Member WKnight02's Avatar
    Join Date
    Aug 2017
    Location
    Earth
    Posts
    55
    Originally Posted by Lostscience View Post
    I meant could I put this python chatbot into a videogame with this?

    Code:
    name =input(" who are you? ")
    print("How are you " + name + "?")
    friendly =input(" what is your friend's name? ")
    
    print("I have a friend named luke.")
    print("what does " + friendly + " do for a living?")

    without much modification.
    Well, actually you can already use this snippet in a vanilla Python script... But you would have to play your game in the Blender Console so rip.

    Actually, the framework is meant to design logic. But I didn't implement any "easy" interface system yet. You could take a look at this: https://github.com/DCubix/TwisterUI, its made by TwisterGE and it seems promising for uis !



  10. #10
    that is okay you can get to it when you can.



  11. #11
    Member Nicholas_A's Avatar
    Join Date
    Oct 2014
    Location
    own.worldPosition
    Posts
    1,053
    I don't think he said he was going to do it. He was saying that is, would force you to enter things into the console.
    My website | My YouTube channel | My Blendswap profile | Current Project: [BGMC 25] Ant Panic!

    I sell custom logos for $5 (among other things). Check them out!



  12. #12
    but he said
    its made by TwisterGE and it seems promising for uis !



  13. #13
    Member Nicholas_A's Avatar
    Join Date
    Oct 2014
    Location
    own.worldPosition
    Posts
    1,053
    That was for a GUI. not a chatbot.
    My website | My YouTube channel | My Blendswap profile | Current Project: [BGMC 25] Ant Panic!

    I sell custom logos for $5 (among other things). Check them out!



  14. #14
    that is what I meant.



  15. #15
    Originally Posted by WKnight02 View Post
    Well, actually you can already use this snippet in a vanilla Python script... But you would have to play your game in the Blender Console so rip.

    Actually, the framework is meant to design logic. But I didn't implement any "easy" interface system yet. You could take a look at this: https://github.com/DCubix/TwisterUI, its made by TwisterGE and it seems promising for uis !
    it eats the framerate.
    i get a framrate of 6.6.



  16. #16
    Member WKnight02's Avatar
    Join Date
    Aug 2017
    Location
    Earth
    Posts
    55
    Originally Posted by Lostscience View Post
    it eats the framerate.
    i get a framrate of 6.6.
    I have no idea what does eat your framerates, but as RedFrost said, I don't really plan on making the GUI layer yet. I more hoped that someone like Twister or anyone really would make something and that I could get it to work by integrating it into bgez later (or provide any required adapter). But right now I'm looking at a way to write some documentation and add more features to make easier the writing of logic for a game.

    One thing that could help me:

    Can you try to write down some gameplay mechanic idea you would like to be able to do, but write it in the way you would like to have to write it (code wise). Its not that easy to come with, but seeing how you would want to have to write could help me and give me ideas on mechanismes to add to the framework (your input thing already gave me some ideas). I feel like only a few people want to give me some input, but its alright. I don't know how to get the hype going anyway.

    @BluePrintRandom: Would a video really help ?
    I could do something, what do you use for recordings (on windows preferably) ?



  17. #17
    Member BluePrintRandom's Avatar
    Join Date
    Jul 2008
    Location
    NoCal Usa
    Posts
    18,231
    obs,
    and it's not for me particularly yet (until you get into multiplayer later)

    some people just learn better from a narrated video.
    Break it and remake it - Wrectified
    If you cut off a head, the hydra grows back two.
    "headless upbge"



  18. #18
    This is at last the third project I know that does exactly the same "Framework" thing, in fact, I did one myself: http://coredoc.royalwebhosting.net/



  19. #19
    Member WKnight02's Avatar
    Join Date
    Aug 2017
    Location
    Earth
    Posts
    55
    Originally Posted by elmeunick9 View Post
    This is at last the third project I know that does exactly the same "Framework" thing, in fact, I did one myself: http://coredoc.royalwebhosting.net/
    I think when searching for an already existing solution, I already found your work !
    Looks great, I'm looking at the sources a bit quick, I think I may have a deeper look in the following weeks... Lot of awesome work !
    Although some things bug me out, but I haven't gone through your system fully so I can't really tell

    Do you mind if I inspire myself a bit from your work for some things ?

    Update for bgez now:
    I'm working on a demo using some of the work of martinsh, most of my time has been retro-engineering the few .blend that were still online, so far so good I must say ! Still a bit of work to do.

    Also the core of bgez might change a bit, as I'm looking at a close but somehow different approach for logic execution.
    Idk if people are really interested, but at the end of next week there should be some cool things, like some cool shaders easely importable (even in non-bgez projects), and a new way of processing logic within bgez.

    (dynamic sun/sky from martinsh, easily importable !)
    blender_2017-10-21_01-13-53.png

    @elmeunick9: I will defenitely take a look at your work, but I felt like you did not approach the problem like I would have, hence my attempt

    @all: don't expect huge weekly update/features, working alone on such a project is already taking all my time, and most features take me between 2 to 7 days to implement, and usually the feature may not seem huge, although the combination of all the work should be really useful. I'll try to post here every 2 weeks at most, depending also on what happens with my other activities (as much as I would like it, I'm not living from Blender lol).



  20. #20
    @WKnight02:
    Would you please explain which diferent aproches are you taking and why? Thanks.



Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •