Home » Stars! Clones, Extensions, Modding » Stars! Extensions » xy modification after game has started
Re: xy modification after game has started |
Sun, 06 July 2014 09:07 |
|
raptor | | | Messages: 138
Registered: June 2014 | |
|
I'm open to other ideas and suggestions, but my current idea was that you could do something like the following (not real code):
1. blocklist = Decryptor.readFile("game.xy")
2. Modify a block in the blocklist
3. (eventually) Encryptor.writeFile(blocklist, "game.xy")
Or:
1. Create new types of Blocks as java objects (FileHeaderBlock, etc.), setting their properties through Java.
2. build up a block list
3. Encryptor.writeFile(blocklist, "game.xy")
The whole idea is to be able to edit the data using standard java objects, then reading/writing to a file using those objects. Internally, we could easily have other data types as members of the blocks themselves, then allow API access to them.
I don't know the best way to go about it.. I just started coding and this is what happened. Above all, I want to make the code semi-easy to follow as that will lower the barrier to entry for contributions.
Report message to a moderator
|
|
|
|
|
xy modification after game has started
By: raptor on Sun, 29 June 2014 22:48
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Mon, 30 June 2014 18:33
|
|
|
Re: xy modification after game has started
By: raptor on Tue, 01 July 2014 09:27
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: XAPBob on Wed, 02 July 2014 03:10
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Wed, 02 July 2014 23:35
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: XAPBob on Fri, 04 July 2014 06:52
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Fri, 04 July 2014 22:07
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 05 July 2014 09:39
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 05 July 2014 19:15
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 05 July 2014 21:10
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sun, 06 July 2014 01:55
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sun, 06 July 2014 09:07
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sun, 06 July 2014 16:53
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sun, 06 July 2014 22:56
|
|
|
Re: xy modification after game has started
By: raptor on Mon, 07 July 2014 11:25
|
|
|
Re: xy modification after game has started
By: XAPBob on Mon, 07 July 2014 12:48
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 19 July 2014 02:18
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 19 July 2014 15:20
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 19 July 2014 22:44
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Mon, 21 July 2014 00:22
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 05 July 2014 10:38
|
|
|
Re: xy modification after game has started
By: raptor on Sat, 05 July 2014 12:34
|
|
|
Re: xy modification after game has started
|
|
|
Re: xy modification after game has started
By: ricks03 on Fri, 15 November 2019 12:27
|
Goto Forum:
Current Time: Sun Apr 28 05:49:21 EDT 2024
|