Savestates in Clickteam Fusion 2.5 (Save and load frame position)

Ойындар

This is a quick and easy method for saving a snapshot of your frames. Similar to a save state in an emulator. It will take a snapshot that remembers every position of each object on the frame, their values, and the global values. It only saves the info of basic objects, but with some elbow grease you can get it to work with other objects as well (such as the PMO)
Example File:
www.dropbox.com/s/k7djlcb6ayp...
=Links=
www.clickteam.com - Get Fusion!
/ discord - My discord
www.incompetech.com - Amazing royalty free music
www.inkscape.org - Free SVG software
zentacoproductions@gmail.com - Contact me
If you would like to have your bugs fixed in a video send you mfa file along with an explanation of the problem
to my email address listed above.
=Music=
"DarxieLand" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/b...

Пікірлер: 83

  • @synapse5791
    @synapse57913 жыл бұрын

    bruh this is so good it saves litteraly everything inventory map blocks everything all you have to do is get the generation down

  • @melissalester5140
    @melissalester51407 жыл бұрын

    I am so glad I found your tutorials! Thank you, this helps a lot!

  • @chakan8012
    @chakan80127 жыл бұрын

    thanks , great tutorial , it was much clearer and simpler than others i have seen

  • @joaobernardes4169
    @joaobernardes41695 жыл бұрын

    THANKSS MAN, FINALLY I CAN MAKE MY GIANT GAME!! +1 Subscriber!! You're awesome!

  • @jrag1000

    @jrag1000

    3 жыл бұрын

    Did you make your giant game?

  • @creamyco666

    @creamyco666

    3 жыл бұрын

    @@jrag1000 I guess he didn't

  • @justhuman982
    @justhuman9826 жыл бұрын

    Cool, as always!

  • @marshalldrifter
    @marshalldrifter7 жыл бұрын

    Hi there. Very good tutorial. I always wondered why Clickteam Fusion/MMF2 doesn't have a built-in plugin/object that does all the saving/loading code for you, seeing as how it's a game creation toolkit first. Now, I was wondering if you could perhaps tackle coding a buddy AI that follows the player around and when it spots an enemy, attacks on its own?

  • @rosse119
    @rosse1197 жыл бұрын

    Great tutorial Zentaco, any thoughts on showing people how to create sliding top down car handling similar to Micro Machines?

  • @romancenturion8
    @romancenturion87 жыл бұрын

    How would I make something (like an arrow) that shows the player the direction of the nearest objective (in this case para troopers) that he needs to go to, and how can i make it where it handles multiple paratroopers. I love your videos btw.

  • @lovo3920
    @lovo39207 жыл бұрын

    Hi, can you please make load game tutorial from different frame using this save method? thank you

  • @zippycat

    @zippycat

    5 жыл бұрын

    i want same thing

  • @ollyhasit

    @ollyhasit

    3 жыл бұрын

    @@zippycat me want too

  • @yellowmelow25
    @yellowmelow257 жыл бұрын

    Hey Zentaco, thanks for that awesome tutorial, I have a question: I have a game, and I want to make it so when you press spacebar you go to a menu in a different frame where you can buy different items, and then space bar again to go back to the original frame of the game, how do I make it so that the frame loads or remember where everything was when going back to the game using save and load position??

  • @DJSpecialSauce

    @DJSpecialSauce

    7 жыл бұрын

    Yellowmelow this is the same or me. I cannot figure it out. If you ever figure it out or already have please respond back to me please :).

  • @Tommy_Waltion
    @Tommy_Waltion7 жыл бұрын

    will it work to a counter ? can the save file loaded every open app and save every close or every (timed)? can it save every leaving the frame ? can it load every entering frame, do you know how to bring points from other frame to another frame ? thats all question for now :3

  • @enniottconceptsx
    @enniottconceptsx4 жыл бұрын

    Do you need the Full Version of Clickteamfusio.2.5 to do that or the developer edtion.

  • @DJSpecialSauce
    @DJSpecialSauce7 жыл бұрын

    Hey AlmightyZentaco, I have a question for you. Im trying to make an inventory screen for my game. So when you click I on the keyboard, it takes you to the inventory screen. But my problem is, i cant seem to figure out how to save everything, Monsters, Player, ETC. When you come back into the game after clicking i again, It restarts. I tried following this tutorial but didnt seem to come out with success. I can send you a file of the game if youd like.

  • @sinyogonek
    @sinyogonek Жыл бұрын

    hi! idk if you answer me butt do you know how to save position of the player and load it on the next frame regarding the camera?

  • @patrykandrzejczak3453
    @patrykandrzejczak34535 жыл бұрын

    thx you help me soooooo much

  • @verboxinho
    @verboxinho6 жыл бұрын

    TANK YOU

  • @dynamitegamez3981
    @dynamitegamez39814 жыл бұрын

    How do you do saving and loading like loading to the frame you saved on

  • @epik2244
    @epik22447 жыл бұрын

    Hey! might I ask where the saved file is? So I can delete it :P

  • @theplomper6941
    @theplomper69416 жыл бұрын

    How do I make the menu go to the other frame and the frame is saved?,sorry for my bad English

  • @AshenDemon
    @AshenDemon2 жыл бұрын

    I'm and trying to make a time reverse effect with this. Do you know how I can do that.

  • @antlifeofficial
    @antlifeofficial7 жыл бұрын

    Thx

  • @KenDoStudios
    @KenDoStudios Жыл бұрын

    im trying to find the file extention in my version and on the store. i dont see it.

  • @VerMishelb
    @VerMishelb7 жыл бұрын

    Thx X2

  • @capitalofnorway
    @capitalofnorway Жыл бұрын

    im not sure if i did this right but I tried making an auto save with this and i cant save to anything bc it just says i need to save it to an application position and i cant make a file like that

  • @aaronwise1089
    @aaronwise10893 жыл бұрын

    Let’s say I have a frame number saved and I want to load the frame on the menu screen for my rpg when I click continue, how do I do that?

  • @SparkleFoxGames
    @SparkleFoxGames6 жыл бұрын

    I can use this to make replay?

  • @izeckx
    @izeckx6 жыл бұрын

    Taco, would you recommend using this over ini?

  • @almightyzentaco

    @almightyzentaco

    6 жыл бұрын

    Izeck Well, it breaks if you update your code. Personslly I use ini and array

  • @cleanse
    @cleanse7 жыл бұрын

    Hi! How to make good buttons? I am making a clicker, and its important that system counts every click. I tried to make active object and when user click on that active add one to counter, but when i clicked semi-fast every click didnt count. Same for Bit-Map buttons. Only those white buttons seem to work properly, but those are UGLY. Pleeaase help !!! Thank you!!

  • @MrDanINSANE
    @MrDanINSANE7 жыл бұрын

    Hey there Almighty Zen Taco, Will you make a tutorial for Android that makes the game "remember" (saving) but not sure if it's the same with .ini or a different way based on the Android+ Object. For example: if there is a MAP for the game Levels like Candy Crash that you need to UNLOCK first, but when you close the game and get back to it later on your Android device it will REMEMBER that you already completed levels 1, 2, 3 and you can continue from Level 4 and not all from the start again. Also, it will remember your COINS and SCORE or whatever data Android needs to "remember" even if you closed the application. Sorry for my bad English, I hope you will read this and maybe even make a tutorial in the future, keep up the good job! :)

  • @almightyzentaco

    @almightyzentaco

    7 жыл бұрын

    You can use ini with android, and since most people aren't going to get in and edit their phone files it is a safer method for saving on that platform.

  • @MrDanINSANE

    @MrDanINSANE

    7 жыл бұрын

    Thank you for your kind reply, I really enjoy your content and learning a lot from you. :) Will the Android create the needed .ini files as the game saves into the device and it will read it normally? I'm asking this because I'm very new to the all Android exporter and have no experience with it yet. I think it's mentioned on the forum that the "Android+" object can do a really good job, and safer than .ini but I didn't find any tutorial about it yet Also, what about the Unlock Levels or stuff, any chance you'll make a tutorial of this in the future?

  • @almightyzentaco

    @almightyzentaco

    7 жыл бұрын

    It's been a bit since I worked on android, but I'm pretty sure you just name the file and save and load that name. You should be able to come up with a system that lets you save your entire game on one ini. For example if you wanted to lock and unlock levels you could simply have a variable on the ini that tells the game whether the level is unlocked or not. level_1 = 1 could be an active level, and level_1 = 0 could be a locked level. Obviously this would be somewhat tedius depending on your number of levels. Perhaps you can find a more elegant method. Cheers!

  • @MrDanINSANE

    @MrDanINSANE

    7 жыл бұрын

    Thanks for the fast reply! I will experiment with the ini, I'm still not liking the idea of how hackable it is for people... so I'm trying to learn different ways for global saving, unlocking, resume automatic load and stuff... it's very confusing for a Noob like myself, that's why your video tutorials are very easy to follow and I really appreciate you for this, Thanks!

  • @almightyzentaco

    @almightyzentaco

    7 жыл бұрын

    with ini++ you can encrypt. Also you can set it to just save your ini file deep in the hidden folder of the phone. They would really have to go looking for it.

  • @gaigenikkita
    @gaigenikkita7 жыл бұрын

    I don't know if you might know what i'm talking about, but I need your help. I'm trying to make a game on clickteam fusion and when I defeat a boss, I would like there to be a star in the main menu when the boss is defeated(like a trophy) I have everything made but I just need to know how to make the trophy visible in the main menu after I defeat a boss.

  • @almightyzentaco

    @almightyzentaco

    7 жыл бұрын

    Xlink2002X Use a global value to keep track of whether or not the trophy has been achieved. You should join my discord for better help

  • @gaigenikkita

    @gaigenikkita

    7 жыл бұрын

    almightyzentaco Sure

  • @ig299

    @ig299

    7 жыл бұрын

    can it work on multiple frames?

  • @unpigmented93
    @unpigmented937 жыл бұрын

    Question: will it save ONLY that frame? i don't really want it to save all of the other frames in my application.

  • @aaronwise1089

    @aaronwise1089

    6 жыл бұрын

    Zenny9L I suppose it maybe possible but I am not the correct person to ask, as I do not know how though almightyzentaco might

  • @09lenhathoang19
    @09lenhathoang197 жыл бұрын

    Event Start of frame will not working when i load frame... Can you help me? Sorry for my bad English :((

  • @deadscULLZ
    @deadscULLZ5 жыл бұрын

    3:50

  • @UgaGeguga
    @UgaGeguga3 жыл бұрын

    How to do it without platform movment object?

  • @SawFaceHat
    @SawFaceHat7 жыл бұрын

    can you make a tutorial how to save and load from frame to frame? (like from continue to load and from another frame to save)

  • @WarMachine_Studios

    @WarMachine_Studios

    7 жыл бұрын

    sawfacehat first off, sorry crimsontaco, not trying to hijack lol, but something like that could be done using global values and a counter. put the counter in each frame of your game, have it so that at the start of the frame the counter is set to x, x being which number you choose to give it. then on your continue and save frames, make is so that at certain points in the game, the global equals a value like the counter, and trigger the load to jump to that particular frame. hope that makes sense lol

  • @SawFaceHat

    @SawFaceHat

    7 жыл бұрын

    Matt Thompson thank you very much

  • @WarMachine_Studios

    @WarMachine_Studios

    7 жыл бұрын

    sawfacehat no problem! hope it helps!

  • @EduardoAhumada
    @EduardoAhumada7 жыл бұрын

    I think that the problem with this method is that if I send a new version of an app (with bug corrections for instance), then all the progress saved with this method will vanish, right?

  • @almightyzentaco

    @almightyzentaco

    7 жыл бұрын

    it will probably give an error, yes.

  • @UltimatePerfection

    @UltimatePerfection

    7 жыл бұрын

    Heh, really need to get cracking on that translation thing so I can start figuring extension coding. Have few cool ideas such as improved platform movement thing that would be as easy to use as built-in platform movement but without its problems, advanced collision object (would allow for detecting collisions between two objects with specific sides, at first hitbox-based so only left/top/bottom/right, maybe later polygonal stuff), improved Active Object that is better than default one (e.g. no limitation regarding how many objects there can be in the frame, smart caching of animations so only animations that are needed to be loaded are which would help with games that need large animations with alpha channel) and Save Game object that would save all objects for which it makes sense, including popular extension object such as PMO. For the latter I'd probably make it work even more like a savestate, if I can by saving actual game's memory and then load it back (if I can do it in a reasonable time without too many glitches).

  • @synapse5791
    @synapse57913 жыл бұрын

    Safe And Fun Drinks Drink Stressfully

  • @themultiverse1987
    @themultiverse19875 жыл бұрын

    please help me! I follow this tutorial perfectly but when i start the program it say :"this file has been saved with an incompatible version of the application" :(

  • @deadscULLZ

    @deadscULLZ

    5 жыл бұрын

    Same

  • @deadscULLZ

    @deadscULLZ

    5 жыл бұрын

    Did you figure it out?

  • @synapse5791
    @synapse57913 жыл бұрын

    If you guyz are having problems with the app sayiong that error even after deleteing change the version of the file from 0 to 11 to 2 3 to 4 4 to 5 so on

  • @AK-208
    @AK-2082 жыл бұрын

    "The file was not saved by the application." How to repair this?

  • @Soopytwist
    @Soopytwist7 жыл бұрын

    7:47 Here's where I have a problem. I don't have a platform object in my game. I used David Newton's fast loops platform engine. If I PM you my .mfa, almightyzentaco, could you have a look at a way of implementing your awesome save state function into my game? I'm desperate to get a save game function to work for my game, it's the only thing holding me back releasing it on retro forums.

  • @EquinoxIsometric
    @EquinoxIsometric6 жыл бұрын

    Tnk for code.

  • @forest7026
    @forest70267 жыл бұрын

    hey, i don't have a saveX and SaveY what do i do?

  • @aaronwise1089

    @aaronwise1089

    6 жыл бұрын

    ToxicgamesYT create those variables

  • @VerMishelb
    @VerMishelb7 жыл бұрын

    Oh, i forgot it... Will you make tutorial about pac-man, or tetris, or mineswepper, or pinball, or...

  • @almightyzentaco

    @almightyzentaco

    7 жыл бұрын

    Maybe, maybe, maybe and maybe.

  • @VerMishelb

    @VerMishelb

    7 жыл бұрын

    almightyzentaco OK k k :)

  • @allenwest1986

    @allenwest1986

    7 жыл бұрын

    +almightyzentaco Another cool idea for a video is particle effects following the character and shrinking as they disappear.

  • @richardmohan6307
    @richardmohan63073 жыл бұрын

    This is incredibly confusing. Especially since I am just trying to load the Level the person is on and a few global values...

  • @the2rsnerf367
    @the2rsnerf3674 жыл бұрын

    It doesnt show saveX or saveY :Edit: Nvm i didnt add the values XD

  • @h0meb0ys
    @h0meb0ys4 жыл бұрын

    bmooo

  • @DEVSCBA
    @DEVSCBA3 жыл бұрын

    HEY! My game crash ):

  • @295rodaludom
    @295rodaludom3 жыл бұрын

    make a lemonaide game

  • @the.sammy.
    @the.sammy.3 жыл бұрын

    god i love not saving the project

  • @marshalldrifter
    @marshalldrifter7 жыл бұрын

    Hi there. Very good tutorial. I always wondered why Clickteam Fusion/MMF2 doesn't have a built-in plugin/object that does all the saving/loading code for you, seeing as how it's a game creation toolkit first. Now, I was wondering if you could perhaps tackle coding a buddy AI that follows the player around and when it spots an enemy, attacks on its own?

  • @jrag1000

    @jrag1000

    7 жыл бұрын

    You could use bouncing ball movement, have an active circle follow the NPC and if any enemy is overlapping the circle have your NPC attack, easiest method. There are way more complex ways to do it, such as getting the distance of an enemy but the complication ramps up from there.

  • @marshalldrifter

    @marshalldrifter

    7 жыл бұрын

    Thanks! :)

Келесі