Jump to content

Search the Community

Showing results for tags 'gamemaker studio'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi everyone I'm having some trouble trying to execute a script through clickable_add. This is what I have: Sprites spr_room1 spr_room2 Scripts gmcallback_scr_room1() rname="one";room_goto(room1);gmcallback_scr_room2() room_goto(room2);Objects obj_btns (persistent) create event rname="Start";btn_room1=clickable_add((browser_width/2)-100,browser_height/2,sprite_get_tpe(spr_room0,0),"gmcallback_scr_room1()","","");btn_room2=clickable_add((browser_width/2)+100,browser_height/2,sprite_get_tpe(spr_room1,0),"gmcallback_scr_room2()","","");draw event draw_text(10,10,string(rname));Rooms (all 640x480) room0 (contains obj_btns and window_center() in room Creation code) room1 room2 When clicking on btn_room2, it goes to room2, but when clicking on btn_room1, it does absolutely nothing. Am I doing something wrong or am I missing something about how the clickable_add function works? Any help would be greatly appreciated.
×
×
  • Create New...