Kyatric's Forum Posts

  • AJAX tutorial

    A topic that will help you

    Another interesting topic

    Alternative offline solution

    Please use the search before asking, else we will get drown in similar topics.

  • As fa as I'm concerned, I can't seem to run your GM HTML5 example in my FireFox 7.0.1.

    It load (I have the loading scrolling bar) but from there the canvas stays all black, nothing is displayed.

    I've tried GM's demos from their official website, their examples work (even if I find they have some heavyness to them, abit like C2 used to have before the improvement to the runtime during FF6 and the release of FF7).

    I know the point of your topic is about Opera, I just thought I'd let you know there might be an issue with your GM's demo.

  • You should check the beginner's guide to C2 and specially page 4 that deals with events.

    This is the base of C2 and what you can relate to as "if" structures. You can also "read" events/conditions as "when".

    The actions are the "then" part.

    You don't need a "do nothing" action, you just don't test it.

    Also "blank condition" is usable, but will act as a "every tick" condition.

  • Create an instance variable "lifespawn" to your bubbles object.

    Either set it to 0 and increment it by 1 every frame/tick until it reaches 120 for example (120 = 2 seconds since the app runs at 60 fps).

    Or either set it to your max value, decrement it by 1 each frame and when it reaches 0 then you know you want to destroy that bubble.

    In one case or another, make a condition Bubbles.lifespawn = End_Value

    + action Bubbles.destroy (this will pick only the bubbles which lifespawn reached their final value).

    This is like the health mechanic in the Beginner's guide, page 6, private instances section

  • So I guess you mean you have a trouble with the preview.

    In the project properties, what is the value of "Preview mode" ? File or HTTP ?

    Try switching between the two seeing if it changes something.

    Also, press Ctlr+J (or the shortcut to see the error console) and see if it raises any error.

    Also this appears more to be a problem with the browser then C2 itself.

    Finally, R61 has just been released. Even if it might not fix your peculiar "bug", it is always good to keep to the last version.

  • I guess you could use the WebStorage plugin, explained here. (The webstorage is already in your install of C2).

    Concerning the Android test apps, did you follow some steps/softwares provided/proposed in the forum/site or did you use your own method ? If the latter, would you mind posting about it, it could be useful to the community.

  • Very nice game with a nice atmosphere and interesting pitch.

    I showed the game to my mother ('cause she's audience target of that kind of games). She's running FireFox 3.6 (scared to update) and so the physics objects had little misbehaviors.

    On the first try for example, the oil bottle ended disapearing in the fire hole. You may want to consider making some fix to prevent that from happening, since apparently, she couldn't have completed the game.

    I tried it on firefox 7.0.1 and all seemed as intended though.

    Nice implanting in the website and very neat overall ambiance. (The music helped a lot)

    I liked the game design itself even if the scrolling might be a little narrow (you really have to be on the left edge of the screen for it to scroll).

    As at first, the natural reaction is to stay away from the flames, it makes it a bit ackward at very first.

    On the other hand, it seems to participate to the ambiance, once finaly you realized your character risks nothing.

    Good job overall and I hope it will help promote the funding of your short film (even if the last "shock comparison" of the pitch is a bit of a cooldown. "I don't support, I'm a nazi" that's a bit strong even if I understand the comparison you make and the angle you took through the enouncing of this pitch).

  • Welcome back Scirra boyz, hope you had a good time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the HTML of your website, place the <canvas> tag that receives your C2 app in the area you pointed out.

    You might want to look at that tutorial.

  • With vidi's capx after two or three times/wrap, the clouds indeed stop wrapping.

    At least it did when I tried his cap in firefox.

  • Ok say you have 10 balls and your gonna throw them 1 at a time into a hole, and to complete the level you need to get 5 of them in the hole.

    So there you go throwing them 1 at a time and after you have thrown 9 balls you have got 4 in the hole so you need to get the last one in,

    and in your code you have if Ball = 0 and Score < 5 then it's game over,

    and if Ball = 0 and Score => 5 the you won.

    What happens is as soon as you throw the last ball, the ball count variable is now 0 so it's game over, BUT your ball is still bouncing around and may go in the hole, so you need this to be game over after the balls stop moving

    I think this is related to this game.

    Depending on how you coded the game, you might use the wait action (like once you fired the last ball (ball=0) wait 10 secs before checking Score).

  • Pretty cool idea.

    For your balls, I'd suggest you to set the "Collision mask" (Physics Behavior in the properties tab) to "Circle" instead of "Use collision polygon", this would get closer to what you call "pixel perfect".

    Edit: Oh yeah, I didn't hear sounds or music either (FireFox)

  • Expressions

    Sprite.Physics.VelocityX (The X component of the object's speed in pixel per second)

    Sprite.Physics.VelocityY (The Y component of the object's speed in pixel per second)

  • Would you please rather use DropBox (easier for those who don't speak polish) and provide a capx (save as single file in C2).

  • http://dl.dropbox.com/u/36472942/construct/forumhelp/Sprite-MoveForward-Angles.capx

    This capx works for N�2 solution.

    As long as you simulate a "press right" for the 8dir behavior, your sprite will go right, whatever its angle is.

    The solution there is the action "move forward".