Best Way to Accomplish Gameplay

For questions about using Classic.

Post » Sun Oct 31, 2010 1:35 am

Hey, So I've prototyped most of my game and am ready to get on with actually making it. NOW: There is one minor (i.e. Major) obstacle. My game is a spaceship game (2d elite) and I want AI ships going about their business, trading, fighting, etc. So how would I go about this for areas that the player is not in?

I'm thinking a galactic view and a sector view. But if these were two layout how could I run them simultaneously? or is there a better way to go about this?

Major thanks for any help.
Follow me on Twitter @evgLabs
B
33
S
14
G
4
Posts: 251
Reputation: 4,049

Post » Sun Oct 31, 2010 3:18 am

Yeah you should be able to simulate those ships without actually having them in your layout by using an array, and then just interpret them into the position of a sprite when you go into 'galactic' view.
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Thu Nov 11, 2010 3:17 am

In my humble opinion, you should fake it.

Use statistics. Estimate. Use a random chance. Step step step. No one will notice and the game will run fast.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Fri Nov 12, 2010 2:50 am

Well, faking it would probably be the best way and the one that would require the less power.
But if you have a real too big amount of objects and interactions, maybe you could sacrifice some power and use the layout object, which use is to run another layout in the current layout.

Of course, you set the layout object invisible and/or put it outside the screen so it just runs without anybody knowing it.
When you're leaving the current layout to go in the other layout for real, you manage the game to save the state of the other layout, so it can load it back once you're in it for real.

Of course, if my solution is more complicated than just faking it, forget it...
B
11
S
3
G
3
Posts: 206
Reputation: 2,379


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests