Quantcast
Browsing all 1333 articles
Browse latest View live

Issues creating proper level-unlocking script

I'm creating a level unlocking script based on the MenuLevelLock script used in James Arndt's YT tutorial series. I've already converted his base MenuLevelLock from Javascript to C#; however, I'm...

View Article


PlayerPrefs and colons!

Hey All, I need to ask something, I have this simple script trying to save something if(GUI.Button(Rect(Screen.width/2-125,Screen.height/2+30,125,30), "Save")); {...

View Article


Camera changes position?

I am making a game (fuqing logic). And I'm having a problem: The cameras position changes ca. around 1 to the right side heres a screen shot after and before. ![alt text][1] ![alt text][2] [1]:...

View Article

Secure PlayerPrefs using hash signature

I am trying to create a relatively secure way to store some values in a way that the user will not be able to easily modify manually. The target platform is iOS and possibly Android. My current plan is...

View Article

Highscore script not working from another scene

I was searching the internet and came along a pretty efficient script to record high scores, when i copied and pasted all seemed find and was working, however i essentially needed for the scores to be...

View Article


Is there a need to check saving of PlayerPrefs

I am storing simple user data through PlayerPrefs and I was wondering if there was any need to check that the saved was successful before carrying on? For example: PlayerPrefs.SetInt("KeyName", 10);...

View Article

PlayerPrefs in web player are not the same

According to the [script reference][1], "There is one preference file per Web player URL and the file size is limited to 1 megabyte." I understood this to mean that there was one file on the server. I...

View Article

Saving an int via PlayerPrefs...

I have a value of gold that the player collected stored in an integer. However, how would I save this using PlayerPrefs(in C#)? Thanks in advance!

View Article


Efficient data saving? PlayerPrefs vs. XMLSerialization

Hi I know this subject is highly depending on the individual needs and setups. But I'm wondering what would be the best way of saving data. I couldn't find anything really useful yet. What method is...

View Article


Secure PlayerPrefs in iOS with MD5

I have locally stored data that will be used for leaderboards and needs to be secure. I am using md5 to save a hash with the data and the hash is validated when the data is loaded. For example:...

View Article

Is there a decent tutorial for a local high score table (android)?

Hi, I have a highscore screen in my game. Which when the game ends it displays a simple highscore. What I want to have is a few entries (say 5) eg: 1)john....999 2)bert....982 3)mike....663...

View Article

"If there is no save data" or "If there are no PlayerPrefs"

Is there anyway to code such a thing? I don't want to do an inefficient way of something like: if(!PlayerPrefs.GetString("Transition Slide") && !PlayerPrefs.GetString("Armor") &&...

View Article

Will PlayerPrefs be efficient and allowed if the game is published on Steam?

It would help if you knew about the PC software, Steam before answering. My question is, Can PlayerPrefs be used if you plan to release your game on Steam? Will they be allowed to be used, and are they...

View Article


Saving best time w/playerprefs problem

Hi, I'm making a driving game in which there are 6 zones. Each zone is accessed from the same scene and the high scores and best times are displayed under said zones. This script is on the finish line...

View Article

How to use PlayerPrefs to save the game

I looked around to find out how to use PlayerPrefs to save my game. There are 2 things I want to save. I have a total score (the total score are all the scores of all the played levels. The jscript I...

View Article


Where am I going wrong with these scripts?

Hello I'm trying to create a basic game in which the player runs through a level and is penalised each time they hit an object. Whenever they hit an object their score goes up by 1. Here's the script...

View Article

Is it okay to store many player preferences for mobile?

Hello, I am deploying my game on mobile. I mean both Android and iOS. I have a huge stat list. Lets say it is 100 - 200. Due to the huge stat list, I use Player Preferences for each of those. Now is it...

View Article


Enemy saving multiple defeats

I'm making a turn based RPG and after you defeat an enemy and get experience and money, it sets you back in the overworld. I want it to be like pokemon where after you beat the enemy and you try to...

View Article

How to save a game

I've looked at several articles online in this community and unify and am still clueless. I'm trying to save multiple 2d arrays of x and y coordinates to be accessed later like a save file. This is to...

View Article

PlayerPrefs Scripting Logic Help!

Hello, **I am using JavaScript** I Would like to know if i should (at the end of each level) have a script that looks like this: function OnCollisionEnter () { //CHECK Last loaded level } if (loaded...

View Article
Browsing all 1333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>