Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / evolving dbpro game!!!

Author
Message
sovr
16
Years of Service
User Offline
Joined: 2nd Jan 2010
Location: USA
Posted: 23rd Jan 2012 05:13
hello, I have just figured out how to make a game re-program itself in theory. I will be getting done with a very basic test of this theory very soon. The problem is you would need an external c++ program to rewrite and add data to the source code.

The other thing is I realize by using a .bat file you can execute the compiler file (from dbpro) to execute the source code... all you need the dbpro game to do is to execute that .bat file to re-compile the game. For when it comes to altering the code, you just need to communicate (memblocks, files, etc.) with the C++ program to not only re-write the code but to add in new commands, functions, etc.

If anyone is confused or have any comments with this idea please post. I just thought this would be a interesting project to do!


edit:
when the game is shut down and reopened again it should have some alteration of the game itself... if everything works.

sov the game creator!
zapakitul
19
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 23rd Jan 2012 05:28
sovr, do a google search for Procedural Generated Content! It's what you are trying to achieve yourself, only that the game needs no co-op with C++, nor do you need to supply the DBPro compiler with it !
sovr
16
Years of Service
User Offline
Joined: 2nd Jan 2010
Location: USA
Posted: 23rd Jan 2012 05:41 Edited at: 23rd Jan 2012 05:43
that is great, thank you for telling me about that! But I came up with another idea while thinking about this current one. All you would need to do is replace the C++ program with an AppGameKit program (that could write down the source code). The function of the AppGameKit program is to be able to connect with a mobile device and to program in dbpro with your mobile device! As long as you have your computer running and you are on the same network ... but it still seems fun to try out!


edit: this is a very complex idea in my thought. I did get this whole idea from the robotic projects I am doing.

sov the game creator!
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 23rd Jan 2012 06:19
My game, Malevolence, uses this theory to create an infinite world. Check it out in the WIP forum!

Also do a search for "Polymorphic Code". That'll give you some more stuff to work with!


MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 23rd Jan 2012 10:57
I cracked this code... I called it Update Patches...

Kinda catchy don't you think?


But really I see your Idea and think its pretty cool... until I applied some logic to it and said... licencing...

But yeah urm if it would be... how would it be different from say... Procedural as mentioned above?

But interesting though process you sir are a visionary! keep it up!

sovr
16
Years of Service
User Offline
Joined: 2nd Jan 2010
Location: USA
Posted: 23rd Jan 2012 19:00
To what I from the 20 or so minutes of looking at that technique... My way of doing
It makes it so the game itself re-writes itself anf re-compile itself. The goal is to create an ai system to acomplish this function.

sov the game creator!

Login to post a reply

Server time is: 2026-07-11 10:25:48
Your offset time is: 2026-07-11 10:25:48