I found something amazing!

I sure most GS users already know this but I just found it out.

I have been working on a game for over a month on the PC version of GS and finally got to a point where it was testable on an Iphone, so I did so and guess what??? It doesn't work.

I also tried it on the Mac version of GS that I uploaded from and it doesn't work.

I figured that I must have switched up code on the PC versions before I exported so I went back to the PC and tested and it works fine.

So what I learned is that the PC version and Mac versions don't use the same style of coding logic and I have wasted a bunch of time.

YAY!

Comments

  • artfishartfish Member, PRO Posts: 369
    edited July 2013
    @polimerjones I found something even more amazing! ;)
    http://www.deepblueapps.com/gs-pc-to-mac/
  • TheGabfatherTheGabfather Member Posts: 633
    What do you mean it doesn't work? I switch between PC and Mac and back all the time and it works 95% of the time. The 5% is just some small quirks that you'll find along the way and get used to, enough to avoid committing again (eg. spaces made in Windows must be redone with option+space in Mac).
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I have to applaud your upbeat attitude at finding out you wasted so much of your time. :)

    On a serious note Whats not working? cause I have used the PC and mac versions interchangeably and published games that worked fine. My biggest issue has always been getting something to upload and publish right from the PC version. but one I get over that hump the project still works.
  • polimerjonespolimerjones Member Posts: 50
    @artfish exporting with GS should work fine

    @thegabfather I probably fell into your 5%. But that space thing is interesting.... Do explain more. Currently one of the issues is concatenating table values to display like so... displaytext(tablevalue(table1,1,2)+tablevalue(table1,1,3)+tablevalue(table1,1,3))

    just an example but i use the + to concatenate, is that wrong for mac?

    is there some where i can find other things that don't switch to mac?

    @tenrdrmer I could explain whats not working but it doesn't explain how I coded it so finding the issue would be impossible.

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well first of all its never impossible. it was made by a human it can be found by a human. The only thing making it impossible to find is not trying at all.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Plus is addition you need to use two periods to separate TABLECELLVALUE ( ).. TABLECELLVALUE ( ).. Et
  • polimerjonespolimerjones Member Posts: 50
    edited July 2013
    @fryingbaconstudios + concatenates on PC so i need to switch that. is there any other differences that you know of?

    @tenrdrmer I just meant impossible for you to help find the issue without me giving you the code and only an explanation of what the code does.

    But maybe you guys can help. I am making a tetris style game. (only one square so i dont have to worry about pieces breaking when lines clear)

    the main issue when moving over to mac is that i currently use a actor called "underblock" to move to the right 40 pixels and check if its colliding with any actors

    if colliding to move back if false to have the real actor move to its location.

    this is how i test if it can move left or right.

    it works just fine on pc but when i move it to mac and click the right button the underblock will move right 40 pixels and then just go back like it collided with another actor even if there inst one to collide with
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    I don't use the windows version, wish I could be of more help. Since iOS is the biggest market never really wanted to bother with the windows version. What I would say if you're serious about developing I'd save for a Mac.
  • TheGabfatherTheGabfather Member Posts: 633
    edited July 2013
    The spaces just get buggy when converting from Windows to Mac. I once exported a hefty Table with a lot of Spaces and had to redo them with option+space, otherwise there'd be an Error when reading the Cells' contents.

    I've never used +'s for concatenation in Windows Creator. In C# or other similar programming languages the + should work, but GS' way of concatenation strictly follows how LUA does it (ie ..).

    Anyway switch to two dots now because both versions of Creator recognises it as valid.
Sign In or Register to comment.