rbailey83's Recent Forum Activity

  • Yes, of course you can set the value to some variable.

    Dictionaries are perfect for use together with local storage, because you can easily save and load a lot of information at once.

    If you are saving each variable separately in LocalStorage, you need a million of events to save and retrieve each item. If you are saving a dictionary, you only need a couple of events.

    .

    I also suggest keeping dictionaries not just to store data in local storage, but actually using them in your game. For example, you can have a dictionary GameSettings, with keys like "MusicVolume", "SoundVolume", "Difficulty" etc.

    You don't need to create variables with the same data, just use the dictionary, for example:

    Audio set volume to GameSettings.Get("MusicVolume")

    Awesome thank you. You always seem to be the only one that answers my questions or issues, i feel bad that it's always you but thank you so much for being so active on the forums and helping out, it's appreciated more than you know

  • Dictionaries are actually very simple, much easier to understand than arrays.

    They are like variables, only more flexible. Just add keys and values, for example:

    Key="Coins", value="35"

    Key="Weapon", value="small_sword"

    etc.

    .

    Then save to local storage Dictionary.AsJSON

    To load: Dictionary load from JSON (LocalStorage.LastData)

    .

    I made this demo for some other post:

    https://www.dropbox.com/s/1cz1k5x3teikbv5/DictionaryLocalStorage.capx?dl=0

    So setting the key is like setting the item in local storage can you set the value to a variable instead of a set number or word? I will have to look up some tutorials on dictionaries and learn more

    so I would do say for player gold

    set key "playerGold" to value playerGold?

    I think I am just making it seem more difficult than what it really is lol, I'll have to play around with it and see what I can make it do

  • You should use "System On Load Complete" event or "System On Load Failed" to switch to another layout.

    I couldn't find the option to PM in the new forums setup

    another questions, I am currently using system > save game. I will be uploading to kongregate so I don't want the player to loose all save game if browsing history and cache is deleted. I know I would have to switch my saving to local storage, but it can be a pain doing all the set, get events. Will the dictionary take care of that? I have no idea how to use the dictionary but from what I gather the data can be stored in the dictionary so then would I just have to load the dictionary on start of game and it would load the data?

    I've looked at a few threads/tutorials that talk about dictionary and just find it confusing, is there an easier way other than dictionary?

  • You should use "System On Load Complete" event or "System On Load Failed" to switch to another layout.

    Thank you

  • So was wondering what the best way to go about doing save game data for games meant for kongregate. If my understanding is correct the save game saves in the browser being used. This means that the player has to always play from the same machine and same browser and also means if they clear their history and cache this will delete their saved game data and they'd have to start all over again.

    I would think local storage would be a good alternative but then again they have to play from the same machine, and using the local storage get and set items is a real pain in the butt for everything that you want saved.

    What are the solutions, if any the people have used for games meant for kongregate?

  • When I have it setup to load the save game on game start, and I have a separate screen for the load save game, will it stay on that screen for as long as it takes to get the data? Or do I need to create a delay to allow it time to load the save game data. There isn't much that it's loading so I wouldn't imagine it would take much time, just loading saved variables.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hey I was doing the project in c2 but recently ported it in c3. That's good cause I am more of an artist, but I can't focus on the art cause I'm busy trying to get the programming working!

    Have you done a lot of the programming already or just started it?

  • 8 direction with different weapons. Some weapons can follow mouse some shooting straight. Its supposed to be like Gradius \ Rtype Each ship will have multiple weapons and upgrades. There is 3 different types of Energy pickups you can get "Weapon Energy", "System energy", and "Time module energy". You can slow down the time of the game using the 3rd type of energy. Thinking about making so that if you speed up time you can get more Time energy, not just from pickups. It will have to be tested. Will be able to pause the game to select the upgrades while playing. Id like to make it more so that it will be more random and not just the same enemy spawns from the same spot every time.

    Are you more of a programmer or a artist? If you want to work on it with me Id be happy too. I am wanting to work with someone so that i keep interest and can have someone to relay ideas back and forth with. Do you want to talk through Discord?

    Sounds awesome, I am more of a programmer, I have no artistic skills lol. I am a beginner to construct 2. Sounds like an awesome game. I will load up your discord name. I'm not always on it but hopefully we can catch each other on at the same time.

  • Hey, I already got a side scrolling space shooter started do you want to work together?

    Sure how far are you into it? Are you doing just up and down movements or 8 directional with mouse for aiming and shooting?

  • I have never worked in a team but would like to try working on a project in a team for a top down shooter or side scrolling space shooter if anyone is interested. I know my way around Construct 2 but am no expert. Can do the project in Construct 2 or Construct 3, whatever is decided as best for and by the team. Looking for anyone interested in any area of game development. Respond to this post or send a PM if interested.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
rbailey83's avatar

rbailey83

Member since 22 May, 2017

None one is following rbailey83 yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies