Ribis's Forum Posts

  • I would like to but this plugin....but I have 1 question

    How I can design a level game? I means, if I want make a level of some game (like your tank demo) in construct2, how I set everything and see if design works? when I made my models in 3d with 3dstudiomax, I have to set the cordinate of the position for every objects at the start of the layout right? this works?

    Thank you

  • Tried that already, attached the .capx for you.

    why you set the score invisible? when you change the layout, all elements of the other layout just leave, you don't need to set invisible

  • I'm using a text object for displaying realtime score which is on top of the layer and there is an image(as background) at the bottom of the layer. But, when i reload the layout with 'play again' button [Button->On Clicked->System->Go to Layout 1] that background image hides the scoring text. It does not occur with other solid/platform objects. I

    post a capx... I suggest to use two layer...(or more)

    for the score, button...etc, use another layer where is on the top of the others.....you can also use an action to move the object on top of another object

  • hi

    lets say that my player doesnt have pickaxe so i am using my bare hand to pick some rock.

    how do i make it so that if i use bare hand i have 45% change to get ore, but if use pickaxe there is 100% to get ore.

    thanks

    there are some example in this forum for the "%", but you can solve this without use the %... (try to search on the forum)

    for example, "when a block is broken by hand > set a variableB to : choose("pickgold","nogold","nogold","nogold") "

    and make another subevent "if the variable x is "pickgold" take a gold from some variable, if not, do nothing.. you can do with number, generate number...etc..."

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for getting back to me so quick!

    I will look into this more but it does look like a good alternative.

    Thanks,

    Andrew

    you are welcome

  • Hello All,

    I am looking to use facebook as a way for people to sign up for my app that will have user accounts so that it easier for them to connect to friends who also have the app. I have an account database set up but for this to work properly I would like to be able to use their email instead of just their ID. Is there a way to get their email that's used for facebook?

    Thanks,

    Andrew

    look this plugin: https://www.scirra.com/forum/facebook_t111941

    when the user accept for the permission (for the app), you can get everything from the user (e-mail, uid...etc) you can also made your php code and look how to use the SDK, but the easy and fast way is this plugin

  • the problem with sprite font is that it get pixelated and it have exactly the same problem of the text, it doesnt let you use more styles in the same textbox, for example i want to create a text like this

    "Hello David welcome to wonder land"

    i will have to use a object for every style.

    yes, you are right, in this case you have to use 3 object (or more) if you want to make a dinamic text...

    look if is possible to load a css file an use an html script in a text... but I'm not sure if is possible...

  • Hello everyone!

    i have been working on an html5 presentation (like powerpoint stuff) using C2, it works great but

    it will be awesome that the Text object can have much more edit options and can allow the user to use

    a bold with ilatic in the same object, like a real text editor.

    thanks!

    Use the sprite font, is bettere for make fancy text... you use the image for make your own text

    download this: https://www.scirra.com/forum/sprite-font-generator-v2_t86546?&hilit=make+sprite+font to make your font, and use in c2, this should works

  • Wait, what? Im a bit confused, so i have made the tilemap sprite, now what?

    well, if you are newbie on make gaming or programming, I suggest you to read the manual of construct2..

    the sprite, is like a "container" where you can store animation and frame (image).

    now, the tilemap, is a "special" container where the picture is split in little tile (you chose the dimension of the tile) and every single tile take the picture from a one picture of the tilemap sprite.... if you make one it's easy to understand, english is not my first lenguage... and with this, you can set the tile in the tilemap (on the tilemap bar)

    why tilemap is good?

    because with one image, you can make an infinite level/map... and also very important, you can store all of the data of the tilemap in one ARRAY.

    and off course, for design the level is very simple... when you have your tileset, you can make all of the level of your game.... 1 sprite, for the level... this is important for the performance to...

  • Method 1: One tilemap of an image with the solids behavior serving as the floor, and one tilemap of the same image without the solids behavior and serves as the background.

    Method 2: One tilemap of an image that is just the background, and an invisible tilemap that is only a 16 x 16 image with the solids behavior and is tiled wherever it must be solid.

    Here's a link to a capx showing my example

    https://dl.dropboxusercontent.com/u/308 ... thods.capx

    I'd like to know which method is better performance wise. Thanks!

    Ashley, you might know this answer better than anyone though

    the efficient one is the graphics with solid... and you can also edit a poligon collision for every tile....tilemap is the best method to make a large level, and save a lot of memory...

    but you can also conbine a tilemap graphics and tilemap solid (only one square) like your example, with this, you can make a player go inside to some holes/make some parallax effect etc...etc...

  • Hello

    is there a way to import tilesets and use them?

    I really need help with this, plase give a thorough explanation since im not a computer person.

    Thanks!

    the tilesets is an normal image (jpg...png) with all tiles in one picture

    in contruct2, you have just to make a tilemap sprite and import your image with your tiles... and you can change the dimension of the tile on the properties.... it's very simple, I suggest you to read this:

    https://www.scirra.com/manual/172/tilemap

  • I need it to be a mask

    well, I was using flash and for mask the objects it's very easy... in contruct2 it's frustrating

    in a layer option, you have to select Force own texture...

  • Hello ...

    I've noticed that when I publish my project to my server, even if I hit browser reload, it still uses cached game data, requiring I clear my own cache before seeing the changes I published.

    Is there any way in C2 to force the client to get the new game data?

    Many thanks!

    you can make a button on your project to clear all data...

    is you use webstorage, just "on click > clear all webstorage data"

  • JamesXXXYZ

    I'm not sure what you mean by isometric angles not being linear. If 0 degrees is to the right and 90 degrees is down then with 1:2 isometric the vertical speed should half the speed of going horizontal. sin and cos aren't a reason for why it wouldn't work.

    Would it be simpler if you just did all the motion as if in top view and convert to iso by dividing all y positions by two?

    good example, but isn't better to make a graphics isometric directly? like in photoshop?

    I mean, without script? if someone want to make holes...etc... how can be reached this?

  • Bump, I'm really surprised there hasn't been a good informed answer on this. Maybe it really is impossible to do, but it just seems like having things be "justified" to the left / right / top / bottom could really be helpful in making games that can take full advantage of a wide range of devices and not rely on letterbox / black boxes.

    I realize not every game would be able to take advantage of this, but I think a lot of people could if they know the tools are available.

    if I understand is very easy, use Viewport and will work to every screen size...

    for instance:

    set position to X = ViewportLeft("name of your layer") and you can add also +20,-20...

    set position to Y = ViewportTop("name of your layer") and you can add also +20,-20...