Question: how to link different games to make one.

  • (2 Pages)
  • +
  • 1
  • 2

17 Replies - 758 Views - Last Post: 02 March 2012 - 03:02 AM Rate Topic: -----

#1 Armaniguru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 29-February 12

Question: how to link different games to make one.

Posted 29 February 2012 - 02:45 AM

Hello,

Iíve been looking around for a solution to what I want to do, but I found nothing because, among other things, I didnít know what keywords to look for.

Let me explain what Iím doing.

I am making a game in Indie Game Maker. The game is so big that I have to export each stage I create as a new game instead of putting them all together into one single game (if I don't, the program crashes and it doesn't let me continue).

So, for example, if my game has 5 stages, I have to export 5 different, independent games.

Those 5 stages/games have things in common (main character, some sounds, etc.) and things that wonít appear again (each episode has a different background, different enemies, etc.).

What Iím looking for is a way to edit the code of each game so that I can link them in a way users will be able to download one single file and itíll work as one single game for them (stage 2 comes after you finish stage 1, then stage 3, then stage 4, then stage 5).

I would like to know if there is any program to compare the code of each game, check whatís common to the 5 stage/games (character, sounds, etc.) and whatís different (backgrounds, enemies, etc.), and merge all that into one single code file.

Or if you know any other way to reach the same goal, please, let me know.

Thank you very much in advance.

PS: The gameís language seems to be C++, and the file is XML.
As you might have realized already, Iím a noob *laughs*

Is This A Good Question/Topic? 0
  • +

Replies To: Question: how to link different games to make one.

#2 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 0
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Question: how to link different games to make one.

Posted 29 February 2012 - 04:32 AM

What you're asking is absurd for a number of reasons:

1. The reason why you cannot find out how to put pieces of different games together is because games generally are not written to be reconstructed in such a manner. Yes, you can implement code reuse but that is for low-level functionality.

2. If you can't read the code in order to rewrite it, there is no magic way to assemble the pieces together.

3. Code is very specific to its current implementation, so is unlikely to behave in exactly the same way on another code base.

I don't know who gave you such an idea. It really is a terrible one.
Was This Post Helpful? 0
  • +
  • -

#3 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,173
  • Joined: 14-February 08

Re: Question: how to link different games to make one.

Posted 29 February 2012 - 04:52 AM

This will never work as you intend. Why not simply say it is an episodic game and get people to download the different "episodes". That's the only way I can think to get around this.

Is it a limitation of IndieGameMaker? What is the file size limit?
Was This Post Helpful? 0
  • +
  • -

#4 Armaniguru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 29-February 12

Re: Question: how to link different games to make one.

Posted 29 February 2012 - 05:18 AM

Thank you both for your replies.

We're currently using Indie Game Maker because it's the only program we could understand, since nobody in our team knows much about real programming. The problem with Indie Game Maker is that it seems to be good for very small and simple games, but ours use tons of graphics and a battle system that IGMaker seems to have trouble with, so it crashes all the time and we lost our daily progress many times already.

We thought that if the problem was how heavy the game is (we have 20GB RAM, but IGMaker only seems to be able to use up to 2?), we could make each stage as a separate game and then put them all together somehow, but I guess it's not that easy.

We're planning to release this as an indie game for different platforms. It has 9 different stages, each too short to be sold separately. That's why we need to find a solution to put all this together without IGMaker crashing down.

Thanks again for your replies and the detailed explanation!
Was This Post Helpful? 0
  • +
  • -

#5 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,173
  • Joined: 14-February 08

Re: Question: how to link different games to make one.

Posted 29 February 2012 - 05:58 AM

I think the most sensible thing to do would be to look at how you could lower your file size. What is the average size of an image file in your project?
Was This Post Helpful? 0
  • +
  • -

#6 Armaniguru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 29-February 12

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 01:17 AM

Indie Game Maker is supposed to deal with graphics around 2000 x 2000 px, but since we had so much trouble, our graphics rarely go past 1000 x 1000 px, and it still crashes.
At first we wanted to release this game in a higher resolution, but it proved to be impossible, so we lowered the resolution by half... and it still crashes.

I wonder if anyone ever made a somewhat big game using Indie Game Maker, or it really is not ready for such a thing.
Was This Post Helpful? 0
  • +
  • -

#7 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,173
  • Joined: 14-February 08

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 02:13 AM

I mean the actual file size?
Was This Post Helpful? 0
  • +
  • -

#8 Armaniguru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 29-February 12

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 02:20 AM

I'm sorry, I'm not sure if I understood the question well... I'll try to reply with some examples.

1 character animation:
1024 x 768, 281kb

1 tileset:
992 x 992, 484kb

We have many smaller files and some bigger ones. The sizes vary all the time.

Half a game is 85MB, and once we export it to XNA it becomes 141MB.

And let me thank you again for taking the time to reply to this, I appreciate any help a lot.
Was This Post Helpful? 0
  • +
  • -

#9 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,173
  • Joined: 14-February 08

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 02:22 AM

No problem :)

Can I ask what file types you are using as well?
Was This Post Helpful? 0
  • +
  • -

#10 Armaniguru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 29-February 12

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 02:37 AM

All images we use are PNG. IGMaker only allows for PNGs and BMPs.
Was This Post Helpful? 0
  • +
  • -

#11 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,173
  • Joined: 14-February 08

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 02:40 AM

Put the files through a tool like this http://www.imageopti...Pages/Home.aspx I just got an image that was originally 1909KB down to only 204KB in size.

Also is there an option in indie game maker to not embed the files and just load them from a separate source, this would essentially make the game file very small. Can I see some image loading code?
Was This Post Helpful? 0
  • +
  • -

#12 Armaniguru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 29-February 12

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 02:53 AM

Thanks for the link!
We just tried it with one of the character animations at best quality, but it loses too much quality, and the main problem is it loses the transparency, making the background black (the background had to be transparent for IGMaker to identify the character alone). It's a pity, because it really lowered the size a lot...

I'm very sorry, I don't know where I can find any image loading code... There is a button to import images into the game, we don't see any code (or maybe I just misunderstood your question).
Was This Post Helpful? 0
  • +
  • -

#13 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,173
  • Joined: 14-February 08

Re: Question: how to link different games to make one.

Posted 01 March 2012 - 03:06 AM

Can't you just take the optimised file into photoshop and then remove the background? It seems to me that you may have to have a small sacrifice in quality to get the results you need.

The problem with tools like IGM is that they offer no flexibility, it really is pretty bad that you cannot load resources from an external source. Pretty much every game you find will have external resources in some way or other, whether they are image files or big bundles of resources in zip or bin files.
Was This Post Helpful? 0
  • +
  • -

#14 Armaniguru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 29-February 12

Re: Question: how to link different games to make one.

Posted 02 March 2012 - 01:30 AM

At this point we're considering switching to some other software and starting all the programming again. The problem is that we need a software that 1) doesn't require much programming and 2) can export to XNA after the game is done.

If anyone knows of any software with such characteristics, could you tell me?

Thanks in advance and sorry for all the trouble.
Was This Post Helpful? 0
  • +
  • -

#15 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,173
  • Joined: 14-February 08

Re: Question: how to link different games to make one.

Posted 02 March 2012 - 02:10 AM

Export to XNA? Doesn't XNA just export to an exe file? Are you putting it on Xbox Indie Arcade?
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2