davidross900's Forum Posts

  • Borgi I don't have a high enough rating to PM you. so my I will PM you the capx through my friends account (account name: zikdot)

  • My friend yesterday posted a similar post, and I am suffering from a similar problem. I read somewhere that you should reduce your game lag by not playing animations too often. Now the way I have my enemy spawning is as follows....

    I created a family and placed 5 different types of enemies within that family group. I have that every random 1,2 seconds a random enemy is selected and spawned. Could the game be running slow because of this. I tried previously having a single sprite and making 5 different animations within the sprite and coded that it should randomly select an animation to spawn but my game was still freezing.

    I feel like the game is lagging a lot due to the constant enemy spawn every 1,2 seconds. But it is important in my game and I need it.

    Any ideas? thank you!

  • RamPackWobble Works perfectly!!!

  • Thanks I'll have a go at that now

  • Okay so I've never used upgrades in a game before and for this game it involves a player hitting an object to gain points. As well as the points there are also gems to collect.

    These gems can then be used to upgrade the player. Now for upgrading the player it isn't increasing the performance etc, just changing the appearance.

    Lets pretend I want to change the player from red to green.....The problem I am having is that when I am on a different layout to the game, if I have on clicked on object change player green, when I go back to the game layout It obviously changes the player back to red as it resets the layout. how can I stop this from happening. I also need it to be WebStorage so that the player doesn't revert back to red once the game is closed and re-opened?

    Thank you!

  • LittleStain yes haha I did you a wait event :S. is that bad?

    How do I write out the coding for what you said? I think I understand the first half just not the second?

    Thank you

  • Hi, in my game I have a claw that releases a ball when you click on 'xyz' then after 0.3 seconds it will spawn another ball in the same spot to replace the last one. everything works fine but the issue is that if you just click on 'xyz' really quickly between each spawn then it will spawn like 5 balls instead of the 1. How can i make a condition that there can only be one ball there at a time?

    Thanks guys

  • alextro thanks so much. I will try it out this weekend and get back to you!

  • I exporting from C2 using the android option and then imported it into intel xdk where i exported it from.(is that what you mean)

    I'm a little confused on the last bit you mentioned about cocoocJS. Is this a seperate software altogether. I'm a bit of a newbie with all this. can you explain how to zip and put on my phone again?

  • The sprites initially start offscreen before being spawned and appearing on screen due to the bullet direction. After that they will always collide with the player resulting in a point or game over so I don't have 'detroy outside layout' behaviour for them

  • Okay so on my computer my game plays perfectly okay no jumping at all. After i finished making the game i uploaded it to google play store.

    when i downloaded the game it seemed to be very jumpy and unsmooth. When one of the enemies is destroyed it freezes for a split second so i dont know if my spawning is to blame.

    I have 4 different types of enemies that spawn. The way i did it was by creating a single sprite with 4 different animations in it.

    I've looked over my event sheet and can't see what the problem is???

  • I'm currently posting from my home so I would need to be on my laptop to send it. Well you can't export without a license so yes

  • Okay so my game works fine on my computer but after uploading it to Google play store when I play the game on my phone it momentarily freezes when the enemy dies. So the games jumpy when an action is done?

  • nimos100 You were right! I managed to sort it out thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I managed to fix it. Thanks for such a nice offer ethans9999