GameMaker: Studio

GameMaker: Studio

View Stats:
comicnight Jul 9, 2013 @ 2:47pm
Sonic engine help?
I downloaded a sonic engine on yoyogames called anti_pro_engine.gmk. I imported it and started it up. However, it warned me that it was made on an older version of gamemaker so some features may be gone. I clicked okay and clicked run to test the engine out.
and I got an error. The error said: In object Show_Stats, event Create, action 1 at line 1: unknown function or script: font_add_sprite. I decided to go and find Show_stats in objects to find what was wrong. The script was: fnt_numbers = font_add_sprite(numbers,ord('0'),1,4);
draw_set_font(fnt_numbers); Help? (im not familier with the engine so I dont know what Show_Stats is for).
< >
Showing 1-4 of 4 comments
Sera Jul 9, 2013 @ 11:06pm 
You're in for one hell of a conversion process, dude.

font_add_sprite hasn't been around since possibly GM6, if that late on. If the engine you're using is referencing that, the code you're working with is years before Studio's time, and a lot of old GM functions are outdated or even outright removed from GM8 and especially GM:S.

I know this is sort of a bummer given how few (good) Sonic engines are out there, but you're probably stuck finding an alternative solution.
Joff Jul 10, 2013 @ 1:24am 
If you can post up the link I will have a go at converting it over to studio.
Joff Jul 10, 2013 @ 5:41am 
I found the download, The problem seems to be 3 objects trying to set sin and cos as variables rather than dcos and dsin. If you run in debug it will tell you more on the error.
comicnight Jul 10, 2013 @ 10:21am 
Oh and I forgot to mention, I have GML. I will be getting the pro edition soon.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jul 9, 2013 @ 2:47pm
Posts: 4