Author Topic: I Wanna Be The Studio Engine YoYoYo Edition  (Read 49502 times)

YoYoYoDude1

  • Wannabe
  • Posts: 35
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 54.0.2840.71 Chrome 54.0.2840.71
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #90 on: November 03, 2016, 09:24:27 PM »
Hey guys, so I made a test version of a new engine for GMS 2 if anyone got into the beta and wants to mess around.

Keep in mind there are several missing features and minor issues. There also might be some bugs as I'm getting used to the new interface/functions and made this really quickly and a bit messily. This is just meant to be a test version for people who want to try out fangame development in GMS 2. I'll be working on a full version from scratch when GMS 2 is out of beta.

Download

PiranhaTooth

  • Wannabe
  • Posts: 38
  • I'm a totally mediocre fangame player...
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 54.0.2840.71 Chrome 54.0.2840.71
    • View Profile
    • Steam Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #91 on: November 06, 2016, 07:27:51 AM »
Messed around for around 30 minutes using it, all seems well on win10 (i don't know if you use win10 or not). I didn't notice any lag, but then again it's not like i was doing anything resource intensive... You got the thumbs up from me, though. Nice job.
Meme connoisseur of many Twitch chats...

YoYoYoDude1

  • Wannabe
  • Posts: 35
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 54.0.2840.99 Chrome 54.0.2840.99
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #92 on: November 29, 2016, 08:36:27 PM »
Alright so I just uploaded a minor update to the engine (v1.42) with a few small changes. This is likely going to be the last update to the engine unless some bugs pop up as I'm going to move over to making a GMS 2 version very soon.

YoYoYoDude1

  • Wannabe
  • Posts: 35
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 55.0.2883.87 Chrome 55.0.2883.87
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #93 on: January 04, 2017, 04:02:00 PM »
Actually, I decided to put up another update to the engine (v1.50) which contains a bunch of fixes and tweaks that are carried over from things I added/changed when working on the GMS2 engine.

Dacelo

  • Wannabe
  • Posts: 4
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 58.0.3029.81 Chrome 58.0.3029.81
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #94 on: April 30, 2017, 03:43:35 PM »
There are some code errors in both versions

Normal:
In script scrSaveGame line 83 pos 6: Unknown function or script: ds_map_secure_save
In script scrLoadGame line 15 pos 20: Unknown function or script: ds_map_secure_load
In object objWorld, even User Defined 0, action 1 at  line 3: Unknown function or script: audio_sound_get_gain
In object objDifficultyMenu, event Create, action 1 at line 30: Unknown function or script: ds_map_secure_load

Lite:
In object objWorld, event User Defined 0, action 1 at line 3: Unknown function or script: audio_sound_get_gain
In object objDifficultyMenu, even create, action 1 at line 38: Unknown function or script: is_undefined
« Last Edit: May 01, 2017, 10:05:51 AM by Dacelo »

patrickgh3

  • Spike Dodger
  • Posts: 169
  • stay optimistic! :D
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.81 Chrome 58.0.3029.81
    • View Profile
    • Github
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #95 on: May 01, 2017, 01:12:07 PM »
Have you tried updating to the most recent version of GM Studio? What version do you have? These errors are strange. Updating is the only thing I can think of

YoYoYoDude1

  • Wannabe
  • Posts: 35
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #96 on: May 21, 2017, 06:33:09 AM »
Just put up another minor update that refixes the save memory leak issues and changes the lite version to be the same thing as the regular engine but with less resources (the old lite version with only core features is still downloadable from the GitHub link in the op).

StuffandThings

  • Wannabe
  • Posts: 17
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #97 on: June 04, 2017, 02:47:59 PM »
EDIT: Moving this to the GMS2 Engine thread
« Last Edit: June 04, 2017, 08:32:00 PM by StuffandThings »

YoYoYoDude1

  • Wannabe
  • Posts: 35
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #98 on: June 04, 2017, 07:09:08 PM »
One small thing I noticed:
(click to show/hide)

This results in a crash when starting the game. "death" should be "deaths" for global.deaths
I'm not sure I understand the issue, can you post the error message when it crashes? The global death count variable is called "global.death" and that specific object stores the loaded death values as a "death[]" array.

StuffandThings

  • Wannabe
  • Posts: 17
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #99 on: June 04, 2017, 08:47:29 PM »
Sorry, I should have been more clear. This is with the GMS2 engine v0.9

The error comes from objDifficultyMenu, in the Draw event (approx. line 11). This is the original line of code:

Code: [Select]
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object objDifficultyMenu:

trying to index a variable which is not an array
 at gml_Object_objDifficultyMenu_Draw_0 (line 11) -     draw_text(x+i*xSeperation+10,y+70,string_hash_to_newline("Deaths: "+string(death[i])));
############################################################################################

It was fixed when adding "s". In scrInitGlobals, it's initialized as "global.deaths = 0;" Unless I'm looking at the wrong thing, I don't see an array.

EDIT: Oh wait I think I found it. In the Create event it also says deaths:
Code: [Select]
// Save map didn't load correctly, set variables to the defaults
            deaths[i] = 0;
            time[i] = 0;
            difficulty[i] = 0;
            boss[i] = array_create(BOSS_ITEM_TOTAL,false);
            clear[i] = false;

The problem might be that I was initially using the IWBTSE for GMS1.4, and I was transferring stuff from the new engine into my project. I might have not copied something correctly.
« Last Edit: June 04, 2017, 10:01:09 PM by StuffandThings »

YoYoYoDude1

  • Wannabe
  • Posts: 35
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be The Studio Engine YoYoYo Edition
« Reply #100 on: June 06, 2017, 07:20:41 PM »
Ah yeah sorry, I renamed a few minor things in the GMS2 engine. I should have probably mentioned that somewhere in the GMS2 engine info.