RPGM [Solved]penis movement for x-ray

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,130
3,194
need a little help on this

penis_sex00.png penis_sex30.png

when you press up button the penis moves up when you press down button the penis moves down

is there something that I'm missing

Code:
◆If:x-ray is ON
  ◆If:Button [Up] is being pressed
    ◆Control Variables:#0012 Penis_movement_up_max = 30
    ◆Control Variables:#0010 Penis_movement_up += 1
    ◆
  :End
  ◆If:Button [Down] is being pressed
    ◆Control Variables:#0010 Penis_movement_up_min = 0
    ◆Control Variables:#0010 Penis_movement_up -= 1
  :End
  ◆If:Penis_movement_up > 0
    ◆Show Picture:#100, penis_sex00, Upper Left (-5,550), (50%,50%), 255, Normal
    ◆If:Penis_movement_up > 1
      ◆Show Picture:#100, penis_sex01, Upper Left (-5,550), (50%,50%), 255, Normal
      ◆If:Penis_movement_up > 2
        ◆Show Picture:#100, penis_sex02, Upper Left (-5,550), (50%,50%), 255, Normal
        ◆If:Penis_movement_up > 3
          ◆Show Picture:#100, penis_sex03, Upper Left (-5,550), (50%,50%), 255, Normal
          ◆If:Penis_movement_up > 4
            ◆Show Picture:#100, penis_sex04, Upper Left (-5,550), (50%,50%), 255, Normal
            ◆If:Penis_movement_up > 5
              ◆Show Picture:#100, penis_sex05, Upper Left (-5,550), (50%,50%), 255, Normal
              ◆If:Penis_movement_up > 6
                ◆Show Picture:#100, penis_sex06, Upper Left (-5,550), (50%,50%), 255, Normal
                ◆If:Penis_movement_up > 7
                  ◆Show Picture:#100, penis_sex07, Upper Left (-5,550), (50%,50%), 255, Normal
                  ◆If:Penis_movement_up > 8
                    ◆Show Picture:#100, penis_sex08, Upper Left (-5,550), (50%,50%), 255, Normal
                    ◆If:Penis_movement_up > 9
                      ◆Show Picture:#100, penis_sex09, Upper Left (-5,550), (50%,50%), 255, Normal
                      ◆If:Penis_movement_up > 10
                        ◆Show Picture:#100, penis_sex10, Upper Left (-5,550), (50%,50%), 255, Normal
                        ◆If:Penis_movement_up > 11
                          ◆Show Picture:#100, penis_sex11, Upper Left (-5,550), (50%,50%), 255, Normal
                          ◆If:Penis_movement_up > 12
                            ◆Show Picture:#100, penis_sex12, Upper Left (-5,550), (50%,50%), 255, Normal
                            ◆If:Penis_movement_up > 13
                              ◆Show Picture:#100, penis_sex13, Upper Left (-5,550), (50%,50%), 255, Normal
                              ◆If:Penis_movement_up > 14
                                ◆Show Picture:#100, penis_sex14, Upper Left (-5,550), (50%,50%), 255, Normal
                                ◆If:Penis_movement_up > 15
                                  ◆Show Picture:#100, penis_sex15, Upper Left (-5,550), (50%,50%), 255, Normal
                                  ◆If:Penis_movement_up > 16
                                    ◆Show Picture:#100, penis_sex16, Upper Left (-5,550), (50%,50%), 255, Normal
                                    ◆If:Penis_movement_up > 17
                                      ◆Show Picture:#100, penis_sex17, Upper Left (-5,550), (50%,50%), 255, Normal
                                      ◆If:Penis_movement_up > 18
                                        ◆Show Picture:#100, penis_sex18, Upper Left (-5,550), (50%,50%), 255, Normal
                                        ◆If:Penis_movement_up > 19
                                          ◆Show Picture:#100, penis_sex19, Upper Left (-5,550), (50%,50%), 255, Normal
                                          ◆If:Penis_movement_up > 20
                                            ◆Show Picture:#100, penis_sex20, Upper Left (-5,550), (50%,50%), 255, Normal
                                            ◆If:Penis_movement_up > 21
                                              ◆Show Picture:#100, penis_sex21, Upper Left (-5,550), (50%,50%), 255, Normal
                                              ◆If:Penis_movement_up > 22
                                                ◆Show Picture:#100, penis_sex22, Upper Left (-5,550), (50%,50%), 255, Normal
                                                ◆If:Penis_movement_up > 23
                                                  ◆Show Picture:#100, penis_sex23, Upper Left (-5,550), (50%,50%), 255, Normal
                                                  ◆If:Penis_movement_up > 24
                                                    ◆Show Picture:#100, penis_sex24, Upper Left (-5,550), (50%,50%), 255, Normal
                                                    ◆If:Penis_movement_up > 25
                                                      ◆Show Picture:#100, penis_sex25, Upper Left (-5,550), (50%,50%), 255, Normal
                                                      ◆If:Penis_movement_up > 26
                                                        ◆Show Picture:#100, penis_sex26, Upper Left (-5,550), (50%,50%), 255, Normal
                                                        ◆If:Penis_movement_up > 27
                                                          ◆Show Picture:#100, penis_sex27, Upper Left (-5,550), (50%,50%), 255, Normal
                                                          ◆If:Penis_movement_up > 28
                                                            ◆Show Picture:#100, penis_sex28, Upper Left (-5,550), (50%,50%), 255, Normal
                                                            ◆If:Penis_movement_up > 29
                                                              ◆Show Picture:#100, penis_sex29, Upper Left (-5,550), (50%,50%), 255, Normal
                                                              ◆If:Penis_movement_up > 30
                                                                ◆Show Picture:#100, penis_sex30, Upper Left (-5,550), (50%,50%), 255, Normal
                                                                ◆
                                                              :End
                                                           
  ◆
:End
it works fine as it is but when press up it will pass 30 or if pressing down it will go in the minus 0

I also tried it this way but it still goes over or under 30, 0

Code:
◆If:Penis_movement_up = Penis_movement_up_max
  ◆
:End
◆If:Penis_movement_up = Penis_movement_down_max
  ◆
:End
 
Last edited:

pepette

Active Member
Game Developer
Feb 20, 2018
947
2,323
I don't master this version of RPGm (I use VXace)
But try :

Code:
◆If:Button [Up] is being pressed
    ◆Control Variables:#0010 Penis_movement_up += 1
    ◆If:Penis_movement_up > 30
            ◆Control Variables:#0010 Penis_movement_up = 30
    : End
: End

◆If:Button [Down] is being pressed
    ◆Control Variables:#0010 Penis_movement_up -= 1
    ◆If:Penis_movement_up <0
            ◆Control Variables:#0010 Penis_movement_up = 0
    : End
: End
 
  • Like
Reactions: rayminator