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

Sound is not working properly in Corona SDK
How can i properly align Arabic text using the Corona SDK?
Can we change physics body properties in runtime - corona sdk
How to slide pages in Corona SDK
Return Data on showwebpopup
How to pause game and display new layer in corona
Corona SDK pathToFile issue
How to integrate fortumo In-App purchase plugin to Corona Sdk game?
How to make the PNG's transparent region not be listened by the EventListener when a touch event happened?
Corona SDK - group with image rect, wrong reference point
CORONA SDK Physics that dont affect every sprite
corona storyboard dispatch event error
Web view Background trasparency
Changing display Image when interacting to other display
Tap on display objects in Corona SDK
Tableviews “slide down” when tapped in Widget 2.0

Categories

HOME
ionic2
macos-sierra
plesk
azure-functions
lambda
apple-push-notifications
yahoo-weather-api
google-sheets-query
tibco
angular-meteor
save
pyresttest
mailing-list
sharepoint-online
game-maker
smooks
powermock
twisted
fosuserbundle
rpmbuild
coroutine
http-authentication
spam
scheduled-tasks
pst
eclipse-emf
exchange-server-2010
ratio
dragula
python-appium
points
ccavenue
bobo-browse.net
matlab-app-designer
source-insight
phpstorm-2016.1
memory-fences
listjs
counting
apptentive
cmis
keyboard-layout
widestring
rdp
plane
uipickerview
optionaldataexception
type-inference
zend-form
ipp-protocol
django-static-precompiler
solr-query-syntax
subforms
lvalue
predicates
rustdoc
instafeedjs
cocoa-bindings
yui3
seccomp
between
gnucash
wicked-pdf
odp.net-managed
okta-api
wif4.5
voronoi
cryptojs
place
bjam
erlog
webproject
python-c-extension
maven-shade-plugin
uno
dos2unix
lifetime
xhprof
mobile-country-code
.htpasswd
sqlbindparameter
refit
xmi
typesafe-stack
mft
xsd2code
virtual-channel
jacob
jquery-lazyload
handshake
idispatch
sfinae
word-frequency
kobold2d
yuidoc
radscheduler
qt-mobility
canonicalization
photo-management
mongrel2
downgrade
active-record-query
multiple-users
fxruby
rakudo
prism-2
regioninfo
rendering-engine

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