retrodude's Recent Forum Activity

  • Something like this?

    resetRotation.capx (r123.2)

    NICE! This is perfect, just what I was looking for. I appreciate it, thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [if (Right Key) and angle < 306] Rotate Counterclockwise

    [if (no right key) and angle > 0] Rotate Clockwise

    I think that should work, let me know if it doesn't.

    It doesn't quite work, but it is working towards the right direction

  • Does anyone know a proper way to do this:

    The objects angle is 0.

    Pseudo code:

    When right key is held

    ---> rotate angle of object counterclockwise by 3

    If angle of object is 306

    ---> then set angle 306

    When right key is not held

    ---> rotate angle of object clockwise by 3

    If angle of object is 360

    ---> then set angle to 360

    Basically I want a turret that rotates to a specific angle when the right key is held and then lock to that angle, and if the right key is not held, then slowly go back to starting position by rotating to the opposite direction, then lock at that specific angle.

    Anyone know how I can do this in Construct 2? Any help is appreciated

  • hi.

    when i press a, my character walks left and plays the left walking animation.

    the sprite changes once i've picked up the gun, and i am trying to make it show the different animation if (a is pressed && holdinggun == 1)

    however, it doesn't like me trying to do 2 things at once when i press A.

    if anyone knows how i can get this working, i would be very grateful :)

    the relevant event sheet and sprites:

    http://i.imgur.com/YjMeVRe.png

    If you need more help then quote my last message so I get an update on your forum post

  • hi.

    when i press a, my character walks left and plays the left walking animation.

    the sprite changes once i've picked up the gun, and i am trying to make it show the different animation if (a is pressed && holdinggun == 1)

    however, it doesn't like me trying to do 2 things at once when i press A.

    if anyone knows how i can get this working, i would be very grateful :)

    the relevant event sheet and sprites:

    http://i.imgur.com/YjMeVRe.png

    Judging from what I'm seeing, it seems that you don't have an event where holdinggun becomes = to 1.

    Did you create an event where, lets say if player is on "collision with gun" then "set value HoldingGun=1"?

    Otherwise the animation won't work because HoldingGun never becomes equal to 1. You need an event where the global variable "HoldingGun" can become equal to 1.

  • so i made a simple monster and a character, and i made the monster go after the player when on sight, the problem is, when i go to the other side, the monster is still facing the left side... so how can i make it so that when im on the right side he turns right? and when im on the left he turns left.

    --> dropbox.com/s/k16h5y1luvqj9ee/Enemy.capx

    Add these two lines of events and it should work: Look at image below.

    Pseudo Code:

    Character.X >/ monster.X, then monster is mirrored

    Character.X </ monster.X, then monster is not mirroed

    / means greater than or equal to

    </ means less than or equal to

    If you still need help then post a response to my message as a quote so I can get updated on your reply

  • "This games content is rated for children of all ages to play." <---This part here has me wondering after I read the name of his game. So I have mixed thoughts about the title.. But it does look humorous, however I don't think parents would want their children playing a game about stroking their bananas.

  • > On mobile devices. Keep you physics objects few and far between. ie minimal. When C2 uses CJS Box2D accelerator then that will be a lot better.  

    Thanks <font face="Arial, Helvetica, sans-serif">@jayderyu</font> .I've allready use few physics objects.as i said before my last game strains so much though it very simple.i dont understand reason of this.You can try how it strains from link below.

    https://play.google.com/store/apps/details?id=com.guero.fullmetal

    I cant use CJS because i use phonegap with eclipse to add some android Ad services.I believe CJS performance is better than phonegap. I still wait your help. Regards,

    One main issue I had when running games on phones was the sprite count, not the instances itself. So for example, I used way to many sprite objects on making a scenery, when I could have set 1 sprite to different animations and save on performance and ram for mobile devices.

    So what I did at the beginning was have seperate sprites for lamp, television, couch.

    But I then decided to set it to one sprite object called ornaments and set the ornament sprite to different animations, such as lamp,television, and couch. I did this for a couple of sprite objects and saved a ton of fps and ram especially on mobile devices, since some are fairly weak to begin with

  • ramones, thank god ! you understand me... it's work. Thank you, thank you.

    Still need help or did you get it working? I'm guessing you understand it now

  • Its possible by using the given effects in Construct 2 but in order to run those effects you would need webgl, so if your planning to do this for an iphone/android device then I dont recommend using the given effects since android/ios devices are still unsupported by webgl at the moment

  • Have you tried setting X to " viewportRight(0)/2 "? The "0" indicates the layer in which you placed the paddle or the ball.

    So it would look like this:

    Paddle > Set X to viewportRight(0) / 2

    Ball   > Set X to viewportRight(0) / 2

    Also try to go for the "greater than, or equal to sign". It looks kinda like this----> ">/"

  • yeah, that game looks like real 3D with low-res textures. No way to (sanely) do that at the moment.

    I thought as much, oh well I guess I'll look for another interesting way to make an rpg

retrodude's avatar

retrodude

Member since 11 Oct, 2012

None one is following retrodude yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies