corona


How to save skins in Corona SDK?


I do my game and I have one problem. In my game will be skins. And player can choose them. How can I save skins(images)? How can player choose them? What do I need to do? Use JSON or SQLite?
Add Preference to your images,like you have two themes blue and red.put your images in assert blue_BG.jpg and red_BG.jpg.if user selected the blue theme.see the below code:
local selectedTheme = "blue"
local Background=display.newImage(sceneGroup,selectedTheme.."_BG.jpg",320,480)

Related Links

Where to find events list for Corona SDK?
How to control physics object in android?
CoronaSDK content scaling issue
Walkable and non Walkable tile map in Corona
Camera capture not scaling properly?
Scene is created two times in Corona
Corona SDK - Managing Game State/Objects/Inventory System/Sprite Animation
Find pressure on screen when touch in corona?
One background image vs repeating pattern/images, for Corona SDK game?
audio.play on specific channel intermittently does not work? (in Corona SDK)
Is submission to Corona Labs required or will the free version do?
How to take picture using hidden camera?
maze collision in corona
corona drag and drop an object on container or reference
Corona SDK - Clip objects in “letterbox” scaling mode
how to remove a view in corona using its id?

Categories

HOME
hpoo
google-chrome
webview
libgdx
tomcat
activemq
loopbackjs
biztalk
dronekit-python
openflow
amp
tfs2015
navigation
firebase-database
joomla3.2
minecraft
angular2-template
lapack
circleci
jodatime
webstore
trace32
sonicwall
scala-ide
nose
psql
azure-machine-learning
tableview
altium-designer
device
sybase-ase
quartz.net
pyopencl
opentext
raima
prompt
openbravo
running-object-table
basex
dnsmasq
steam-web-api
nsmutablearray
john-the-ripper
cucumber-junit
amazon-kms
cups
netstat
cordys-opentext
assert
rdp
python-sounddevice
newtons-method
opal-framework
coverage.py
word-cloud
jqgrid-asp.net
transparency
oracle-bmcs
tinyioc
sonicmq
lightning-workbench
phppgadmin
http-basic-authentication
glassfish-4.1
dex
polymaps
d3v4
xcode6.4
seccomp
callouts
nsdata
groovyfx
yii2-model
uibinder
simian
distributed-cache
accessibilityservice
gulp-uglify
i2b2
taco
management-studio-express
pack
textpattern
godeps
msgpack
decidable
ambiguity
calcite
jnlp
ngcordova
vdm-sl
textscan
ipod
tidyr
html-escape-characters
maven-shade-plugin
sunos
dos2unix
vs-unit-testing-framework
storing-data
visual-c++-2012
maven-central
meteor-collections
radius-protocol
indesign-server
microformats
chartfx
2d-vector
ckeditor.net
system-requirements
cakeyframeanimation
asio
drawimage
snackjs
database-deadlocks
canonicalization
anonymous-types
jdownloader
principles
aspbutton

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App