dazedangels's Recent Forum Activity

  • I have a naked sidebar and I thought it would be fun to put in a magic 8 ball or a wheel that visitors could spin and it gives a fortune or something.

    It's a sliding sidebar.

    Anyone? Can it be done easily?

    Tagged:

  • C3

    I've been at this for 2 days and I'm soooo close.

    I'm using the Persistent Inventory demo

    editor.construct.net

    In the demo they use: StoreItem for the items in the store and InventoryItem for the items seen in the player's inventory.

    The thing is, I have A LOT of images for inventory and ALL the images must be stored in BOTH StoreItem and InventoryItem for that system to work.

    I switched everything over to InventoryItems. I added an object under the Slots (player inventory) to allow drag and drop.

    And I added an object under the Store area (store stock) to disable the drag and drop

    Problem:

    1. Regardless of the category / animation / frame that is tapped in the store stock area, only the first frame from the first animation goes to the player's inventory area.

    2. I can't get the image to spawn in a free slot. They all spawn in the first slot.

    This all did work before I started messing with it, so I can't be too far off.

    This is a copy of what I have thus far.

    drive.google.com/file/d/1MUMNXewy_8jZYvrVjmkutX4dEk6hbEsq/view

    PS: Did a quick reference search and found nothing that read StoreItem - so I deleted StoreItems - no code should have been deleted since nothing was found.

    Thank you.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • I feel rather stupid asking, but I haven't used C3 in a dog's age.

    Any directions on how to actually fix whatever it is that Google wants done?

    Google seems a bit light on directions and though I somewhat remember how to add AdMob to C3, I have a feeling that will probably change also.

    I've gotten as far as opening the game in r401.

    Thanks.

  • I got 15 of these today - and messages from Admob and AdSense.

    And just to top it off - WordPress is updating so literally Every Single Client I have is in a panic.

    Anyone have a solution?

    Thanks.

  • You do not have permission to view this post

  • dop2000,

    Looks like that did it.

    Thanks so much.

  • C3 / Windows 11 / making Android App

    I am SOOO Close!.

    The images are populating the correct area, the frames are scrolling, the device is working ... except for 1 thing.

    When you swipe to scroll the images up and down, wherever frame your finger lands, that frame is selected - not ideal.

    This is a video of the issue: youtube.com/watch

    In real time: ibrained.com/picturespeak

    I think what I need is a Boolean or a variable that reads something like, if slider sprite is moving at speed, set the variable to X (if it's not, Y)

    In this area:

    And then in the area that spawns the frames put: only if Boolean isn't X.

    But I'm just not sure exactly how to implement the variable for the swipe part.

    I've tried various things including 'wait until previous', but nothing seems to be working.

    Thoughts? Advice? Prayers?

    Thanks in advance.

  • lionz

    THANK YOU!!

    I like yours way much better. I need to get more comfortable with loops. I remember in programming glasses forgetting to close my loop and locking up the computer - it made me loop shy.

    Thanks again.

  • This is how far I got, but there are sooo many bugs.

    drive.google.com/file/d/1xXK-Xw7k9yt-QcI25NWb6kvsMw-mpJev/view

    The sprite (StoreItem) has 7 animation (Item_X) and each animation has between 1 and 15 frames.

    If Item_0 has 8 frames (0-7) then that's the number of frames every animation is allotted. If I change Item_0 to 15 frames, all the other animations are allotted 15 frames.

    And even when animation Item_0 has 15 frames, they don't line up right. All the other Item_X line up correctly, but not Item_0

    I can't begin to describe all the things I've tried. I even copied the text and pasted it into ChatGPT and sent it into an endless loop.

  • C3 / Windows 11

    I have 17 animations.

    Each animation has between 5 and 40 frames.

    Depending on which button is tapped or clicked a var is changed triggering an animation.

    When the user taps that button I need all the frames to spawn in a 4 x ? grid.

    4 across and however many down - because setting up with copies of a sprite, each set to a different frame - doesn't work.

    If I don't spawn them, there are other issues with the frame selection. If I have 40 copies of the sprite each with a frame selected and there are 40 frames in the that animation it all works hunky dory. BUT If I click the next button and there are only 10 frames, then I get the 10 frames and then frame 10 is repeated 30 times. Not Ideal.

    BUT then it gets even less ideal. If I click on the first button again - the one with the animation with 40 frames - I get the first 10 frames and the 10th frame repeats itself 30 times. [Mother had no idea there would be days like this!]

    So, I thought, what if I told the program, when button 1 is pressed and var 1 is selected, look at how many frames there are in that animation 1 and spawn a 4 x ? grid of all those frames. And then when button 2 is selected, destroy all those frames and spawn all the frames in animation 2 in a 4 x ? grid.

    After 3 days - I'm rethinking my life choices.

    And just for an added level of difficulty, in the future I want these to scroll vertically. And they can't be random .... dear God - every demo seems to be random.

    Please tell me there is a demo for something like this. I'm not sure how many more brain cells I can spawn.

dazedangels's avatar

dazedangels

Member since 5 Jun, 2019

Twitter
dazedangels has 1 followers

Connect with dazedangels

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies