HELP How can I execute a command from a game that switches me to another game?

Started by BowsetteGamer, Tue 03/01/2023 19:14:18

Previous topic - Next topic

Cassiebsg

Yes, you can add animations to the GUI, buttons can have animations in them. And they don't need to be "clickable" or even static.

Here's a game I made sometime go with an animated menu: https://www.adventuregamestudio.co.uk/site/games/game/2201-unexpected-at-the-rising-star/

Or this one that not only is a great game, it also has a very cool animated menu: https://www.adventuregamestudio.co.uk/site/games/game/2520-if-on-a-winter-s-night-four-travelers/
There are those who believe that life here began out there...

Matti

Yes, everything you mention is pretty much possible and doesn't require a lot of work. I don't see any reason why the (however fancy) menu shouldn't be part of the game (or the same executable).

I say finish your game, then make a backup (which you should of course do regularly), then concentrate on making the menu/title screen as the last missing part of your game, done  :)

BowsetteGamer

Quote from: Matti on Wed 04/01/2023 22:23:48Yes, everything you mention is pretty much possible and doesn't require a lot of work. I don't see any reason why the (however fancy) menu shouldn't be part of the game (or the same executable).

I say finish your game, then make a backup (which you should of course do regularly), then concentrate on making the menu/title screen as the last missing part of your game, done  :)
I like this, thank you very much, I already have 85% of the demo done, I like what you propose :)

BowsetteGamer

Quote from: Cassiebsg on Wed 04/01/2023 20:22:25Yes, you can add animations to the GUI, buttons can have animations in them. And they don't need to be "clickable" or even static.

Here's a game I made sometime go with an animated menu: https://www.adventuregamestudio.co.uk/site/games/game/2201-unexpected-at-the-rising-star/

Or this one that not only is a great game, it also has a very cool animated menu: https://www.adventuregamestudio.co.uk/site/games/game/2520-if-on-a-winter-s-night-four-travelers/
Woa, great, thanks for sharing your games with me, I'll take a look at them, a question, do you like games set in Roman times?

Khris

If you want a complicated title / intro, make it a separate exe. You have my blessing :)
However what Cassie brought up is a very good counterpoint: if this is actually a menu screen that is supposed to appear when you pause the game, putting it in a separate exe is, you guessed it: bollocks ;-D

Also, the 51 is an integer. Like the manual entry explicitly states. An integer is a whole number, and you can use it to send some information to the 2nd game, like for instance the player's score, or their health, or how many toenail clippings they have in their inventory from the previous game.

BowsetteGamer

Quote from: Khris on Thu 05/01/2023 10:46:29If you want a complicated title / intro, make it a separate exe. You have my blessing :)
However what Cassie brought up is a very good counterpoint: if this is actually a menu screen that is supposed to appear when you pause the game, putting it in a separate exe is, you guessed it: bollocks ;-D

Also, the 51 is an integer. Like the manual entry explicitly states. An integer is a whole number, and you can use it to send some information to the 2nd game, like for instance the player's score, or their health, or how many toenail clippings they have in their inventory from the previous game.
hmmmm okay thanks, and if I put the data in "0", it means that nothing happens to the real game, I ask this is to confirm

Khris

You can read the value by accessing game.previous_game_data but you can simply not do that. Which means the number you put in the call doesn't matter at all. This isn't a big deal.

BowsetteGamer

Quote from: Khris on Fri 06/01/2023 01:59:55You can read the value by accessing game.previous_game_data but you can simply not do that. Which means the number you put in the call doesn't matter at all. This isn't a big deal.
ah ok thanks for your help kris ;-D

Snarky

As a sort of general programming tip (not just limited to AGS): when variables, fields or arguments are called "data," it often means that the values don't have any pre-defined meanings or uses, but that it's up to you to define and use it however you like.

SMF spam blocked by CleanTalk