Level Creator?

lukey5227lukey5227 Member Posts: 111
edited May 2012 in Working with GS (Mac)
Okay, so I had some thoughts about making games. Well, duh, but I mean making levels of games inside your game. Suppose you make a web game. I want to make a level designer where people can easily make levels for themselves and to share.

REMEMBER TO CONSIDER WRITABLE TABLES WHEN THINKING...

My only problem is, how do they share? They won't have the actual game salad file, just the game itself. This means the game has to convert what they did with the level editor to tables (easy with writable tables). The problem is, making something the user can handle and then input later for playing the level.

The main inputs for user in game is: Keyboard and mouse. Clicking or mouse position and typing or key down events. The best choice: typing.

Everything works fine, the number pops into the keyboard input thing, they copy it, somewhere else paste it for construction of the level. The only problem? Gamesalad only goes to 2 billion. This means it can handle digits 2000 digits long. Basically, if it could handle this, I would split it up with division and remainders to find the object type, size, and position. This means each object would be 18 digits long: first 2 is type, next 4 and 4 is position and next 4 and 4 is y and x size.

I attempted arithmetic in in a text attribute with no text, just numbers. IT WORKS!! Except it still only handles numbers up to 2b. <_<

Thats where you come in. Can you think of an easy way for users to get information, possibly post it on a website, and also re-enter it into a keyboard input box?

I wish game salad had string functions... hint hint

Best Answer

  • PhoticsPhotics Posts: 4,172
    edited May 2012 Accepted Answer
    Well, I can't use characters because it can't use any string functions, converting or splitting up text.

    I can't use numbers because it can't deal with numbers bigger than 2b. No text characters, no numbers. What now?
    For some reason, the MegaMan II password system is popping into my mind. Back in the day, we traded saved game states in Metroid and MegaMan II by writing down codes on... PAPER. Heh, I doubt the average gamer today would enjoy such a system.

    Unfortunately, GameSalad apps are a closed sandbox. I don't like it and I think it should change.

Answers

  • jckmcgrawjckmcgraw Member Posts: 647
    I wish I had some input on the subject, but that was over my head. :|
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I think this sort of thing would work with writable tables. But currently HTML5 doesn't support tables. Maybe some day...
  • PhoticsPhotics Member Posts: 4,172
    edited May 2012
    If I'm understanding this correctly, this might be another argument for being able to use POST/GET with the Open URL. Surprisingly, expressions can't be used in the field. The user could then upload the data to a web server. Since it's information being written to the site, there should be some type of login and the server would have to be secured against the upload of malicious data. Basically... the web developer would have to do some work to accept the data from GameSalad.

    However, the trick is then getting that data back into GameSalad. If it's just a code, that information could be cut and pasted back into the game via the Keyboard input. I think it would be better if the app communicated with the server and could download directly.

    I think SciTunes is on the right track too. With writable tables, a level editor could be created.
  • lukey5227lukey5227 Member Posts: 111
    Well, I can't use characters because it can't use any string functions, converting or splitting up text.

    I can't use numbers because it can't deal with numbers bigger than 2b. No text characters, no numbers. What now?
Sign In or Register to comment.