Asmodean's Recent Forum Activity

  • If two objects collide it should only destroy one of this objects not all instances. It depends of your action which object gets destroyed.

    The event should look like:

    Ball | On collision with Box -> Box| Destory.

  • [quote:2uv33caq]

    i was wishing when grid is 6 then wants to enlarge chr height & width

    but is their any alternative way??

    I don't see any way to do it direct. The not so elegant way would be to make several Spritefont-Grids with different grid sizes and make the one visible you want.

  • I made another example with 36 instances of one sprite. If you have 36 different sprites or other objects not instances you have to put them in a family. That should work also. I didn't test that.

    You can delete the sprites if you put it to a position outside the layout or destroy them.

    https://drive.google.com/uc?export=down ... WU5bVhCaHM

    The character height and width in the spritefont properties is to define the spritefont itself, not to change the size. If its that what you want you have to use scale.

    I don't think it's possible to change the height and width properties with an event. This properties are the real height and width of the spritefont you need that to display it. You can't load a spritefont in an event, so it's not necessary to change this properties with an event.

  • It's that what you're looking for?

    https://drive.google.com/uc?export=down ... lNxOVN5UWM

    Hope that works. Feel free to ask if something is unclear.

  • Only an idea may be is nonsense, have you tried to update webview in Google Play?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Media Feature Pack installed the missing dlls. If it's still not working it could be that MS changed something. What error do you get now?

  • You need the Media Feature Pack for Windows 10.

    https://www.microsoft.com/en-us/downloa ... x?id=48231

  • As far as I know, C2 is designed for exporting Javascript only. Also all plugins/behaviors are written in Javascript. Javascript is a highly dynamic language, means that for example a variable can take a number or a string at runtime. This isn't possible in language like C or C++. In this languages a variable is bound at compile time to a distinct type like string, float, integer ....

    So it's very hard to translate Javascript to C or C++ , the other way around is possible.

    So if you want other exporters you have to rewrite Construct.

  • I dont want the sprite 2 to be in the game and viceversa, what you're teaching me works like that? or both sprites will be in the screen?

    There are both sprite at the same time on the screen in my example. There are several possibilities to have only one sprite at the time on the screen. You can put one sprite outside the layout, make it invisible or destroy it and create a new one every time you switch. I't depends what you want to achieve.

    If it is regardless which position the sprites are after switching make them invisible. If you want to switch positions of the sprites set Sprite1 on position of sprite2 and then sprite2 outside of the layout and vice versa.

  • Be sure that that the else follows direct after the previous event and not as a subevent. It doesn't work with triggered conditions (the one with the green arrow).

    Run if the previous event did not run. Note that this condition does not pick any objects: if it follows an event that picks objects, in the Else event all instances revert to picked again. Else can only follow normal (non-triggered) events. It can also follow another Else event with other conditions to make an "if - else if - else" chain.

    https://www.scirra.com/manual/124/system-conditions

  • I don't know how to switch between two different characters pressing a key (I mean, I want to be able to switch between them pressing the space bar while im playing) its possible to do it?

    You need to use instance variables, because there is no condition to see if the platform or 8direction behavior is enabled.

    You have to set the instance-variables on the start in a state that make sense (one characters has to be the controls enabled the other not). Then you have only to change the instance variables and the conditions.

    I made a little example.

    https://drive.google.com/uc?export=down ... XdLTE1XZWM

  • It got deleted

    Did you get an explanation why?

Asmodean's avatar

Asmodean

Member since 31 Jul, 2015

Twitter
Asmodean has 9 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies