Anonnymitet's Recent Forum Activity

  • I agree. My game have single layout mini games and I'm not worried about performance drops due to my use of families for example. Without families my project would be so messy. But it is good to know that if you are having performance issues there are things you can test and see if it solves your problem.

  • tunepunk Good summary, a very good read indeed.

  • > Colludium Awesome, I bought it! Is there any way to make this framerate independent? I use chipmunk atm and the physic simulation goes crazy fast on my 144Hz monitor. Will I have the same problem with this?

    >

    Awesome . This is already framerate independent (deliberately so because of that very issue). Let me know if you encounter any snags.

    Thank you, I'll try replacing my chipmunk events with this and see how it goes

  • Colludium Awesome, I bought it! Is there any way to make this framerate independent? I use chipmunk atm and the physic simulation goes crazy fast on my 144Hz monitor. Will I have the same problem with this?

  • Just give the object the bullet behaviour and set it to bounce. Try the settings below and see if that works.

  • I don't know when you set the angle but this is an example how you round it to 22.5 degree intervals

    round(bullet.angle)/22.5)*22.5

    So you can do something like this to get a 360 degree spread in 16 directions:

    On bullet created --> set angle to: round(random(0,360)/22.5)*22.5

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • NotionGames Your new game looks awesome. Please tell me it is brutally difficult?

  • Okay, thanks for the reply.

    How would I get a similar effect by hand coding it?

    Here are all the current rex plugins for C3. MoveTo is available there

    https://github.com/rexrainbow/C3RexDoc/ ... o/index.md

  • I take care of textfields this way; hide them on a bottom layer and drag outside of layout. Then I use a sprite with number graphics from 0 - 9 ( 10 frames ) to display whatever is in Text1,2,3,4, whatever ( usually timer, score, health pct. ).

    You could do the same with letters, but I find that most text that needs updating uses numbers anyway. I started doing it this way because it looked better, I could use any font and effects I wanted to without making each number anything more than a frame in a simple sprite.

    Seems that also works better as far as optimization goes too.

    The only game I have on the arcade here has a timer done like that: https://www.scirra.com/arcade/sports-ga ... 18939?cp=2

    Not sure about iPhone, but on a 5 year old laptop CPU usage is around 2-3% when playing that game

    But why use a text object at all? You could use a variable or arrays to store the text that should be displayed. Your way seems like a very unlogical way of doing it. Sounds like you should just use spritefonts instead which is exactly what you need without the unnecessary events. It works just like the text object but a lot more optimized. Just set the text with one event and you're good to go.

    The regular text object is mostly used for debugging and should never be used in any form in final builds.

  • Yeah, try not using a lot of every tick events and condition checks. Replace everything that can be changed to triggers or trigger once events. If you get 90% cpu usage for a simple game then the game is clearly not optimized.

    Mobile development is a whole other science and is a lot harder than desktop game development. So many new users come to C2 and think that making a mobile game is the easiest way to start when it is in fact by far the hardest. You need to fully understand optimization and how to get as much performance as possible at the lowest cost.

    But there are some useful threads on the forum about it which can be a good start

  • ST314 I use this plugin https://www.scirra.com/store/construct2 ... emory-3812

    It works like a charm and I can unload a ton of stuff that I don't need anymore when they are destroyed and saves a lot of image memory in my game. You can unload whatever you want with one single action. It is not free but I use it in all my projects so it is totally worth it.

  • Yeah, I also use spriter and character maps are fantastic. You just have to make your animations once and then switch armor, weapons and outfits with character maps so you can mix and match equipment without to have to make different animations for different gear.

    I seriously don't use C3 atm just because it doesn't support spriter yet. That is how good spriter is

Anonnymitet's avatar

Anonnymitet

Early Adopter

Member since 11 Feb, 2014

None one is following Anonnymitet yet!

Trophy Case

  • 10-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
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies