May 25, 2020, 12:26:24 PM

Author Topic: GameMaker 2.3 Beta now has Structs - lightweight objects.  (Read 285 times)

Offline Amon.

  • Full Member
  • ***
  • Posts: 170
  • What? There's no ceiling outside?
    • Amon.Pro
GameMaker 2.3 Beta now has Structs - lightweight objects.
« on: April 29, 2020, 05:25:11 PM »
I'm on the beta team and loving the new Structs system so far.

Code: [Select]

 function vect2(_x,_y) constructor{ x = _x; y = _y; function add(_other) { x += _other.x; y += _other.y; } } vec1 = new vect2(5,5); vec2 = new vect2(2,3); vec1.add(vec2);
I have no idea why the code tags put the code all on one line.
Windows 10 Pro - 16GB DDR4 RAM - GEFORCE RTX 2080 TI 11GB - AMD RYZEN 7 3800X

Offline Xerra

  • Hero Member
  • *****
  • Posts: 919
    • Retro Evolved
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #1 on: April 29, 2020, 06:02:12 PM »
What else does it have? Methods?

Offline xaby

  • Jr. Member
  • **
  • Posts: 8
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #2 on: April 29, 2020, 08:01:06 PM »
Makes it any difference?

Could you create an object and put there all your variables into, but it would be invisible or had no collision and no sprite
Is it somehow faster or makes it thinks easier?

Offline Sledge

  • Jr. Member
  • **
  • Posts: 4
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #3 on: April 29, 2020, 09:30:23 PM »
What else does it have? Methods?

Quite an interesting discussion here:


Offline round157

  • Sr. Member
  • ****
  • Posts: 347
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #4 on: April 29, 2020, 10:11:17 PM »
Hello....

I have two questions:

1. Is GameMaker Language as good as BlitzMax NG?
2. Is there any successful game made with GameMaker Studio?

Thanks a lot.

Offline c0d3r9

  • Full Member
  • ***
  • Posts: 156
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #5 on: April 29, 2020, 10:20:27 PM »
@Amon: I have one question too. ;)
I´m in the beta channel too.IDE wise.
But the last beta ist one version before my actual version.
How to get 2.3?
Or is that a special beta team?
Laptop: Win10@64bit - i3 2x2Ghz - 8GB Ram - 1TB HDD
Desktop: Win10@64bit - AMD Ryzen 5 2400G - MSI B450 Tomahawk - 8GB Ram - 240GB SSD

Offline Amon.

  • Full Member
  • ***
  • Posts: 170
  • What? There's no ceiling outside?
    • Amon.Pro
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #6 on: April 29, 2020, 10:27:58 PM »
@Amon: I have one question too. ;)
I´m in the beta channel too.IDE wise.
But the last beta ist one version before my actual version.
How to get 2.3?
Or is that a special beta team?
Special beta team. :) You could try to apply by contacting them but others have tried and have been declined.
Methods? Yes it does have those. Scripts have completely changed, also and are global by default and must start with the function keyword.
Windows 10 Pro - 16GB DDR4 RAM - GEFORCE RTX 2080 TI 11GB - AMD RYZEN 7 3800X

Offline c0d3r9

  • Full Member
  • ***
  • Posts: 156
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #7 on: April 29, 2020, 10:42:32 PM »
Okay thanks for that info.I try it ;) 
Laptop: Win10@64bit - i3 2x2Ghz - 8GB Ram - 1TB HDD
Desktop: Win10@64bit - AMD Ryzen 5 2400G - MSI B450 Tomahawk - 8GB Ram - 240GB SSD

Offline Xerra

  • Hero Member
  • *****
  • Posts: 919
    • Retro Evolved
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #8 on: April 29, 2020, 11:57:29 PM »
1. Is GameMaker Language as good as BlitzMax NG?

That's subjective. I'd say yes, though. I like working with the code side on GMS 2. Probably because i'm old school. Some people can make cracking games with the minimum amount of actual code, though. Not me.

2. Is there any successful game made with GameMaker Studio?

Somewhat:

https://www.yoyogames.com/showcase

Offline round157

  • Sr. Member
  • ****
  • Posts: 347
Re: GameMaker 2.3 Beta now has Structs - lightweight objects.
« Reply #9 on: May 01, 2020, 07:44:47 AM »
1. Is GameMaker Language as good as BlitzMax NG?

That's subjective. I'd say yes, though. I like working with the code side on GMS 2. Probably because i'm old school. Some people can make cracking games with the minimum amount of actual code, though. Not me.


Hello, thanks for your answer!!! :)

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal