Jump to content


Photo

Functions that DON'T exist in GMS


  • Please log in to reply
31 replies to this topic

#21 dark_master4

dark_master4

    GMC Member

  • GMC Member
  • 1176 posts
  • Version:GM:Studio

Posted 08 March 2012 - 07:09 PM

I just tested instance_count and instance_deactivate_all and both worked just fine for me under C++ and Android.

instance_count works? Didn't for me with the C++ runner.
  • 0

#22 Exe_Mas

Exe_Mas

    GMC Member

  • GMC Member
  • 152 posts

Posted 08 March 2012 - 07:22 PM

I just tested instance_count and instance_deactivate_all and both worked just fine for me under C++ and Android.

Thanks, but you could reactivate the objects again?
  • 0

#23 Exe_Mas

Exe_Mas

    GMC Member

  • GMC Member
  • 152 posts

Posted 08 March 2012 - 10:24 PM

Now it works, the issue seemed to be the sprite_create_from_screen function. I will try do it with surfaces for now. Thank you!
  • 0

#24 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2193 posts
  • Version:GM8

Posted 10 March 2012 - 08:50 PM

Ok guys I'll update the topic tomorrow. Could someone clarify the following functions for Android and iOS?

game_end()
game_restart()

Would be nice to know if they work or not.
  • 0

#25 Kouri

Kouri

    GMC Member

  • GMC Member
  • 157 posts
  • Version:GM:Studio

Posted 10 March 2012 - 11:08 PM

Ok guys I'll update the topic tomorrow. Could someone clarify the following functions for Android and iOS?

game_end()
game_restart()

Would be nice to know if they work or not.


Working on my end. I've been using game_end() on the key-backspace-pressed event to end the game when the Back button is hit in Android. I've also used game_restart() without issue on my devices.
  • 0

#26 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2193 posts
  • Version:GM8

Posted 11 March 2012 - 09:17 AM


Ok guys I'll update the topic tomorrow. Could someone clarify the following functions for Android and iOS?

game_end()
game_restart()

Would be nice to know if they work or not.


Working on my end. I've been using game_end() on the key-backspace-pressed event to end the game when the Back button is hit in Android. I've also used game_restart() without issue on my devices.


So game_end() does work on Android? Good good. Anyone know if it does on iOS?
  • 0

#27 WWAZman

WWAZman

    GMC Member

  • GMC Member
  • 742 posts
  • Version:GM:Studio

Posted 18 March 2012 - 05:55 AM

TLDR and I'm kinda drunk..

I want a YoYo function.. that functions as a YoYo! .. no more wading around in precious code timing, I can have that platform do the YoYo maneuver! It's EASY!.. no wait, it's EaSy!
  • 1

#28 joshuaallen64

joshuaallen64

    GMC Member

  • GMC Member
  • 677 posts
  • Version:GM:Studio

Posted 18 March 2012 - 07:49 AM

It would seem window_mouse_get_x and window_mouse_get_ydon't work on android.


  • 0

#29 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2193 posts
  • Version:GM8

Posted 18 March 2012 - 09:47 AM

Updated the list folks. Keep em coming
  • 0

#30 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 395 posts
  • Version:GM:HTML5

Posted 18 March 2012 - 07:24 PM

What is this "YoYo_EnableAds(x,y,w,h,freq)"? Sounds intriguing.
  • 0

#31 bobbyjones44

bobbyjones44

    GMC Member

  • GMC Member
  • 16 posts
  • Version:GM:Studio

Posted 19 March 2012 - 06:24 PM

I've discovered these functions are missing:

string_byte_at(str, index)
ansi_char(val)
  • 0

#32 Israphel

Israphel

    GMC Member

  • New Member
  • 21 posts
  • Version:Unknown

Posted 20 March 2012 - 07:00 AM

ooh :/
I sure hope they fix or replace some of these. I use them in a lot, if not all my games in GM8

Edited by Israphel, 20 March 2012 - 07:00 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users