Ribis's Recent Forum Activity

  • Its possible to add the facebook cloud save feature?

    what do you mean with "facebook cloud save feature"? I couldn't find anything about that... if I can make in php yes

  • Sounds great Ribis!!

    Wait... I do not exactly understand what this does?

    If you do not need to login (to facebook) when starting the app, but the app can post highscores and have facebook profile data? From which user does it sends the highscores?

    Do you have any tutorial, demo, manual or something?

    I was making a manual that I almost finish...

    You will play the game inside the canvas of facebook (canvas app) like farmville or some game like that... (or in your website)

    the problems of the facebook plugins of construct2 (or similar) are that, when you start the application, and after the app is loaded (after the construct2 loading) you have to click a button to get the permission of the app,and sometimes you have to reclick or refresh the page... also, with the plugin you have to make all of the event in contruct2 and that's sound a little bit complicated... because if you want like hi-score of your friends , achievements...etc you have to make a lot of call with the plugin.

    With my method, when you go to the app of facebook, at the start (before the game) the user accept the permission (just one time) and later, will load the game like all app and while the game is loading, the app has already al data you need for making your game because I did all in php outside from contruct2.

    you can get your profile inside construct2 and you can use for save in a database ( I made a script that do everything outside of contruct2) and you can get the hiscore of your friends who use the same app (or all scores from the users facebook, but you need a database for that)

    also the hi-score if I remember is posted in the games feed like game achievements etc....

    example:

    in candycrush, you can see in what level your friend is, I can do the same, but for these things I have to make a specific script for your game, or explain what you have to do...I can use the facebook data for making your game better, for the game I already make : score, achievements, story (if for example a user find some object in the game, the game will post in the gamesfeed the story) like in candycrush when the user do a special combination and you can see in the gamesfeed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • UPDATE*

    If someone want to integrate the app with facebook with the last SDK, tell me in PM. (no plugin, just use AJAX plugin)

    Remember, the app doesn't need any button to get login and get the data, when the user open the app and accept the permission, everything will be loaded at the start of the app.

    and if someone want some request, post here in the topic, for now, I made:

    -get the user information and save inside your database ( good if you want to save some variable inside the database and get in the game when the user is logged inside the game with the fb profile)

    -post score and get friends score.

    -post achievement (and post in games feed ) and get the achievement already unlocked.

    -send notification to a friends.

    • the data that you will get is ready to go, you don't need extra event inside construct2, I made in php a script that will make an array for c2 ready to load inside an array, with a few event with just 1 REQUEST in ajax you will load everythings. (like, score array, user array, achievement array (locked/unlocked)...etc)

    -NEW* an app can access to your page and check the likes, reaction for a post in realtime and other stuff.

    what you need is a website with the SSL to work.

  • you can make a script in PHP that you will send the JSON data with the POST in AJAX, and a script in PHP that take the value and build the file .json where you want in the server...

    try to find on internet "make .txt/json file in php"

    this works for me very well, I don't know if there is a method to upload directly the file, I mean, save on the cache and after send the file to a specific folder, but I think is more safe with the first method

  • why do you want to use a fake ip if you can use the real one?

    is simple very simple in php:

    echo $_SERVER['REMOTE_ADDR'];[/code:1mqiodbj]
    
    or
    
    [code:1mqiodbj]function getUserIP()
    {
        $client  = @$_SERVER['HTTP_CLIENT_IP'];
        $forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
        $remote  = $_SERVER['REMOTE_ADDR'];
    
        if(filter_var($client, FILTER_VALIDATE_IP))
        {
            $ip = $client;
        }
        elseif(filter_var($forward, FILTER_VALIDATE_IP))
        {
            $ip = $forward;
        }
        else
        {
            $ip = $remote;
        }
    
        return $ip;
    }
    
    $user_ip = getUserIP();
    
    echo $user_ip;[/code:1mqiodbj]
    
    you have just to use ajax
  • hello, i´m realy new at this program. I wonder if I can make a game where at one point it asks a question to the player to continue, a trivia question. i ithink it call quiz game. I hope you understand my question sory for my bad english

    thanks!

    using construct2 is very simple, the problem would be how to menage the different data (questions, player, etc...) it's not very hard if you know PHP, AJAX, mySQL...etc... you will use construct2 just for "preview" the game, the most code will be in php for example...

    for example, you can make different json file with 300 question, and when a player play, the game will pick random json and take the questions... if you wanna make vs another player online, you have to store the data in your server and send the request to a specific user with a database or something like that, is not impossible but the most work would be outside of c2

  • Ribis Because it's a totally impractical workflow. You shouldn't have to do a bunch of exporting & importing with extra files and 3rd party software just to modify one single tilemap. On top of that, you lose all reference to your other objects and tilemaps in the layout when you bring one over to Tiled for editing.

    Imagine if you had to do this with Photoshop. Say you're working on something with 4 different layers but Photoshop doesn't support scaling so you have to select the layer, export it to a new file, open up a 3rd party tool, import the file, scale up the image with no reference to the other layers, export that file, go back to photoshop to import the file, then repeat for each layer. That would be completely unacceptable...yet for some reason people think it's fine here.

    when I was using tiled for making one level with 5 layers with 5 different tilemap, I was making all of the map with tiled, and when I finished the map, I just export and import inside construct2... the workflow was faster than use construct2 for making map... I don't like to make map inside construct2... in my opinion is better to use a specific software to do the works... when I have to make an animation I use different software than construct2 (you can use construct for making animation, there is any problem) but with another software is better... anyway it depends how the game is...

    (anyway is just an import, you can setup everything in tiled and after that you can import the map with the tilemap inside construct2)

  • Ruskul I know man. We have 10+ very large 8x8-tile-based levels to build and it's incredibly tedious without being able to right-click + drag to copy/pickup numerous tiles. This one little feature will save us a whooooole lot of time and trouble.

    Anyway, to pick up a single tile right now you hold shift then right click.

    C2 has lots of "hidden" hotkeys like this. Not sure how many are in the manual though; I haven't had to read it in a long time.

    Tokinsom

    why you don't use tiled? it's a free software that can allow you to make a map very easly (copy a portion of map ...etc) and later you can import in contrusct2 with the map done...

  • I wouldn't say a degree is required - I don't have one (in software/computers) It may well help you get a job if you have a degree, but I don't think people should say it's required, since that could put some people off even trying. The most relevant thing to have is experience in the field you want a job in.

    I think the same... I get 2 job without any degree (web development/web designer, graphic designer) but I have a great portfolio that 2 different company choose me and not others (some people with degree)

    I think, the best way to learn is to understand the syntax of the language and get some example... start from the easy one, and go for it... so, read a book o follow some tutorial to undestand the logic of a language and start with different example

    when I was 14/16 I learned to make website in flash like this... I was downloading example (like 1000) and use example in my project, you can do it here in construct2 and in all engine... the most important thing is to understand how you can solve problem with your logic...and how you can use the example that you download for your project.

    When I start to use Construct2 for example, I learned advance script in php... I read very very small part of the construct2 manual and I made advance game (never published )

    Construct2 is not for BIG game but you can make donkey kong country (that i did) and some advance game... and when you have the logic to make a game, you can change engine and use the same logic (or almost) to make in different language

  • The first thing you should check is what Chrome says at chrome://gpu.

    Ashley

    I will check later when I'm home... I will make a test to see the difference between chrome and edge...

    but I'm sure edge is much better than chrome... first thing you can see in debugging mode of construct2... edge doesn't have any lag...chrome could run like 2-20fps and that make impossible to test a game...

    anyway sounds strange, I repeat, same projects, different fps in 1 year... but not a small difference, 20-30 fps is a big difference...I'm sure there is something that make this lag in chrome

  • yes but here there is a big problem...

    the same project that I posted before, was running 60fps in chrome 1 year ago (you can see in the video, run 60fps while I was recording the screen!), now I don't know why, the same project in chrome run 30-50 fps... maybe they change something in the new version of chrome? that sounds strange... or maybe construct2? I dont think so... I don't know why there is this big difference...should be some bug or some issue in performance... and the fps in construct2 are very important, because if the game run 30-50 fps when you play the game you see a lot of lag, also if run 50fps, because chrome change everytime the fps without any reason...

    someone noticed that? or I am the only one?

    after 1 years the performance should be better...

    In debug mode, chrome is awful. At least the end product should not be this bad. It runs better in the profile mode of the debugger. Nonetheless, edge seems faster when not using the debugger.

    edge in the debug mode of construct2 run 60fps without any lag! so, chrome really sucks... chrome with the debug run 2-20 fps and that is ridiculous (and that was before too)

  • Hey everyone!

    I'm curious as to how people make 2D game Sprite Sheet Animations.

    I make mine like this (After 4 days of mistakes :'( )

    Step 1) Create all the characters animations

    Step 2) Export all the animations at the LARGEST sized Box frame (ETC: If I have 12 animations and the largest frame in any of those animations for that ONE charecter is 120 X 300, even if I have idle at 100 X 90 I will export the IDLE frame at 120 X 300 so that when i cut the sprite sheets in the C2 I can set the image point to the middle automatically for all of them, and my charecter doesn't "snip/Glitch/Jump" between frames or different animations)

    How do you guys do it?

    same here, I don't think there is any problem about performance because when you export the projects construct2 make a single (or more) picture with the frames...

    another method you can do the animation with spriter, like in unity... the animation are much better but depends how your projects is setup...

Ribis's avatar

Ribis

Member since 22 Oct, 2012

None one is following Ribis yet!

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies