theunreal's Recent Forum Activity

  • Hello.

    I would like to make a game that allows a player to choose different avatars and desing them with hats, suits, pants, etc, with the drag & drop behavior.

    What I need help with:

    • How I can "save" a specific position ( the avatar position ) to the person computer or outpot it to a website URL?

    I mean, when the player finished to design his avatar, he will be able to publish the avatar to my website, but even if i'll find any command that prints the game-screen to the website, it will print the whole screen and not only the avatar.

    How I can do this?

  • One way that could work (I have not tried, just came up with it, so I'm not sure) is to use the Browser plugin to check the domain name on which the game runs. Supposing you know where you're going to host it, you can have an array which contains a list of allowed domains. On layout start, check if the current domain belongs to that list. If it does not, that means the game is stolen, you can do what you feel like: prevent the game from continuing, display a warning message, redirect to your original host, force the browser to close the tab...

    The downside is that you have to plan ahead where it will be hosted. If you want to host it on a new site, you'd have to update the list of domain and recompile.

    Edit: You could have the list of domains in a separate xml file that you'd import with an ajax request, that would be easier to update, but it would defy the purpose, since you would have to host it with your game (no cross domain ajax!), so anyone who grabs your game, will grab this list too and can edit it.

    Thank you very much. It wont be a disadvantage as soon as I already know and i'm hosting my game already.

    My worry is about changing the TEXT url in the .js file from my URL to different site URL. (it easys to CTRL+F and replace).

    This is what I'm trying to prevent..

  • Hello.

    I have put my website URL in my game in order to protect it from people who can just copy the .js file and put it on their website, but I saw that this text URL is very easy to change to any other website and my credit is gone.

    How I can protect my game in this case and make this text unchangeable or anything else that will help me protect my game?

  • set the layout to unbounded scrolling and it should work.

    Thank you very much, It works perfectly!

    It just caused one small problem, This is my workarea:

    <img src="http://s12.postimg.org/xks99pthp/image.png" border="0" />

    And this is when I run the game:

    <img src="http://s12.postimg.org/oe9ymfo99/image.png" border="0" />

    Why is that?

  • I tried, it doesn't seem to be changing anything.. :S

    <img src="http://s7.postimg.org/lqbs9tm8b/image.png" border="0" />

  • Hello.

    My game works like that:

    User has to click thes space button in order to make a sprite goes up.

    Meanwhile, a water background incrases. if the spirit touches the water background, the player loses.

    My problem is that when the user reached with the sprite the top of teh game, it doesn't show the spirite anymore..

    How I can fix it to keep showing the sprite even after reaching the end of the game window? (like icy-tower style)

  • Help please? :S

  • you would want to add bullet to the sprites behaviors and do it like this. you can play with the speed in the events screen.

    https://dl.dropboxusercontent.com/u/68458825/example.capx

    no bullet

    I just need a sprite to incrase its height (get bigger size) each second - I did it with "SET HIEGHT TO HEIGHT + 2" and it works, but it happens only one time after I click " START " instead of each second

  • Hello.

    I want to impelement in my game that the game will start when the user clicks " START " button.

    After the user clicks the button, a spirite will begin to raise it's height by 2 each second.

    This spirit will raise it's height until it touches another spirit.

    I tried to do this, but it raises it's height only one time after clicking the button. <img src="smileys/smiley5.gif" border="0" align="middle" />

    Any help?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Add a condition 'Countdown > 0' in the event for Click Space > Increase by 1

    Thanks works!

    But how do I add an "else"?

  • Hello

    I've been trying to read guides about it but I didnt understand how it works!

    I want to do this thing:

    The goal of my game is that the user need to click as many times as he can on the "space" key, before running out of time.

    When the user clicks starts, the countdown starts from 5 seconds.

    Each space click, the variable "score" increases by 1.

    I have a variable name : "countdown" that decreases by 1 each second.

    After it reached 0, I want to make that it will no more increase the score.

    In other "words:"

    if ($countdown > 0) { Spacebar increases the score! }

    else { Spacebar doesnt! }

  • Hello Everyone!

    My name is Eliran, I'm from Israel.

    I was looking for a game to impelement mini-games to my PHP website, and I accidently found scirra.

    I fell in love with this tool - very awesome software and community!

    I just have to learn more about impelemnting Scirra with PHP and SQL.

    If someone can assist me with this, Let me know!

    Thanks :)

theunreal's avatar

theunreal

Member since 4 Oct, 2013

None one is following theunreal yet!

Connect with theunreal

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies