Daggio's Forum Posts

  • I sent you a PM

  • bump this topic to let people know that I'm available for hire!

    I also updated the first post to add some screenshots of projects I've worked with (I still don't know how to display screenshots here, so they're all still in their glorious dropbox link).

    If you need help in your games, let me know!

  • are you looking for construct 2 or 3 games? your title and your post doesn't match.

    and are you gonna buy our finished games? How much are you offering per game?

  • You do not have permission to view this post

  • Thanks a lot for your answers! I'll try to use them in the game when it's time to implement it.

    lamar: honestly, I'm not sure if it's illegal or not since I don't know laws about gambling specifically. I'll keep what you said in mind and ask the client. I hope it's just a case of misunderstanding.

  • This might not be specific to C2 but I still want to ask about it. If a moderator feels this topic fits better elsewhere, please move it.

    So, I'm about to get a deal with a client (if it's a deal) about making a gambling game.

    In this game, the client wants to be able to modify the odds of winning every once in a while (maybe every session, or something else). Imagine a keno where players can pick numbers between 1 and 50, and let's say that I want to make the odds of winning to be 1 in 100. How do I make a random number generator to pick numbers in a mathematical way to ensure that every player playing has a 1% chance of winning.

    thanks.

  • OK, I did some diggin in the forum but from what I read, the answer to my problem is either

    1. It can't be done.

    or

    2. Need to echo a variable off of PHP and retrieve it via ajax

    I just want to explain that first so that people don't tell me to search the forum, but I think my case is a bit different than others because of one thing: the game is gonna be hosted on the client's site.

    so, in the client's site there will be a variable called userid, and this variable is gonna be stored on the site's local storage (in javascript), and the game is going to be hosted on the same site, so the client want this variable to be retrieved by the game (to do stuffs but this time, it's high score post to database).

    so my question is: if the game is hosted on the same site, can I retrieve the site's local storage using construct 2's local storage object?

    any help is appreciated.

  • you can try this:

    create a function that changes gravity, this function takes 1 parameter

    if param(0) is 1 then change gravity

    if param(0) is 2 then revert gravity to normal

    call this function on button q

  • yes, all of those On start of layout triggers are fired on the start of the layout, and I'm sure they all fired at the same time because they are triggers. Triggers don't follow the "top to bottom" rule, the actions in the triggers are read when the event that fired the trigger happen (in this case, start of layout)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, I'll check those sites and let my client know what's wrong. Maybe he can fix it if it's a server issue, because I thought this problem is construct 2's Fault.

  • Okay, so I'm making a game for my client, simple stuffs but they want to have a highscore function. They've managed the server side so I just need to shoot them with some data with AJAX. It's done and working fine, when I tested on desktop it works perfectly, the problem comes when I tested it on mobile.

    It doesn't work, the On complete trigger didn't fire. I thought something is weird so I prepared an On error trigger, but it didn't fire as well. I tried to watch the progress from On progress trigger but still I got nothing <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">. I didn't use intel xdk or anything, I exported the game with HTML5 export.

    And then I tried adding a file to my project and then call that text file from ajax to see if ajax works on mobile or not. With this test, it works. I can receive the data inside the text. So, I'm thinking that it's not the ajax's fault, but maybe it's something from the server. I asked my client but he said he doesn't have any security thing set up (yet).

    So... anybody knows why I can request a project file from Ajax but can't request from a site only from mobile? Any help is appreciated.

    The event sheet can be seen here: https://www.dropbox.com/s/vgqzrxmuojo6i ... 1.png?dl=0

    and the game URL and the game ID combined make this link, you guys can open it to see it's a highscore data: http://gnapigame-143414.appspot.com/_ap ... 1675244544

  • hi carbincopy, I sent something to your inbox

  • I sent something to you, check your inbox

  • agreed, and you should mention whether it's a paid job or not

  • hi, I haven't made a plugin before, but I've a lot of experience making C2 games. I can try making this out, and then we can talk from there, how does it sound?

    cheers,