Ribis's Forum Posts

  • Hi all,

    I'm trying to make a player on a layer with parallax 60,60 and put another sprite("camera") on a layer with a parallax 100,100....

    the camera position is the same of player, but when I set the scroll to a "camera sprite" doesn't work well...

    is possible to fix this problem??

    Thank you

  • Hi all,

    This is my second post about this....problem!!!

    I need help for save .json file in my server... like:

    • my app of facebook take the id of the user.

    -the php file will make a folder with the name of ID user.

    • when the user save the game, the php file will make a file and upload and overwrite a file like "save.json" of an array or others...

    Why this? I achieved for save the variable of the user in my database, but for make advance savegame (like object in a level, maps...etc, I can't save on my database..., doesn't make sense, I have to make 1000 rows for every users... )

    nobody need this?

    I think is one of the most important for make a good app or perfect savegame, for example, you can use this for store an information for one of the level, without waste your database...easy and fast, you can save and edit a different position of the tilemap, etc....

    I found this topic "how to save an image" and sounds like more difficult than save .json file...and it is solved...

    https://www.scirra.com/forum/viewtopic.php?f=147&t=113402&p=820834&hilit=upload+file+on+server#p820834

    and why I need the file in the server? because the savegame is accessible in all of the devices and you don't need to worry about the cache... or something like that...

    someone could help me please? I searched in different place but nothing...

    and if I use AJAX, I can send just 2048 characters, so, if I want to POST the "text.Json" in a php, is too small....maybe I'm wrong??

    Thank you all

  • yes, you can use a Boolean, actually for all of my test and project, my character can run, jump, swim...etc and use different weapons, at the same time....with like 40 event (or less)

    I means, if you use just one sprite for you character, you can make a different animation for everythings (mario style...)

    If you would like to make an advance animation, you have to "split" your character in different sprite, like arms, body...etc

    and you can make a "dinamic" animation for everything...for my opinion, the last one is better, but depends....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • is possible to make work with JSON file?

    like, some user make their levels, construct will convert an array in a JSON string, and the php will make a JSON file?

    how work this for the picture? I mean, JSON is a string, AJAXcan send like 2000 characters or something like that... but if my JSON file is big than 2000 characters, how I can send a data to a PHP?

    I don't understand...

  • dl.dropboxusercontent.com/u/5426011/examples20/bitwise_tilemap.capx

    thank you very much, is working perfectly!!

  • nobody know some idea better than mine?

    thanks!!

  • I everybody, I have a big question about how set the tile according to what tile is colliding to another tile?

    it's a little bit confusing to explain for me,

    for example, if I click to one tile, this tile just disappeare (or deleted), but in my case, a would like to make a sort of border...

    this is an example

    if I like to generate a cave, or just remove one tile, I need to change the tile around the new tile...

    so, in this example I made with the mouse, but with a player (like the video) will be different...

    my question is, this is a good idea? it's a little bit complicated if I need to make all of the event like my example...

    someone know another idea?

    thank you very much

  • yes, this is a good question....

    if you need to store only 10/50 values for example (health, coins, levels..) you can use the database...

    but I'm thinking how I can store the array... for example, minecraft has a very big map where the cubes are stored on a JSON file or something like that...

    If I like to make a world map like terraria (2d game) with the tilemap, it's really hard to load and store everything... I means, if the tilemap is 1000x1000 and the tile are 24x24 (so much data...) and the player can edit the single tile (destroy, building...etc) and you have 100 tilemap... every tilemap need 1 JSON file... the problem of save this kind of data, is if someone delete the cache of the computer (there are a lot of software to clean all of the data, or a lot of people do manually) you will lost all of the progress...

    and to store on the database will be impossible... (for the tilemaps)

    so, I'm thinking about to upload the single file, and when the player save, construct2 just upload the file in a specific folder and overwrite the older...

    this is possible... if in the game you make a sort of registration for the user (when a person make a new user, one script in php make a new folder in your server with a name of the user) and when you open your tilemap from the layout (or from external JSON on the website) construct2 can check if exsist the file in a specific folder of the user... if exsist just load this file, if doesn't exisist, load the original...

    doesn't exist a plugin for construct2 to make a sort of uploader and connect in your server (I think is very important to have a plugin like that) but is possible to make everything in php or java and just use AJAX request...I think this method would be the best to store the savegame

    for example, I don't know how construct2 can upload the file JSON (you need to know where construct2 save the data on the local store...but maybe you need the permission of the computer...) but is possible to send with AJAX the array in a single string (crazy I know, the limit of the url is like 2500 characters...) and make a specific script to overwrite the file...

  • Hi, noob here.

    Finally approaching first upload of a game to kongregate...

    It has a series of levels, you unlock them, get stars etc (sound familiar?).

    I've set it to use the system save function, so players can save their progress between sessions.

    My question is this:

    What happens when I update the game with more levels and re-upload it to kongregate as a new version? I'm presuming this is how it works...

    Is the saved instance tied to the version, so they would lose everything and have to start again?

    Any guidance on this would be great, thanks.

    depends how you make the system of the savegame... I suggest to use different savegame from "save" (on system) , like an array or something like this...

    for example, if your save in the database, you know how you can use the information for the game... you need to "study" the method to menage the levels...

    I suggest to think for the final project... if your game has 30 levels, you should think (and if I would like to put new levels on? how I can put in the future?) basically is very easy...

    remember, the save from system can be deleted if someone clean the cache of the browser

  • did you buyed the mac? which one you buyed?

    I will buy the new mac book pro (maybe retina display) on this month...

  • thank you for the reply, but I means, I need the mac just to export my game from (windows) to the iphone to get on itunes...

    I'm asking if this mac is good for this, but maybe yes

  • I have the same problem if I disable the webGL

    If I have the webGL on, I can set everything (scaleIn...etc) and I don't have the seams...

    lol, are you serius?

    construct 2 is the easiest software I've ever used!! If you don't know how use it is your problem, in the forum you can find everythings!

    the problem is other, for make a games you need more skill... if you never program anything or never try to use other software you can't understand!

    if construct2 is difficult for you, you should look the example and try to understand how works! remember, construct2 is a "logic and visual programming"...

    try to make your own script in java, lua or different code and see the difference

    for the exports, in my opinion construct2 is a little bit frustrating (cooconJS...or others platform... ) but we need to wait....

    so, if you don't know how program, construct2 is a good start to you to understand how the Object oriented programming working...

  • I everybody... this is my first off topic of this forum

    I'm ready to get a mac to try and publish an app from construct2 and start to use xCode and study new things....

    I need a suggestion about what mac I should buy to export the app and make a new one with a software of mac....

    I'm thinking about this performance of macBook:

    2,4 GHz intel Core 2Duo

    ram 8GB 1067 Mhz DDR3

    SSD 256 GB

    Will be fine? I use photoshop and other software to make graphics on my computer.... I need mac just to export and try xcode or cocos2d for example...

    thank you very much

  • Ok, now is working on iphone and the GamesCenter open correctly!!

    https://github.com/ludei/Construct-2-plugin/issues/13

    Now, is important to remove the permission of the app and the splashscreen... I'm waiting Ludei.... why they don't make a subscription with $$$ to change the permission and change the splashscreen?