Jump to content


ultrav33

Member Since 31 Mar 2007
Offline Last Active Today, 03:01 AM

Topics I've Started

Dual Touchpads For Android Help!

12 May 2013 - 02:23 AM

I need help fixing this code. the problem I have is that If holding down the right pad first and then holding down the left pad Im unable to control my character. the left pad controls the movement. the right pad shoots. You can  compare my main character to a tank.

Anyone know what to fix in this code. if so please help. I am will to pay if needed but I need it to be perfect.

 


 

 

 

if device_mouse_check_button(0,mb_left) || device_mouse_check_button(1,mb_left){

//movement

if device_mouse_x(0)>view_xview[0]+20 && device_mouse_x(0)<view_xview[0]+100{

if device_mouse_y(0)>view_yview[0]+160 && device_mouse_y(0)<view_yview[0]+240{

moving1=1

}}else{

moving1=0

}









if device_mouse_x(1)>view_xview[0]+20 && device_mouse_x(1)<view_xview[0]+100{

if device_mouse_y(1)>view_yview[0]+160 && device_mouse_y(1)<view_yview[0]+240{

moving2=1

}}else{

moving2=0

}

















//SHOOTING

if device_mouse_x(0)>view_xview[0]+300 && device_mouse_x(0)<view_xview[0]+380{

if device_mouse_y(0)>view_yview[0]+160 && device_mouse_y(0)<view_yview[0]+240{

bodyrot=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))

if bulletout=0{

bulletout=1

alarm[0]=system.bulletspeed

sparkout=instance_create(x,y,obj_sparks)

sparkout.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))

out=instance_create(x,y,obj_bullet)

out.direction=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))

out.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))

out.speed=10

}

}}

if device_mouse_check_button(1,mb_left){

if device_mouse_x(1)>view_xview[0]+300 && device_mouse_x(1)<view_xview[0]+380{

if device_mouse_y(1)>view_yview[0]+160 && device_mouse_y(1)<view_yview[0]+240{

bodyrot=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))

if bulletout=0{

bulletout=1

alarm[0]=system.bulletspeed

sparkout=instance_create(x,y,obj_sparks)

sparkout.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))

out=instance_create(x,y,obj_bullet)

out.direction=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))

out.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))

out.speed=10

}}}

}

}

////

////

////

////

if moving1=1{

direction=point_direction(view_xview[0]+52,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))

speed=system.movespeed

}

if moving2=1{

direction=point_direction(view_xview[0]+52,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))

speed=system.movespeed

}

if moving1=0 && moving2=0{

speed=0

}

 

 

 

 


2 Touchpads For Ios/Android Devices

11 May 2013 - 10:08 PM

I need help fixing this code. the problem I have is that If holding down the right pad first and then holding down the left pad Im unable to control my character. the left pad controls the movement. the right pad shoots. You can  compare my main character to a tank.

Anyone know what to fix in this code. if so please help. I am will to pay if needed but I need it to be perfect.

 

if device_mouse_check_button(0,mb_left) || device_mouse_check_button(1,mb_left){
//movement
    if device_mouse_x(0)>view_xview[0]+20 && device_mouse_x(0)<view_xview[0]+100{
        if device_mouse_y(0)>view_yview[0]+160 && device_mouse_y(0)<view_yview[0]+240{
            moving1=1
                }}else{
                moving1=0
                }




if device_mouse_x(1)>view_xview[0]+20 && device_mouse_x(1)<view_xview[0]+100{
        if device_mouse_y(1)>view_yview[0]+160 && device_mouse_y(1)<view_yview[0]+240{
            moving2=1
                }}else{
                moving2=0
                }








//SHOOTING
if device_mouse_x(0)>view_xview[0]+300 && device_mouse_x(0)<view_xview[0]+380{
if device_mouse_y(0)>view_yview[0]+160 && device_mouse_y(0)<view_yview[0]+240{
bodyrot=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))
if bulletout=0{
bulletout=1
alarm[0]=system.bulletspeed
sparkout=instance_create(x,y,obj_sparks)
sparkout.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))
out=instance_create(x,y,obj_bullet)
out.direction=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))
out.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))
out.speed=10
}
}}
if device_mouse_check_button(1,mb_left){
if device_mouse_x(1)>view_xview[0]+300 && device_mouse_x(1)<view_xview[0]+380{
if device_mouse_y(1)>view_yview[0]+160 && device_mouse_y(1)<view_yview[0]+240{
bodyrot=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))
if bulletout=0{
bulletout=1
alarm[0]=system.bulletspeed
sparkout=instance_create(x,y,obj_sparks)
sparkout.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))
out=instance_create(x,y,obj_bullet)
out.direction=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))
out.image_angle=point_direction(view_xview[0]+348,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))
out.speed=10
}}}
}
}
////
////
////
////
if moving1=1{
direction=point_direction(view_xview[0]+52,view_yview[0]+192,device_mouse_x(0),device_mouse_y(0))
speed=system.movespeed
}
if moving2=1{
direction=point_direction(view_xview[0]+52,view_yview[0]+192,device_mouse_x(1),device_mouse_y(1))
speed=system.movespeed
}
if moving1=0 && moving2=0{
speed=0
}

 


Game/App Developer (Paid)

07 May 2013 - 03:11 AM

Hello, I am looking for someone who is interested in hiring me. Payments are negotiable. For more information please pm me with your idea for your project and how much you are willing to pay hourly.


Level Designer Needed.

26 April 2013 - 09:27 PM

I am looking for a level designer for a new platformer game I am working on. The game can be found HERE.

I am willing to pay or place name in credits as level designer. Contact me at ultrav33@gmail.com if you are interested.


Glowing Mushroom Returns Wip

26 April 2013 - 09:16 PM

Hello, Glowing Mushroom Returns is a new platformer me and friend are working on. The game will be available on many devices once completed. The game is based on a mushroom as the main character. The gold of the game is to collect all the mushrooms before completing the stage. The game will have a total of 30 levels with 3 worlds. 10 levels per world. I am currently done with 9 levels and am looking for a level designer to finish off the rest of the worlds. I am will to pay for the service or place your name in the credits of the game for level designer.

If you have any ideas for my game or would like to work on it with me please contact me and we can work something out.

 

HTML5 LINK

 

Controls:

Left and right arrow keys to move.

Up arrow key to jump.

Dow arrow key to fall.

 

Screenshots:

28utdl2.png33ugawl.pngxpxbpj.png