June 08, 2023, 01:44:39 pm

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: Screenshot  (Read 6757 times)

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Screenshot
« on: October 13, 2008, 04:16:04 pm »

Here's a screenshot of the editor:


I finally decided to stop wrestling with C++ and do this in GameMaker because it's so dang easy!
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Asdf64

  • Guest
Re: Screenshot
« Reply #1 on: October 13, 2008, 04:23:03 pm »

Woohoo! But I've got a question. Once you make a map, can only you use it, or can other people play it?
Logged

stefan

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 73
  • maybe i'm a lion
Re: Screenshot
« Reply #2 on: October 13, 2008, 05:03:38 pm »

Aww, C++ is so awesome though. Although GameMaker is easy >_>

Anyway, it looks superb. I can't wait :)

I'm guessing that the scouts are the areas where people fall and the red part is the color of the team that can pass through. Good work on it, I really can't wait :)
Logged

 TRIPLE KILL

RyuuTachi

  • New Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 8
Re: Screenshot
« Reply #3 on: October 13, 2008, 06:19:05 pm »

Wow great work. Its looks great.
Logged

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Screenshot
« Reply #4 on: October 13, 2008, 06:29:12 pm »

Aww, C++ is so awesome though. Although GameMaker is easy >_>

Yeah, I love C++, too, and I'll probably port it to that as soon as I learn QT or wxWidgets or something like that.

Woohoo! But I've got a question. Once you make a map, can only you use it, or can other people play it?

Other people will be able to use it, but I'm still working out the details.  The plan right now is this:
Upload your finished map to somewhere on the internet.
Host a server, and instead of picking one of the included maps, type in the URL of the map.
Your server will download the map, and any games that connect will get the URL so they can automatically download it as well.

If I can get it to work easily, I'd also like the server to send the client an md5 sum of the file, so the client can skip re-downloading the level if his file matches the server's file.
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Asdf64

  • Guest
Re: Screenshot
« Reply #5 on: October 13, 2008, 06:33:09 pm »

*phew* That's a relieve. I don't have the time to do the whole port forward stuff, so now I won't have to if other people find my map.
Logged

fishy

  • Pelvis Rush
  • Developer
  • ******
  • Karma: 84
  • Offline Offline
  • Posts: 288
  • resident nitpicker
Re: Screenshot
« Reply #6 on: October 14, 2008, 10:59:55 am »

Map images aren't all that large. Is downloading from host on connect a bad idea? We could always have it be an toggleable option.

So this compiles both pngs and coordinates of relevant entities to a single file?
Logged
It's here:

<Scoot> WHATEVER HAPPENED TO LACE MAN
<Scoot> I FUCKIN LOVE RIBBONS AND SHIT

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Screenshot
« Reply #7 on: October 14, 2008, 11:30:55 am »

Map images aren't all that large. Is downloading from host on connect a bad idea? We could always have it be an toggleable option.
I figured hosting levels online is easy enough, but I guess we could have an option.

So this compiles both pngs and coordinates of relevant entities to a single file?
That's the plan, though I'm still working out the details.  One idea is having the walkmask saved as the alpha channel of the background and having the entities saved to the PNG's internal text chunk.  Another idea that's not as pretty is to just put all 3 files in a .zip or a .tar.gz.
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Eviltyphoon

  • New Member
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 5
Re: Screenshot
« Reply #8 on: October 14, 2008, 12:58:01 pm »

Wow, that mapeditor looks great! and I really like the fact that you can use custom maps, so that you don't have to wait for the next update to play your map. <but maybe someony should test the maps before they are put in game. Or else you might get some really nasty suprises (eg: goatse) when joining a server, cause there are always ppl whos sole purpose is grief others.
Logged

fishy

  • Pelvis Rush
  • Developer
  • ******
  • Karma: 84
  • Offline Offline
  • Posts: 288
  • resident nitpicker
Re: Screenshot
« Reply #9 on: October 14, 2008, 04:10:51 pm »

That's the plan, though I'm still working out the details.  One idea is having the walkmask saved as the alpha channel of the background and having the entities saved to the PNG's internal text chunk.

I'd say that's fantastic. You could even have it throw an error if the walkmask's palette consists of any more than two colors.
Logged
It's here:

<Scoot> WHATEVER HAPPENED TO LACE MAN
<Scoot> I FUCKIN LOVE RIBBONS AND SHIT

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Screenshot
« Reply #10 on: October 14, 2008, 04:48:54 pm »

Wow, that mapeditor looks great! and I really like the fact that you can use custom maps, so that you don't have to wait for the next update to play your map. <but maybe someony should test the maps before they are put in game. Or else you might get some really nasty suprises (eg: goatse) when joining a server, cause there are always ppl whos sole purpose is grief others.

I hadn't thought of goatse, but I had been thinking about terrible maps, and I was figuring we should have an "official" set of maps like in TF2.  Really good user-made maps can be added to the official set, and perhaps users could choose in the server browser whether or not they want to see servers playing non-official maps.

You could even have it throw an error if the walkmask's palette consists of any more than two colors.

Interesting suggestion.  GameMaker uses the exact pixel color in the lower-left hand corner as the non-collision color, so multi-colored walkmasks should actually be ok.
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

SFJake

  • New Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
Re: Screenshot
« Reply #11 on: October 14, 2008, 05:04:38 pm »

I was expecting something complicated for the users.

I'm amazed that the plans are... sophisticated enough to make things simple and using multiple map less of a pain.

That indeed is fantastic.
Logged

Diglidi-Dude

  • Guest
Re: Screenshot
« Reply #12 on: October 15, 2008, 05:58:15 pm »

cspotcode, you deserve Diglidi-Dude's official seal of uberchargesomewin!
Logged

cspotcode

  • Coder
  • Administrator
  • *****
  • Karma: 134
  • Offline Offline
  • Posts: 411
Re: Screenshot
« Reply #13 on: October 23, 2008, 02:06:24 am »

Quick update: The level editor isn't quite ready for primetime yet, but the new DLL can now embed and extract data from PNG files.  The level editor can now convert entities and walkmasks to text data.  Put two and two together, and levels can be compiled down to a PNG file.

Next on the agenda is adding support to the game for extracting this level data and constructing entities and a walkmask from it.  Almost there!

Also, can anyone recommend a GameMaker extension that supports downloading files from the internet (more easily than 39DLL)?  I've found one that looks nice, but I haven't tried it yet.  It should preferably be open source so that we can redistribute it with the game.
Logged
"The knack of flying is learning how to throw yourself at the ground and miss."
- Douglas Adams

Thaxos

  • Disgusting prick
  • Junior Member
  • **
  • Karma: -23
  • Offline Offline
  • Posts: 66
  • I can has cheezburger?
Re: Screenshot
« Reply #14 on: October 26, 2008, 08:30:34 pm »

This looking freaking amazing
Sign me up! lol
Logged
Pages: [1] 2
 

Page created in 0.029 seconds with 35 queries.