Search the Community
Showing results for tags 'new game'.
Found 5 results
-
Hello, everyone. Today I've been working on a "New Game Plus" feature, where if you have completed the game once, a switch will be set to true that allows you to select and play a new game that has extra features in it. I am very close to having this set up exactly the way I need it to be. Using this little set up here, I created a switch ($extragame) that can be set to true while in-game. I will set it to true after the player has completed the whole game. At the title screen, when they select "New Game" it will take them to a scene that'll ask them if they want a "New Game" (without extra features) or a "New Game +" (that will have extra features.) module DataManager class << self alias orig_CGO create_game_objects alias orig_MSC make_save_contents alias orig_XSC extract_save_contents end def self.create_game_objects orig_CGO #MY OBJECTS $extragame = false unless true $extragame_y = false end def self.make_save_contents contents = {} contents = orig_MSC #MY OBJECTS contents[:$extragame] = $extragame contents[:$extragame_y] = $extragame_y return contents end def self.extract_save_contents(contents) orig_XSC(contents) #MY OBJECTS $extragame = contents[:extragame] $extragame_y = contents[:extragame_y] end If they select New Game +, the setup for a new game will execute pretty much the same as normal, but with an addition that $extragame_y (as in "yes the player selected an extra game) will be set to true after the game has technically started. Before anything else will happen, the player will be immediately prompted in-game to save. That way when the player continues on that specific save file, the whole game will have extra features from then on. def newgame_extra DataManager.setup_new_game fadeout_all $game_map.autoplay SceneManager.goto(Scene_Map) $newgameplus_y = true end Everything is almost in place, except for the problem that if the player exits the game and re-opens it, the switch $extragame is set to false again. This doesn't happen if you go to the title screen, even if you don't save after triggering $extragame to be set to true. My solution is to find a way to make the state that switch $extragame is in to persist even after the game is closed. However, that could be an issue as well, since that means I could potentially publish the game with the switch already set to true because I've been testing out the extra game feature. I'm considering to solve this solution by having switch $extragame set to true at the very end of the game, making the game autosave on the save file the player is playing on, and then whenever the game is booted up it checks to see if there's a save file where $extragame is set to true. If there is a file that meets the requirements, then the player is given the option to play on a "New Game Plus" file. I feel like I'm so close to figuring it all out, but my last idea seems to be a little out of my element. I will continue researching what I can do. If anyone has any ideas, I would be happy to hear! Thank you for your time.
- 16 replies
-
- extra game
- persistent switches
-
(and 4 more)
Tagged with:
-
My beta-tester Can't start a new game?
Shiro and Kuro posted a topic in Editor Support and Discussion
So I exported my Game for a friend to beta test, At first it wouldn't work from a file missing which I gave them the missing file and they put it in the proper folder and the game proceeded to launch and it all looked well but at the title screen it will not let them start a new file. They can go to continue and even try to load a file, (there are none to load because they have never played) and they can close the game from the menu. They informed me that whenever they try to start a new game it gives them the invalid target Sound Effect and won't do anything. I don't know how to fix this or even where to begin because I experience nothing like this on my PC. It works perfectly for me. If anyone has any ideas as to why this could be happening please let me know. If it matters I'm using. MOG - Madoka Title Screen (v1.0) By Moghunter http://www.atelier-rgss.com/ -
How to make an event stop repeating after opening the Main Menu and starting a new game?
TetsuyaHikari posted a topic in Editor Support and Discussion
Alright, so it seems someone encountered an exploit in my project recently and I was hoping someone could help me figure out exactly how to stop it. When you start a new game, you are given a short intro, then you take one step forward and you're allowed to create your characters. Once this takes place, you are given 10 bonus points to spend to get you started. Once you distribute those points, you can't get any more. However, if you edit that character, the points will still be there and you can re-distribute them to different stats if you want, otherwise they will remain in whatever you put them in originally. Point is, the event checks to see if it's your first time creating the character. If it is, you get 10 points, if it isn't, you get 0 points. Something rather odd happened earlier today though. Someone reported a bug to me by showing a screenshot of them having 20 bonus points. They said they did this by making a mistake with the character creation process, so they opened the menu, then returned to the Title/Main Menu and started a new game. When they came back to the character creation process, the game was giving them 10 points again (on top of the 10 previous points), so they were able to constantly get an additional 10 points if they just exited to the Title/Main Menu and kept starting up a new game. Now, I've never known an event to continue running like this (sure, events continue from a load state, but I've never seen this before), so I was hoping someone could explain to me how I can prevent this from happening. What I'm trying to accomplish: A. The player should only be allowed to obtain the 10 bonus points the first time they create their character B. Should they return back to the Title/Main Menu, for whatever reason, after distributing said points, the event should restart from the beginning and assume they've never played before since they're clicking New Game, so they shouldn't get an additional 10 points when they reach the character creation process (again) -
making a new game and wanted thoughts on my title i made..
-
So this is going to be a blog chronicling any games my new little creative project make. Right now I am making a game Called Draco Nocturn and it's up to about 40 minutes long(much more to go). Love any feedback. There are familiar songs and things in it and i've had allot of good scripts i'm using. Everyone will be credited in the credits when I finish! Since I'm just one person who doesn't draw or write music...well there ya go. I'm new to this so be gentle. You will need the rpg maker vx ace RTP for this to run. http://www.rpgmakerweb.com/download/run-time-package Here's the link to the current version(any suggestions welcome) http://www.filedropper.com/draconocturn