LeuNoeleeste's Forum Posts

  • Hello guys,

    the little game I'm working on for weeks now is gradually advancing, everything is smooth but...I'm curious about one thing and I would like to have some informations. The project has only one event sheet for now, with almost 400 events organized by groups (sounds, animations, ennemies, movements, pick - throw - drop). It's not a problem.

    But for how long ? I'm maybe wrong, but using only one event sheet for a whole game seems...unbalanced. I know we can use several sheets and even use a sheet in another sheet, but I don't need to proceed like that for the moment (and I don't really know in which case it's useful by the way, I guess I'll find it by myself). So, the question is :

    Is it really possible to create a "complexe" game with only one event sheet ? And it's ok for the performances ?

    If the answer is "yes" I suppose it's absolutely not recommended, right ?

    I feel like it's a dumb question, but I need to know that, before continuing anything.

  • Glad to see an answer from you, r0j0hound. First of all, I knew your example (something about Newton and stuff) because I had watched the whole topic after the download of the plugin. Very instructive, and I tried to use a spring too, but finally it appears that I prefer the "aerial" movements and rotations of the cube when using a pivot. Thanks for the suggestion thought !

    [quote:12xsepse]set a max force for the joint. By default a force up to infinity can be exerted on the objects to make the joints match. By setting it lower it would make the joint more relaxed and keep it from pulling into another object.

    Good idea, and it works perfectly. By the way, you did a very great work on this plugin, the beast is really useful and powerful. Once again, thank you, for the help, and for your work !

  • Greetings fellow Constructors !

    I just finished my own drag & drop system because the one included in C2 isn't really receptive with any physical behavior (as far as I know, at least). I worked with Chipmunk plugin to be able to use better joins. Everything is functional, I get the results I wanted. Still, I have to stabilize one or two things, especially...a collision issue. Original, huh ?

    So, as I said, it's a drag & drop system. Everything is under Chipmunk physic, my system uses its joints (it's basically a pivot joint between the cursor and the imagepoint X of the cube). We have a cube on the ground, the user can drag and throw the cube away with the cursor without restriction. BUT. If I use revolute join with usual physic, everything is ok. However, with Chipmunk...I can "force" the draged object IN the ground or the walls or any immovable sprite.

    As you may understand, it should stop ! The cube should stay stuck against the surface and that's it. Absolutely not pass through it with a very odd behavior. I wonder if you guys have any suggestion to fix this problem. I'm working on some events supposed to destroy the pivot joint when the object is overlapping another one...but for now, "overlapping" includes "on the ground" so my drag & drop system doesn't even work anymore because we can't drag the cube as it's placed on the ground...

    Any help/advices will be appreciated !

  • What the heck I had deleted my previous post because I finally find how to use your alternative ! And the post is still here. Kay.

    Anyway, it works perfectly, thank you ! And f*** DropBox then.

    Good evening =)

  • I tried BitBalloon but they say that my site doesn't have index.html...which is false, it has. How do we have to proceed exactly ? I export my project, compress it and drag it in BitBalloon or just the index.html or just a zip with the index inside only...(I tried everything without any result by the way, I suppose I didn't understand how it works)

  • [quote:fmgho3hx]Does the microsoft browser work?

    Besides addons you'll have to look in your browser's settings to see if javascript is disabled. By default it wouldn't be disabled, so presumably your friend disabled it, or some antivirus/security software he uses disabled it.

    As an example for chrome I found it under settings->advanced settings->context settings...

    In the javascript section there are settings to disable it completely or block or allow certain sites.

    He (and I) can't run the index.html I uploaded on DropBox but we can both play any Javascript games anywhere on the net ! The problem is not from our browser I guess. So I'm still lost, and my friend still can't try what I want him to try

    [quote:fmgho3hx]Is dropbox secure for a website that offers free online HTML5 games for desktops and tablets?

    I think it is, anyway, if we can't use it, what can we use to send (easily) demos of our games ?

  • Thanks ! I'll take note. I'll wait for other's opinions too !

    [quote:1686wrsg]You just make objects and you should reuse them as often as possible.

    Yeah don't worry I know ! This is just another difficulty to cover another extreme situation. Just a Test !

  • Hello guys ! You've probably heard of Dolly, a beautiful little indie game available recently (otherwise, you should). As an amateur working on a platform game, I wonder how can I have something like that on C2 with some physic in it, and I'm curious to hear your opinions about that, and your opinions about my opinion. Indeed, this one involves (eventually) some memory issues, and as we know, memory is sacred.

    More precisions. Here's a pic from the game, we'll use it as our example for this whole topic.

    Now some statements :

    • Everything on the Foreground is physic (let's pretend you have to dodge the leaves. I love being cruel)
    • We can, of course, have as many layers as we want
    • We can use whatever physic behavior we want (if your prefer Box2D or Chipmunk or Crayon...doesn't matter)
    • We can use Tile Maps and Tiled Background (personally, I will not)
    • Every platforms is a new different object, not the instance of another (just to treat that as an extreme case)

    So now, here's how I'll try to make it runs :

    number of layers : 3

    • Background (contains the drawing of the sky and its clouds. This drawing is a sprite that I use as background).
    • Intermediate (contains the drawing of the moutains and the sun. Once again, it's declarated as sprite).
    • Foreground (contains the others sprites, which are physics platforms and character).

    number of families : 1

    • Phys, family which contains every single sprite supposed to be physical. This family has a physic behavior. As you may understand, she contains 8 objects (the player, the leaves and 6 platforms). They're all immovable, except the player.

    Okay. The simpler platforms have "bounding box" as collision shape. But for the more developed structures like the one on the left, I'll use Polygon Shape and end up with a beautiful but heavypolygon of 20 points or more. I'll use Polygon Shape for the column too, even if I could use bounding box for them as well. Now, I have my physical objects. I just have to make some controls in the event sheet to move my dude and it will be ok I guess. It should looks great with some parallaxes.

    But is it clever to proceed this way ? When I read something like this :

    https://www.scirra.com/blog/112/remember-not-to-waste-your-memory

    I suppose the answer is no, but then how to deal with complex objects when we're on a physic project ? And is it so problematic if we have one or two objects with more than 8 collision points somewhere ? I really question my approach. Even the background for example, you can't use a tiled background for such a detailed drawing, can you ? I really wonder

    Well, here we are. I'm curious to know your own approach, and especially know if mine is correct or if it's a total mess of logic and/or memory. I always did my little games (when they use physic with a detailed background, I mean) with a similar method, so I wonder if it's finally worth or not. How to optimise it if I have a bunch of objects like the one on the left for example ?

    I wait your comments, advices, and opinions folks, thanks !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey ! Thanks for your replying. I didn't have the time to study your prototype yet, I just tried it and it seems to be a great work. I'm sure I'll learn a lot about it ! Also, thanks for these informations, I'll take note.

  • Hey everyone ! I've a small question for you. Until now, my character was moving because I've added some values in the corresponding velocity (x or y, depending of the pressed touch). It works, and it's perfect to test my settings (shaders, dynamic light, physic behaviors...) but I'm pretty sure there is another way to make it move.

    Knowing that I don't use Box2D but Chipmunk physic (), can I ask how do you move your own physic characters to make it as fluide and realistic as possible ? (Even if you use Box2D, i'm just curious about it, because all my previous results were not bad but still a little...robotic ? I don't have the word, hope you understand anyway).

    Using velocity only is something. But I presume that there's some ways to do it with force or impulse, right ?

  • UP anyone ? :/

  • Ok, but I don't have any addon except Adblock, which I disabled to test and get the same result again :/

  • Indeed, thanks for your help ! My friend can now see a black screen with the following message "HTML5 is not supported by your Browser, please update it" or something like that. BUT he actually HAS the last version of FireFox and Chrome (we tried on these two). I tried too, and I've got the same result.

    Do you have any idea ?

  • I tried with DropBox and the only result is a link which let the possibility to download the html file. I would like to make something like that :

    http://www.scirra.com/labs/physics/index.html

    Is that possible with DropBox ?

  • Hey everyone, I would like to send a playable version of the dumb game I'm working on to a friend (playable on his browser), but I'm not sure of the procedure. I have to add the Browser object to my project and...then ? The detailed documentation shows how to use it, but not how to set it. I suppose that enter a web address isn't enough to achieve the deal. May I ask you how do you do this ?

    Thanks in advance =)