GeorgeZaharia's Recent Forum Activity

  • , could you explain me how to do it in Construct 2? I'm very lost... :(

    il update my file on the post here give me a bit of time, just got home, was away for a few weeks.

  • miguelromm

    but the sprite wouldn't move at the same speed as the gesture of the finger, right?

    Ah no if you want the sprite to go downwards based on current touch position then my example is incomplete, cause the example i shared is based after the complete swipe gesture finishes, and then the gravity change happens. but if you want the animation to start during the swipe then that is just a tweak in the example for the animation trigger and movement of sprite ... while the majority of code would remain very similar.

  • You do not have permission to view this post

  • youtu.be/tcgMAigbFdg

    towards the end of video, there is a cpu clutter caused by the objects count, as cpu spikes cause of to many objects (probably more then 1000 you had initially) and makes you lose fps ... you sure the items you are coded to get destroyed are actually getting destroyed? im thinking you are not destroying the items properly. or not all of them.

    Also when i said to many objects continously depending on position or calculations, that also apply to your zombies spawning outside screen trying to get to the car... those add up if you have to many... since they will always try calculate the path to the car... and imagine 100 of them doing that + 1000 objects in screen,... don't know why you have 1000 objects in screen when you could fake that gameplay and quality with 5-10 static objects.

    That gameplay done properly just what i seen in the video, should cost around 5% cpu or less on pc around 10% on mobile... optimization, look for stuff you missed out destroying, maybe the road itself? or zombies/bushes?

  • One reason it might cause your cpu to spike when you destroy items/objects, is cause the coding you have to calculate the position of the 1000 objects are taking in consideration the position of objects at all time... if you change that and only use the position of all objects as being important when they spawn and then never compare their position while the game runs, when gets destroyed they shouldn't use that cpu spike anymore.

    Also it might be based on how many items are you destroying in 1 tick... maybe limit them instead of each 5 seconds, more to when each individual object reaches outside of screen ? and apply the removal for each object and not all objects? just an idea.

    This might be a event coding issue more then cpu dump data speed.

  • Sorry for my bad English..

    So, I'm working in a game like Super Smash Bros, a fighting game, I was trying to make my character attack, but I could not.

    I did

    On 'X' pressed > obj_player - set animation to 'ID_AUTO'

    And then don't play the animation.

    Is there some other easy way to do this?

    That would be the basic form of any animation change.

    This form will never change no matter how you trigger the animation (boolean, keyboard button, touch, etc)see example

    Simple put there is no other way.... its more of checking what other events you have that might break it.

    Also double check the names of the animation and make sure its speed of animation has a greater value then 0.

    Edited: actually there is another way, however that will not be another way of Construct but more of using a 3rd party animation software plugin like brushmonkeys plugin.... i forgot its name. but that is not anymore Construct default.

  • Have you disabled set angle on the behavior properties of the bullet?

    If you didn't then it won't take the new angle.

  • Is there a built-in feature or extension that I can use to let players draw custom sprites/images?

    no, but you can code that using the event system, and some external database where you will stock sprites/images users/players will draw.

  • like, textobject.text, but like, self, you know? like not all textobjects.text, just self

    might be a troll though, is pretty self explanatory by itself.

  • someone replied to a topic you were subscribed to but maybe it was spam and deleted or the person deleted their own post

    Ah that makes sense wish the notification would been canceled though if the person removes his post or is marked as spam. Now it disappeared after i clicked on the notification from your reply. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Im getting the red bubble with 1 notification on my profile pic top right... but when i click notifications and i go to see what is new there is nothing new.

    Am i the only one experiencing this? Or is that a notification regarding the blogs i have? Is not the first time this happens, i think is 3rd time or so usually it disappears by itself after 2 3 days.

    See video

    Edited:

    Also the @gamecorpstudio call does not notify me.

  • maybe this has been solved already, but since you wanted to keep it vanilla here is my approach, should apply to your bullet behavior also ... they are working on same principles.

    is going to be a pain in the "bowl" to make that bullet bounce of objects though.

GeorgeZaharia's avatar

GeorgeZaharia

Member since 30 Jun, 2014

Twitter
GeorgeZaharia has 35 followers

Trophy Case

  • 10-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x9
    Popular Game One of your games has over 1,000 players
  • x21
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies

Blogs

  • Construct For Dummies - Simple Tutorial Collection

    I scour the Construct forums for users tutorial requests, and create small quick and simple tutorials using Construct's defaults features so anyone can use and apply them.

  • My Dev Logs

    Thinking on games 24/7 is fun and waste of time and unproductive if we don't bring those game ideas to life. In this blog im bringing my game ideas to life and log their development process.