aridale's Recent Forum Activity

  • Yesterday I set up a simple php script on my website to retrieve data from a database based on the name input in a simple C2 project. The php uses $_REQUEST so it can take info from either get or post.

    The c2 project is completely simple. 1 textbox 1 button 1 text object 1 AJAX object. Type in the textbox click the button it requests the php page. On AJAX complete it sets the text objects text to the LastData. On AJAX error it does the same thing.

    Cant really get any more simple than that

    On desktop browsers this works perfectly. I can get the correct values from typin the url mself and from the c2 project.

    On my iphone with mobile safari I can get the correct values if I type the url mself but _NOT_ from the c2 project.

    The c2 project always gives the AJAX error event with _NO_ LastData!

    So you can see my question here... How come c2 always gives me an error even tho my php clearly works fine when I enter the url manually? And why is it only on my iphone that its happening?

    EDIT: forgot to mention I also tried the ajaxPOST plugin found in the plugins section. The result is the same as the standard c2 ajax plugin

  • I usually get an email about new releases but never have about new replies to posts. Is that somethin like bein talked about here?

    EDIT: I should mention I havent got an email about r93 release yet

  • if you wanna make 3d games that can be played in a browser then really the best and hands down choice should be Unity

  • this doesnt work on iphone? Ive set up a very simple test that works just fine from my pc but the same thing on my iphone doesnt. The php outputs the field retrieved from the database or the mysql error msg. it works fine on pc (tested with firefox 12) but not on my iphone.

    The php uses $_REQUEST to get the info either from get or post and one the iphone it works if I run the php with the variables in the url but not from the c2 test program.

    Any ideas?

  • Ive got a couple questions Ive been wondering about and decided to see if anyone had the answers!

    First is WebStorage. Where are the files stored and mainly my question is how secure they are. I want to use it for save games (like pretty much everyone Im sure) but how secure is the data? I mean assuming someone wants to find the file isnt it just plain text? If someone edits the file will it still be considered safe to load by the browser?

    I mean whats the point in local storage for saved games if they can just be edited in plain txt?

    Then the new files systems. These files are they downloaded with the rest of the game to be played or are they accessed from the website? Id like to use it for a flat file db system but if its DLed to the client side (where it can be opened and read) thats not gonna work

    Also say you have a text file in the files folder. Can you write to that text file? Can I make a new text file in that folder during runtime then read/write from it?

    if so that can be a really simple form of non local storage.

    Just some stuff Ive been wonderin. Anyone have any ideas?

  • its not workin for me either on FF12. I see the grey txt thats it

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • whatever size you want really. With fullscreen mode and especially fullscreen letterbox mode its not really an issue

  • kinda. Its got very limited/very few ui widgets makin it harder to make like an actual APPLICATION vs a game. But it can be done

  • i agree with ^^^ ive made a playable demo of an nes style game it was fine and i didnt resize anythin from the actual nes sizes

  • I think what youll have to do for tetris to work at all is have a single block object as in 1 block then make it spawn in 4 of those in the shape of the actual game pieces. That way you have an individual object for each block for collisions. Cause I dont think you can make an L shape or the offset 2x2s with the built in collision poly editing

  • recolor no. Theres a plugin to recolor a sprite in js but its prolly not the best solution for constant use

    As for the random piece just use set animation frame -> int(random(0,numframes+1))

    numframes is the number of frames in the animation that holds all the different block shapes

  • Terrato has the best solution for this. Make the object bound to layout as well

aridale's avatar

aridale

Member since 7 Dec, 2011

None one is following aridale yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies