Results 1 to 17 of 17

Thread: BGEz - Full Python game projects

  1. #1
    Member WKnight02's Avatar
    Join Date
    Aug 2017
    Location
    Earth
    Posts
    50

    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/WKnight02/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; 15-Oct-17 at 00:17.



  2. #2
    Member BluePrintRandom's Avatar
    Join Date
    Jul 2008
    Location
    NoCal Usa
    Posts
    18,212
    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
    50
    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,050
    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
    50
    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,050
    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,050
    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
    50
    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,212
    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"



Posting Permissions

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