Home /

mirta_boyce

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • mirta_boyce
    Participant
    in reply to: Would love to create an App like "Stachetastic" #15391

    Thanks, Alex! Yes, a wish is wish! ;D

    mirta_boyce
    Participant
    in reply to: Sprite Sheet problems #12855

    Thanks Alex.I have been through the online document quite a bit. Everything seems to process OK, it just that when it is previewed in the the Corona Simulator it is either zoomed in or not present. In your tutorial, if you could let us know if any changes need to be made to the sheet size and...I also noticed that when a sheet is created in the export, the dimensions change. For example, I might have a sprite created in PS and the dimensions are 45px by 45px. Upon export, the dimensions are 45px by 48px. Which dimensions should we use...the original or the exported upon replacement?Thanks for your efforts and responsiveness!

    mirta_boyce
    Participant
    in reply to: General Questions (First Time KWIK User) #12821

    emailed project.

    mirta_boyce
    Participant
    in reply to: Sprite Sheet problems #12853

    I am in the same boat! I have spent 3 days trying to get a sprite to load properly and work. I watched all the demos, re-read the instructions over and over again. Very frustrating! This needs to be a lot easier rather than replacing…like name the layers_sprite. Here is my 1 page code…all assets are in the build folder properly.-- Code created by Kwik - Copyright: kwiksher.com -- Version: 2.0.1 module(..., package.seeall) function new()     local numPages = 1     local menuGroup = display.newGroup()     local dispose     local _W = 960     local _H = 640     local drawScreen = function()       -- (TOP) External code will render here       local curPage = 1       if (_G.kBookmark == 1) then           local path = system.pathForFile( "book.txt", system.DocumentsDirectory )           local file = io.open( path, "w+" )           file:write ( curPage.."n1" )           io.close( file )       end         if (_G.kAutoPlay > 0) then           local function act_autoPlay (event)             if(curPage < numPages) then                 if(_G.kBidi == false) then                    dispose(); director:changeScene( "page_"..curPage+1, "moveFromRight" )                 else                    dispose(); director:changeScene( "page_"..curPage-1, "moveFromLeft" )                 end              end           end           timerStash.timer_AP = timer.performWithDelay( _G.kAutoPlay*1000, act_autoPlay, 1 )       end         local background        local swishfish        -- background positioning       background = display.newImageRect( imgDir.. "p1_background.png", 960, 640 );       background.x = 480; background.y = 320; background.alpha = 1; background.oldAlpha = 1       menuGroup:insert(background); menuGroup.background = background       -- swishfish positioning       swishfish_options = { width = 23, height = 13, numFrames = 2, sheetContentWidth = 480, sheetContentHeight = 320 };       swishfish_sheet = graphics.newImageSheet( imgDir.. "fish2.png", swishfish_options )       swishfish_seq = { name = "and1348", start = 1, count = 2, time = 1000, loopCount = 0, loopDirection = "forward" };       swishfish = display.newSprite(swishfish_sheet, swishfish_seq )       swishfish:play();       swishfish.x = 400; swishfish.y = 526; swishfish.alpha = 1; swishfish.oldAlpha = 1       menuGroup:insert(swishfish); menuGroup.swishfish = swishfish       -- Group(s) creation       -- (MIDDLE) External code will render here       -- swipe this page with spacer of 120 in normal direction       Gesture.activate( background, {swipeLength=120} )       local function pageSwap (event )         if event.phase == "ended" and event.direction ~= nil then              local wPage = curPage              local direction              if event.direction == "left" and _G.kBidi == false then                wPage = curPage + 1                if wPage > numPages then wPage = curPage end                direction = "moveFromRight"              elseif event.direction == "left" and _G.kBidi == true then                wPage = curPage - 1                if wPage < 1 then wPage = 1 end                direction = "moveFromLeft"              elseif event.direction == "right" and _G.kBidi == true then                wPage = curPage + 1                if wPage > numPages then wPage = curPage end                direction = "moveFromRight"              elseif event.direction == "right" and _G.kBidi == false then                wPage = curPage - 1                if wPage < 1 then wPage = 1 end                direction = "moveFromLeft"              end              if wPage ~= curPage then dispose();               dispose(); director:changeScene("page_"..wPage, direction)             end         end        end       background:addEventListener( Gesture.SWIPE_EVENT, pageSwap )       function cleanSprite()                           swishfish_sheet = nil       end       -- (BOTTOM) External code will render here     end     drawScreen()       function clean()           cleanSprite()       end     dispose = function (event)       cancelAllTimers()     end     return menuGroup end

    mirta_boyce
    Participant
    in reply to: General Questions (First Time KWIK User) #12820

    Alex,I followed everything perfectly and it seems that the sprite I exported using the script either looks blurred or doesn't show up. By blurred I mean that it looks like one part of the sprite has been zoomed in on. I see that the only thing the script exports is a PNG file and it adds some pixels to the image.Do I have to match the image dimensions of the export or the original sprite that I created?Right now, the only things that shows up is the background.Trying to upload the project file but it doesn;t like the path.

    mirta_boyce
    Participant
    in reply to: General Questions (First Time KWIK User) #12818

    Thanks, Alex.I deleted my project from my computer because it kept reverting back to an old project.I also noticed that it had a Drag option from the same previous project that I could not get rid off. I tried to delete it but it would not go away.Can you, in the short term, tell me how I can import a sprite into a project?I am very excited about this!Thanks,J.

Viewing 6 posts - 1 through 6 (of 6 total)

Privacy Preference Center

Strictly Necessary

these coolies are for WP-SpamShield, gdpr-wp, woocommerce, paypal

PHPSESSID, SJECT16, JCS_INENREF, JCS_INENTIM, gdpr, woocommerce_cart_hash, woocommerce_items_in_cart, woocommerce_recently_viewed, wordpress_, wordpress_logged_in_, wordpress_sec_, wordpress_test_cookie, wp_woocommerce_session_, AKDC, akavpau_ppsd

Functionality

WordPress cookie created when auto-saving a post in the editor.

wp-saving-post, wp-settings-, wp-settings-time-

Performance

google analytic

__utma,__utmb,__utmc,__utmz,_ga,_gid,_gat

Advertising