Scene attirbutes

ulisseulisse Member Posts: 25
edited November -1 in Working with GS (Mac)
Can I access and modify scene attributes? I need to manually set the camera position during the game but cannot find how to have access to the attributes

Comments

  • PhoticsPhotics Member Posts: 4,172
    ulisse said:
    Can I access and modify scene attributes? I need to manually set the camera position during the game but cannot find how to have access to the attributes

    Well, you have to edit the actor directly on the scene (edit prototype) to get access to the scene attributes.

    The The Unofficial GameSalad Textbook might help you too. I think it has a good explanation of working with scene attributes.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You have to do this from an actor once it's already in a scene.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    damn you beat me to it. Photics whats your email i figured out a way to set prototype to modify scene attribute if you would like to test and add it to your book.
  • PhoticsPhotics Member Posts: 4,172
    tenrdrmer said:
    damn you beat me to it. Photics whats your email i figured out a way to set prototype to modify scene attribute if you would like to test and add it to your book.

    You can cut and paste from an instance and drop that in the prototype. I think that's in the book already.
  • PhoticsPhotics Member Posts: 4,172
    tshirtbooth said:
    Photics, do you have paypal? i wanna check out the math section of your book but i dont use google check out.

    I don't have Paypal. Even though I'm very grumpy with Google overall, Google Checkout is amazing. It's great!

    Do you want to mail an international money order instead?
  • Rob2Rob2 Member Posts: 2,402
    or set up your behavior in an unlocked actor instance and save to my behaviors then drop into a prototype.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Im in exactly the same situation as tshirt, wanna purchase but i never get round to looking at google checkouts! Just use paypal god damn it ;)
  • PhoticsPhotics Member Posts: 4,172
    tshirtbooth said:
    Bah!!! that takes to much time :) maybe ill check out google later today

    That's good to know! Are you going to make it to the GameSalad event at New York?
    beefy_clyro said:
    Im in exactly the same situation as tshirt, wanna purchase but i never get round to looking at google checkouts!

    Google Checkout has been working great. I haven't heard any complaints from those that used it to buy the book. The only issue was South Korea. It doesn't seem to work from there.

    Plus, if you've ever get into Android Market development, it's good to have a Google Checkout account.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Add paypal as an option Photics and you'll have another $40 right here ;)
  • PhoticsPhotics Member Posts: 4,172
    I don't remember exactly why, but I canceled my PayPal account many years ago. So, I decided to review PayPal again. First, the site is terribly complicated...Personal, Premier, Business... which one do I pick? I'm not sure. (I know it's not Personal, but I'm not sure if Premier or Business is better.)

    I tried using their help section. It's far from encouraging when you get errors using their search bar or clicking on hyperlinks.

    I stayed determined. I kept researching PayPal. A quick $40 is nice, but I'm seeing an issue with sales tax. It wasn't clear to me if PayPal calculates the rates based on location within New York State. Photics is a registered business in New York. With online purchases, I have to collect sales tax based on the customer's location in New York State. It's quite complicated and it's very important to get it right. If something gets messed up, refiling after the deadline can wipe out that $40 real quick.

    I'm not a big fan of Google, but I think Google Checkout is really good.

    Even though more people may use PayPal, the book is geared towards mobile development. The Android Market and Google Checkout are closely related.
  • PhoticsPhotics Member Posts: 4,172
    tshirtbooth said:
    ok how about 3 tshirts from tshirtbooth.com :)

    I've considered your offer. While the value of three t-shirts (as listed on tshirtbooth.com) is greater than the value of the book, I don't really have much use for the shirts.

    What's the hesitation to use Google Checkout? Is it contempt for Google?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Photics said:
    You can cut and paste from an instance and drop that in the prototype. I think that's in the book already.

    Rob2 said:
    or set up your behavior in an unlocked actor instance and save to my behaviors then drop into a prototype.

    How the hell is it, that i asked how to do this not even a month a go and all i got was i cant but after i figure it out everyone magically knows.
    http://gamesalad.com/forums/topic.php?id=9242#post-66142
    I'm not actually bitter i just find it ironic. LOL
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    BTW I did the saving to my behavior route.
  • PhoticsPhotics Member Posts: 4,172
    tenrdrmer said:
    i asked how to do this not even a month a go and all i got was i cant but after i figure it out everyone magically knows.

    About a month ago, I released my book. Just before that, I wasn't posting on the forums. I was busy working on the book. While I like the GameSalad forums, it's a huge distraction. By not posting here, I was able to stay focused and get my book done.
    tshirtbooth said:
    No i like google its the stupid setup of adding the bank account , waiting for there little deposit numbers to verify the account and then send money to google from my back. Its just a long process. I don't use credit cards on line so the banking thing is my only option. Also i already have paypal so its just soooo much easier for me.

    Oh, that is annoying. On the bright side, it seems that you get to keep the money they send you to verify your bank account...

    http://photics.com/google-and-the-mystery-of-the-penny

    I don't know if that policy has changed, but that's what happened when I verified my account.
  • ulisseulisse Member Posts: 25
    Thanks for the help, but looks like something is still missing.
    I have a simple rule saying that if the camera.origin.X is between certain values then it has to update with the player position.X
    However when in game if player moves to a certain speed the camera is really slow following him at a very reduced speed.
    Do I need to update something else?
  • ulisseulisse Member Posts: 25
    Opsss.....it's my fault
    I had a problem with the other variables
  • ulisseulisse Member Posts: 25
    humm....why doesn't the Camera.Origin.Y really changes as I change it? (camera doesn't move vertically)
Sign In or Register to comment.