Jongf7's Recent Forum Activity

  • To learn myself how to use CS2 I remade my first even game. I created the original in 2001 and that was only playable in DOS. I did a windows remake in 2011 and now an online version in CS2.

    You can play the current build of the game here:

    vejita.clay.io

    I still have some translating to do and include a 'how to play' section.

    I also have a question for you guys. I plan on releasing the game on FaceBook, I already have it running in my developer account.

    The original game is based on the DragonBall Z saga, will this be a problem? Is it better if I change the namens to make this less obvious?

  • Paradox, That makes sense.

    I can make the player stay on screen that way, but it does not solve the problem that you easily click outside of the layout and loose focus :)

    nimos100, that is what I was thinking, but you can not set the mouse coordinates in CS2.

  • In my game you control the player with the mouse. You can only move left and right and shoot.

    So I have code like this:

    Player.y = 400

    Every tick:

    Player.x = mouse.x

    But what a lot of my play testers do in their enthusiasm is move the mouse to far, and thus get out of the layout. When this happens you can no longer shoot or move, witch most of the time lead to death.

    I wanted to fix this by adding code like:

    Every tick:

    Mouse.y = 400

    if mouse.x < 0 mouse.x = 0

    if mouse.x > 640 mouse.x = 640

    But you can't set the mouse coordinates.

    Is there an other way to make sure you don't click outside of the layout?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, that is what I was looking for. The second option sounds very good also, so I'll have a look into that.

  • In my first game I only had one level. There were several layouts in the game (opening cinematic, high score screen etc.), and for each layout I had an event sheet.

    Now for my next game I plan to make several levels, all made out of the same basic components. So I was wondering if it is possible to use one event sheet to control all the level layouts?

  • I have not used pathfinding in CS2 yet, but I think you can try to find a path from inside the castle to a point outside. When the wall is completed you should get some 'no possible path' output from the pathfinder.

  • I have now used Clay.io to get online highscores, works very well and is easy to implement with the tutorials.

    Those highscores also work with Facebook login within Facebook :)

    you can test the game here:

    vejita.clay.io

    It is not really released on facebook yet, mainly because I have to translate a lot to English first.

  • Thanks, I will see if I can find the video's!

    They way I understood it was that the database thing was handled by Facebook. But as said in my opening post, I haven't even come to the score part yet, Facebook gives me problems already when I am only trying to login.

  • Little bump hoping some one who knows what to do will read my post. I Hope that's ok.

  • Ok, thank you, I will try again in a few days. (and i'll try your game as soon as it works again <img src="smileys/smiley1.gif" border="0" align="middle" /> )

  • I uploaded my game to the Scirra Arcade and it bugs when changing layout. When I test the game in C2 or export the game to HTML5 there is no problem at all.

    Any idea as to what might be wrong?

    I can't link to the games (not allowed to place links on this forum), but you can find the arcade as 'challenge of vejita'. And I linked to the HTML5 game in the comments (exact same export).

  • I know there are a lot of Facebook posts already, and I read most of them, but I'm still stuck.

    I followed the Facebook tutorial and have a game running on facebook, no problems so far.

    Now I want to implement Facebook functionality (I want to have Facebook high scores in the future).

    But it fails on the login.

    I use the Facebook program that comes with construct 2 and have the App ID and secret set up.

    Now it shows me the login button and its active (so the object is ready).

    Now when I press the button an almost blank Facebook pup-up comes up, it only has a 'loading wheel'. It disappears again within half a second or so.

    After this the login button is deactivated and nothing happens any more.

    Is this a known problem? And what would be the solution?

    Thanks in advance!

Jongf7's avatar

Jongf7

Member since 24 Oct, 2013

None one is following Jongf7 yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies