Aphrodite's Recent Forum Activity

  • So, I already know about this keycodes, but i don't know how to implement it into the game to let the user set the keys. Got it now?

    oh, there is a keyboard expression LastKeyCode, which returns the keycode of the last key the user triggered, I suggest something like:

    -Using on keycodes events instead of normal key events, with variables (or something else, but better not making this too complicated), so you just have to change the variable

    -having something to click for the user, like "Left key - Configure" for exemple

    -When it is clicked, having a text like "Press the key for Left"

    -when the user press the key he wants, store the LastKeyCode into the variable for the Left keycode, and it's done

  • alan349 : If it is your first attempt at a game, don't worry too much about user defined controls, but If you want some advice on that, the keyboard has "keycodes" event, it is the same, except that a number represent a specific key ( this is a good exemple of what I am saying), combined with variables, it is quite powerful, but as I said, don't worry too much about it if you are beginning

  • You do not have permission to view this post

  • if you are using an event like:

    Every tick: set platform.X to mouse.X

    do instead:

    Every tick: set platform.X to clamp(mouse.X, lowestX, highestX), where lowestX is the lowest value of the X position of the platform you want, and highestX the highest

  • Hey guys!

    Are there a reason of why there's no spawn object event for 9-patches?

    I am sure there's logic reason for it.

    I am going to do a work around instead.

    <img src="smileys/smiley2.gif" border="0" align="middle" />

    which I have done now and it is working beautifully.

    I guess it is for the same reason that there is not spawning action for tiled backgrounds.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "1. What makes you use C2? Do you feel like you can have the same level of control of your game logic?"

    I use it because of ease of use, fool-proofing (syntax error is a bad thing that I always hated), learning curve easier than ther languages IMO, yet it offers enough liberty to be usable.

    "2. Have you ever written custom behaviors? "

    Nope, I never needed to yet, but I know it can be needed in some cases

    "3. Do you really feel like you can develop faster in C2 than hand-writing code when you are going off the beaten path? "

    Yes, the no-syntax error thing and the fact I read and write C2 code in a defined way easily makes it so much easier IMO.

  • I think this is getting into a native Exe vs HTML5 thread, which just does not make sense.

    -first If scirra devs want to focus on HTML5 they have the right to do so.

    -Also, native exe have their advantages, but HTML5 has too, and since desktop games are not the only ones to be sold, and since C2 can handle large games with html5 (slower, yeah, but not noticeable for most desktops games, and still better that CC does, since CC don't do the best job for that)

    -I saw that you said that C2 was a poorly designed game maker program in the beginning, which it is not in our opinions, so I think your opinion will not change on that.

    I think you are just trying to say "quit HTML5, it sucks, it should not exist in video games and desktop devs don't want it", but since desktop devs aren't the only ones on earth, and that C2 has HTML5 written about everywhere in the website, and since it does make html5 games (the problem is mostly mobile wise), I don't see a real problem.

    Again I might be wrong on the point of this, but I think we are not going anywhere here, and if it is the case, I don't blame you, some other people seems to share that opinion.

    Also doing an native exe exporter will take a lot of time I've read somewhere, which would be more of an issue that not having one IMO

  • I correct my sentence, HTML5 combined with javascript can handle more than simpel applications, even if it's first purpose wasn't that.

  • "Well, a good game maker software (which c2 poorly tries to be) should have a decent image/sprite editor (with functional at least similar to paint.net)"

    C2 devellopement isn't over yet, so I guess it could improve some day

    "well, too bad. Just because html5 won't stay for a long time, but EXE games are forever (steam, anyone?)"

    HTML5 won't stay for a long time? EXE games forever? that just doesn't make sense, I can tell you even all exe games can not work well in the future (Hexplore won't work at all on 7 and XP, I think there is a patch for XP, but I never find it), but HTML5 is multiplatform, so I think if browsers still support it (I think they will let it be supported even when it'll be obsolete, but not sure), this can be valuable.

    well-done HTML5 is slower than well-done exe? well yes, but not all games need that.

    HTML5 only for web apps? no, just no, it can handle more than that.

    I think your issue with C2 is that it does HTML5 games, you are not the only one with this, people tend to think C2 just serves the purpose of webapps and small games because of HTML5, but in reality, it is more like tring to let serious games accross all platforms, even the ones that are not obvious for that.

    Also directX requires you to install the corresponding version, and even drivers sometimes, but drivers problems mostly handicap the C2 's editor rather than the game.

  • 1) Depends on what you want, there is the "Set layout scale" action for exemple, which may be what you want, (you may want to check the fullscreen in browser settings too):

    "Set layout scale

    Set the scale (or zoom) of an entire layout. This scales all the layers in the layout, taking in to account their scale rate property." ~the manual

    3)I don't think there are at all, I admit C2's sprite editor is quite primitive, I think it is designed only for minor modifications of images, you'd better off using a picture editing software then import inside C2.

    4) you can interact with tiles in events, so it should be possible (didn't try it myself though).

    5)There is no other exe exporter than node-webkit, since C2 isn't created with the code of construct classic, and uses HTML5 based exports.

    For 2) I don't know

    It may be possible that I made mistakes on something, english isn't my primary language + I am just a C2 user

  • I think it is doable in C2 (even though you will not be able to see a transition between views), you'll have to think you game in 3D, but to apply it in 2D, the inused dimension can be simulated using a scaling on the sprites, I suggest you don't use directly the X and Y position of the elements, but you use variables like Real_X; Real_Y; Real_Z, then having a rendering method on screen.

    Exemple:

    Group 3D logic

    Ship_1, every tick, set Real_X to Real_X + 1*60*dt //this is a movement; *60*dt is for frame rate independancy, if you prefer the game to slow down like classic space games, you can remove it

    Group 2D application, viewport 1:

    Ship_1, every tick, set X to Real_X, set Y to Real_Y, set scale to ((Real_Z+something)*something)

    Group 2D application, viewport 2:

    Ship_1, every tick, set X to Real_X, set Z to Real_Z, set scale to ((Real_Y+something)*something)

    Not sure I am perfectly clear

    EDIT: so between C2 or unity, depends, if you are used to C2, I think it will be a good option, for unity though, depends on what you really want (I don't know any unity export, except the browser one, which uses a plugin)

  • :

    I meant on all the animations where the character could potentially jump (aka when it is on the ground)

    (Also, there are condition to check if the character is on the ground or not, maybe you could use that instead of the IsJumping variable, just a thought, maybe you need the IsJumping for something else)

    EDIT: samourai'd, I mean ninja'd by kyatric

Aphrodite's avatar

Aphrodite

Member since 20 Dec, 2011

Twitter
Aphrodite has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies