Kyatric's Recent Forum Activity

  • This is kind of out of the scope of this forum, since Apache and PHP have abundant ressources all over the web to learn from.

    I'd say you should have a "www" folder in your apache directory and this is where you should have a jax.php file containing your code.

    This is how you'll be able to access "http://localhost/jax.php?whatever".

    Check the How do I FAQ there are several examples treating about AJAX and PHP in the "AJAX" section, but for beginner documentation about having a local webserver and how to write correct PHP, you should make a search on google and learn from there.

  • Could be fun. Might join in, if schedule and theme are right

    lucid: Would be the perfect opportunity to have an update on the kickstarter by monday to show how a game made with Spriter could look like <img src="smileys/smiley4.gif" border="0" align="middle" />

    If the theme inspires me, I might participate too.

    I'll be in #construct channel anyway. It would be nice indeed if participants would connect and have chat/support in there.

  • There's a way to do so with the families feature (licensed version).

    I haven't yet tested how to, and I don't recall having seen documentation about this yet, but it should be easy enough.

    That's what Ashley has implemented, as closer to the class system of coding language, in C2 I think.

    There are other possibilities to do so anyway, they require more events/setup though.

    Generaly I'd advise to use an array, store the values/characteristics of your "class" there and apply those values to newly created instance "Enemy" making it of said class on creation.

    I made this commented capx some time ago to answer a similar question.

    It's not the exact principle of class as in coding language, but it does the trick "C2's way" I think.

    Hope it can be useful to you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • vee41: Good points too.

    I'm not sure the community on steam can be qualified as casual (but there is a potential debate on the term casual that isn't really the point of the topic).

    But indeed, steam represents a large audience and tools to marketize.

    To temper my previous post, what really bothers me is some people expecting/talking about a steam integration for C2 like "the end of all pains".

    At least I believe that's how they see it. And it is the case one has to be aware that steam isn't the ultimate answer.

    You still have to struggle for visibility amongst thousand of other products. And you can't really customize/tune the appearance/package of your game to your liking (all games are displayed the same in the steam shop).

    I agree it's tricky/hard to get people to your website (though it can be done).

    The advantage is that once the user visits your website, "you won", you're not fighting for visibility, you're all there.

    The user doesn't have to watch a video or screenshot, or download a huge client/soft, install it, configure/execute it.

    With your HTML5 game, he just goes to the page of your game and once the download is done, he's playing. And also, as the application can be made offline, he won't download it again next time he comes to the page.

    I'm OK to have a potential steam integration (also keeping in mind that Steam does not make its API public, if your game is accepted on their platform, than you have access to the documentation of the API, so a plugin that potentialy could exist in any sold copies of C2 is unlikely due to Steam's policy itself), but I do not see it as anything critical or required to monetize right now.

    It's another possibility/tool, not an end in itself.

  • Event 13, replace "System every tick" by "Enemy1 is zoned" (is boolean set) helps with picking only the zoned enemy and so you're only followed by enemies at range.

    As soon as the enemy is not in your range anymore, it stops.

    Event 18 add also a "Enemy1 is zoned".

    <img src="http://dl.dropbox.com/u/36472942/construct/forumhelp/EnemiesRange.JPG" border="0">

    The problem here was about picking, picking only the correct instances and that's the backbone of C2.

    Check the How do I FAQ and check the section "Picking/Selecting instances" and review the items listed there.

    The threads contains all the explanations one might require about picking.

  • It's strange, actions like "wait" or conditions like "every X seconds" are supposed to run the same on any computer.

    Also maintaining up to date computers is a must-do to be able to play the games in the best conditions.

    As tedious as it is, any computer user should be taught how to do it and have the good habit to update its drivers regulary.

    Finaly maybe having a read at this tutorial about frame rate independence might help and see if it's not other actions that in fact are not framerate independent the way you did them.

    Like if you have an action :

    Set sprite's Y to Sprite.Y + 100 then yes, on different CPUs, the movement will be different, especialy if this action is executed every tick.

  • Developers might need to switch focus from retailers to players.

    I see a lot of ppl aiming for steam, or desustra, or whatever.

    When actually HTML5's strength is that you can fully intricate your game within your website, and manage players and monetization from here.

    Consider the platform you're using first. Then you'll find the best ways to monetize according to said platform.

    A C2 game in steam... I honstely don't really see the point.

    From a new player's perspective, it would require the user to download steam, make a steam account, download your wrapped game, and then play.

    Now consider your game is on your website.

    The new player arrives on your website with an up to date/recent browser, loads the part of the game you allowed him to play, plays it.

    From there, you can ask him to give money, to register on the website to play more, and eventualy in the future your other games, etc...

    Steam is by no mean a end in itself. it's good for "old business model".

    HTML5 can allow us to use a different business model that still appeals to the player and still makes money.

  • revondage: post a new topic in the forum.

    This very topic is not supposed to handle questions

    <center><font size="6"><font color=red>Any question in this topic will purely be deleted.

    This is the only warning.</font></font></center>

    As you can see in the first post.

    So far, I haven't deleted any question, because most are legitimate.

    Also concerning your issue, there are already items listed that allow you to swap between different sprites which have different behaviors.

    In the "platformer" section, look how it is done to swap from platformer to physic behavior.

    Once you understand how it is done, you can basicly achieve the same thing with any sprite and any behavior.

    The list is there for you to consult, please do so.

  • Event 10 => Load XML document from string AJAX.LastData

  • You did not post a capx, so hard to look at anything.

    Nevertheless from what you describe, you have an event with a condition PHealth <= 0.

    When this event executes it acts on the values of some variables.

    You say you reset Health to 10.

    But the variable PHealth is still <= 0. So the next tick, when C2 test this condition, it will be true again and so the event executes again, etc...

    What you need is, in this very event, to set PHealth to a different value than 0. As last action, set PHealth to 10 and you'll be sure that the very tick the event executes since its condition is true, an action makes it so that the next tick the condition will be false and the event won't execute again.

  • That's strange. Did you uninstall the previous version when installing the r86 ?

    By the way, r87 has been released since it should even work better.

    I've just tried opening the capx and got no error, there's an issue on your end.

    Make sure to uninstall all copies of C2 and install the very latest release r87.

    Install it, download the capx again, open it.

    If you're still obtaining check failures and errors, be sure to make screenshots/read the content of the error messages as it gives informations on what may go wrong.

    Anyway, Layout :

    <center><img src="http://dl.dropbox.com/u/36472942/construct/forumhelp/RandomMath_Layout.JPG" border="0"></center>

    Event sheet + objects :

    <center><img src="http://dl.dropbox.com/u/36472942/construct/forumhelp/RandomMath_Events_objects.JPG" border="0"></center>

    Group "MakeQuestion" expanded :

    <center><img src="http://dl.dropbox.com/u/36472942/construct/forumhelp/RandomMaths_GroupQuestion.JPG" border="0"></center>

  • Adding sprite's instances that are the visual representation of the shadows and are pinned/positionned to the character/element's position.

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,405 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs