January 26, 2022, 06:06:26 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1] 2

Author Topic: Garrison Builder rewrite development journal  (Read 4600 times)

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Garrison Builder rewrite development journal
« on: August 22, 2009, 08:14:33 pm »

I'm rewriting the Garrison Builder in Qt.  I'm gonna write about my progress here.  I've never really done anything like a development journal before, but hopefully it'll help motivate me.

It doesn't really do anything yet, but here's a screenshot:
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Juicebox360

  • Full Member
  • ***
  • Karma: -25
  • Offline Offline
  • Posts: 200
  • edgy coder since 08
Re: Garrison Builder rewrite development journal
« Reply #1 on: August 22, 2009, 11:05:31 pm »

This looks quite promising. What are some new features you'll be adding to it (that is, if you're planning to do more than a rewrite)?
Logged

Agh

  • 2012 Haxxy Award Winner
  • *
  • Karma: 174
  • Offline Offline
  • Posts: 2439
    • My maps
Re: Garrison Builder rewrite development journal
« Reply #2 on: August 23, 2009, 05:11:21 am »

I am really looking forward to this :D
Does this mean the compiling will be faster?
Logged

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Garrison Builder rewrite development journal
« Reply #3 on: August 23, 2009, 12:18:13 pm »

This looks quite promising. What are some new features you'll be adding to it (that is, if you're planning to do more than a rewrite)?

Qt has great image manipulation support, so it'd be cool if mappers could resize, shift, and move around parts of the map.  It would not be an image editor, it would be more of a walkmask adjuster.  So the mapper would create the basic shape in his drawing program, adjust everything in Garrison Builder so that gameplay felt right, and then go back to his drawing program to repair the damage Garrison Builder had done to the background during the adjustment process.  I think this is important, because currently the tools don't encourage mappers to focus on gameplay.

Also, I want to redo control point support to be much more powerful.  So the new editor would support that.

It'd be really, really cool if all the entities were loaded by the Builder from a zip file.  When new stuff was added to the game, mappers could instantly get access by auto-updating the zip file.  Even a non-coder developer could maintain the zip file, because it would just contain png images and text config files.

I am really looking forward to this :D
Does this mean the compiling will be faster?
Yes, compiling should be instant.  There's really no excuse for the current builder to compile so slowly.  It's my fault for doing it in GML.
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Corky

  • dusty old bones full of green dust
  • ******
  • Karma: 320
  • Offline Offline
  • Posts: 938
Re: Garrison Builder rewrite development journal
« Reply #4 on: August 23, 2009, 12:27:32 pm »

Garrison Builder might work for me again now.

 :z6:
Logged

Juicebox360

  • Full Member
  • ***
  • Karma: -25
  • Offline Offline
  • Posts: 200
  • edgy coder since 08
Re: Garrison Builder rewrite development journal
« Reply #5 on: August 23, 2009, 12:32:10 pm »

It'd be really, really cool if all the entities were loaded by the Builder from a zip file.  When new stuff was added to the game, mappers could instantly get access by auto-updating the zip file.  Even a non-coder developer could maintain the zip file, because it would just contain png images and text config files.

Yeah, I agree that the blueprint you suggested was a neat idea. It's good to finally see it being integrated.
Logged

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Garrison Builder rewrite development journal
« Reply #6 on: August 25, 2009, 09:44:08 pm »

I'm pushing the code to Launchpad now.  I'll try to update periodically as I work.

https://code.launchpad.net/~cspotcode/gg2garrisonbuilder/garrisonBuilderQtRewrite

Programmers, please don't laugh!  I'm still learning...
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Juicebox360

  • Full Member
  • ***
  • Karma: -25
  • Offline Offline
  • Posts: 200
  • edgy coder since 08
Re: Garrison Builder rewrite development journal
« Reply #7 on: August 25, 2009, 10:17:02 pm »

Have you received errors regarding type conversion? I don't think that cast expressions are needed, it's floor() and ceil()
Logged

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Garrison Builder rewrite development journal
« Reply #8 on: August 26, 2009, 12:07:32 am »

Have you received errors regarding type conversion? I don't think that cast expressions are needed, it's floor() and ceil()

No, I haven't.  What part of the code are you referring to?
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Juicebox360

  • Full Member
  • ***
  • Karma: -25
  • Offline Offline
  • Posts: 200
  • edgy coder since 08
Re: Garrison Builder rewrite development journal
« Reply #9 on: August 26, 2009, 12:13:19 am »

Have you received errors regarding type conversion? I don't think that cast expressions are needed, it's floor() and ceil()

No, I haven't.  What part of the code are you referring to?

One second. I need to restart my computer since I changed the directory structure

It's at the part where it draws the grid, if I recall.

EDIT: urgh, my SSH keys won't work, one second please.
« Last Edit: August 26, 2009, 01:15:34 am by Handrew the Elitist Child Molester »
Logged

Juicebox360

  • Full Member
  • ***
  • Karma: -25
  • Offline Offline
  • Posts: 200
  • edgy coder since 08
Re: Garrison Builder rewrite development journal
« Reply #10 on: August 26, 2009, 02:18:41 am »

Sorry for the alarm. I'm an idiot that I didn't realize that it was merely a warning.

It's running now. I like it. :c1:
« Last Edit: August 26, 2009, 02:19:44 am by Handrew the Elitist Child Molester »
Logged

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Garrison Builder rewrite development journal
« Reply #11 on: August 26, 2009, 08:16:19 am »

It's ok, you made me realize I put some moc_* files in the repository accidentally.  They shouldn't be there since they're created by Qt's meta object compiler at compile time.
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

NAGN

  • Developer
  • ******
  • Karma: 146
  • Offline Offline
  • Posts: 16769
  • Yeah so now I have an idea
Re: Garrison Builder rewrite development journal
« Reply #12 on: January 13, 2010, 08:54:06 pm »

Sorry for the horrid necrobump, but whatever happend to this project?
Logged

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Garrison Builder rewrite development journal
« Reply #13 on: January 13, 2010, 09:09:40 pm »

It's not dead, just very slow going.  School and life and all keep me busy doing stuff that I don't like to do.

And uhh... yeah, that's about it.
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

favicon guru

  • Guest
Re: Garrison Builder rewrite development journal
« Reply #14 on: January 13, 2010, 10:01:50 pm »

Is Launchpad for debuggers exclusively?
Logged
Pages: [1] 2
 

Page created in 0.031 seconds with 35 queries.