JohnnyBeGood's Recent Forum Activity

  • Then reset the variables like time and health only at the start of the game layout.

    That only runs once and won't effect player choice variable.

    could be a solution but not completly, enemies are way far from their spawn point by the time i click start and play the game.

    also the player could spend minutes on the menu cause there's like 70 characters to select...

  • When you go from the menu event sheet to the first game layout reset global variables first.

    On button clicked: Reset global variables.. Go to layout1

    That way your game starts fresh with variables set where they should start.

    cant do that. my character selection is working with global variables... i would lose the character i selected...

  • i got a menu layout with a button (start) to go the game layout. but i realized that every second i spend at the menu, the game layout is running in memory, so when i click start the game has already started and i start whit some damage on my character and the enemies are already moving and things like that

    how do i set the game layout to start running when im on in or when i click start?

  • Turn off the ball colission for a short time or use a different scoring system.

    If you score on collision then it will score every collision unless you turn off collisions.

    no other way to do this comes to mind?

  • in my game theres a ball bouncing and i want everytime i colide with the ball it bounces away and i get 1 point. did it like this. "me > on collision with > ball> value add 1 to score" but the problem is that somethimes i collide with the ball and push it away and meanwhile im pushing the ball the score goes crazy, like hundreds of points, because they are still in touch.

    how can i tell my game not to score hundred of points when i collide and collision is still happening but only 1 point?

    i dont want to put something like wait x seconds because sometimes it's not just a brief moment that i'm pushing the ball, and also e.g. if i got wait 0.5 seconds and i hit the ball after 0.3, i would not be givven that point

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Set it to letterbox or Integer Scale and it will scale to whatever device it is played on.

    There is no one setting best for all devices but all newer devices scale any app automatically to fit their screen.

    how to?

  • how do i properly adjust my game resolution to every single one screen out there?

    i want my game to be seen equially in every mobile screen, not because you have a bigger inches or bigger resolution screen you'll be able to see the playscene from a bigger zoom out. so first i thought to make this...my game is portrait 800x1200 resolution. my windows view is 640x960. scrolled to 400x600 on layout start, so this way everyone will get a view on the center of the playscene, but then i realized it wasnt like this. am i wrong? if you have a bigger screen your window view wont be 640x960... right? it'll be bigger depending on your screen and resolution.

    how do i fix this? whats the most common mobile screen resolution out here?like i said i dont want poeple with better screens to get some advantage like seeing the playscene from a bigger zoom out so you can see more of the enviorment.

    i had a look to the example page on scirra and so i did what explained but now i got doubts.

  • So, you create them off screen. They move in view, and then they sneak off screen. The second time they go off screen, you want to destroy them.

    That, or the spawning has a flaw (well, that is a blemish in the spawning too).

    Your really need help ? Spawn your capx in a sharing site. Ty.

    i got it to work! thanks all!!!

  • I would need to see your capx to tell what you have going on.

    Hard to trouble shoot without that.

    its very simple. it's an enemy that spawns and starts moving forward, and once it is off the screen i need him to be destroyed and player loose a life

  • Sprite > is on screen (invert the condition by right clicking on it)

    ________Sprite > destroy

    still not spawning

  • I am not sure I am following you.

    You say you have several characters in your game. Is that a C2 project and are those C2 sprites?

    If they are C2 sprites you created in one game and you want to transfer them to a different game then you need to import them to a new sprite in the new game because sprites have a distinct UID in each game and behaviors associated with that UID.

    maybe i didnt express myself. i got those characters on png files...

  • Then the origin is not in the middle.

    now it wont get smaller. it just bumps

JohnnyBeGood's avatar

JohnnyBeGood

Member since 8 Mar, 2017

None one is following JohnnyBeGood yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies