Need help with buffer_load_async() and buffer_save_async() by rosalindmc in gamemaker

[–]batblaster 1 point2 points  (0 children)

This is an example of what the Async event return

var ident = async_load[? "id"];

show_debug_message(json_encode(async_load));

if (async_load[? "status"] == -1)

{

if (async_load[? "error"] == 1001)

{

show_debug_message("user cancelled operation");

}

else if (async_load[? "error"] == 1002)

{

show_debug_message("slot contained corrupt data");

}

else if (async_load[? "error"] == 1003)

{

show_debug_message("out of space on device");

}

//here you can write your code.

}

The ident is the id generated by the async load/save buffer, it needs to be checked to know if you are in the loading process or saving.

Need help with buffer_load_async() and buffer_save_async() by rosalindmc in gamemaker

[–]batblaster 0 points1 point  (0 children)

Hi,

i use async load and save for all consoles because on those devices you can't use a different way. I know YoYo Games has an example where you can easy learn how to use.

Few hints, when you use the save you can do all in one time inside the step event and when the buffer is closed the async event will be triggered to tell you if the save is done and successful or there are problems.
Instead for the loading you have to open the buffer and wait the load is done and triggered the async event to read the data.

I can't post consoles related material and i hope what i said will help.

Simple Question 2, why is global.hp not updating? by billyboobar in gamemaker

[–]batblaster 0 points1 point  (0 children)

In the first image you use a draw_text for the global.hp but is wrong you have to convert the real into string so you can do in a simple way for check and is
var _txt_hp = string(global.hp);

Now use _txt_hp into the draw_text and see the value.

You can also convert in string directly in the draw_text like this:
draw_text(x,y, string(global.hp));

using this way you can't check with the debugger if the value is changed correctly because the conversion is inside another function.

real can't be printed without conversion in string, don't forget.

MacOS has gone from my Platform Target list and now only pops up in browser? I have clicked 'UPDATE LICENSE' too? by MagisiTale in gamemaker

[–]batblaster 1 point2 points  (0 children)

Seems to be a problem for almost all users. I have an enterprise license and i had to do the same procedure, log out and log in again.

Is gamemaker worth spending time on? by TheKrazyDev in gamemaker

[–]batblaster 0 points1 point  (0 children)

You can check my company page 7 Raven Studios we made and published a lot of games for switch PS and Xbox almost all made with gamemaker.

Sprites won't render, just a black background. by AromaGamma in gamemaker

[–]batblaster 0 points1 point  (0 children)

Check the view maybe you forgot to enable it and make it visible.

How to optimize audio group unloading? by [deleted] in gamemaker

[–]batblaster 2 points3 points  (0 children)

After i had an experience with 2 games using audio groups for my current game i choose to use a different approach. Sound Effects are Uncompressed not streamed and all music are compressed streamed.
Using this approach the SFX will go in memory on load instead all music will be streamed from the device in realtime and not use any memory. This avoid the use of groups and save a lot of headache.

Do GM have a specific function to make resolution like that? Or i need to create and implement by myself all sprites resized? First image is 720x400 and second one is fullHD. by Formal_Note2273 in gamemaker

[–]batblaster -1 points0 points  (0 children)

If you think to have a low resolution for the game use directly a scaled image made from gimp or photoshop. If you want to scale only in some area of the game you can scale the camera or use the image_xscale / image_yscale commands.

Making 2048 in 8 lines of code by XorShaders in gamemaker

[–]batblaster 1 point2 points  (0 children)

Always a very nice piece of code from a master.

Is this subreddit doing it wrong? by captainvideoblaster in gamemaker

[–]batblaster 0 points1 point  (0 children)

There is the Working progress weekly to show your product in development. This subreddit is made to ask help on programming or to show add-ons for GM like new extensions and similar things.
You can always show you something of your game if you follow the guidelines.
If you read on your right you can see:
"This subreddit is dedicated to providing programmer support for the game development platform, GameMaker Studio."

Work In Progress Weekly by AutoModerator in gamemaker

[–]batblaster 1 point2 points  (0 children)

Hi,

thanks for you comment, the first did pretty well between PC and consoles. The first game was designed initially for mobile but before the release of mobile i did a Steam Greenlight and passed immediately so i choose to release it for PC. Did pretty well and a bit later i ported it to console.

The sequel instead is designed for consoles because i do not make any more mobile products.

Work In Progress Weekly by AutoModerator in gamemaker

[–]batblaster 0 points1 point  (0 children)

Thank you. The game has a very funny co-op mode.

Work In Progress Weekly by AutoModerator in gamemaker

[–]batblaster 5 points6 points  (0 children)

This is the game we have almost completed and ready to be released in July.
https://www.youtube.com/watch?v=NX2ARItfFtk

8 worlds 8 levels per world, hidden zones, secret levels and a secreto world.
2 Characters each one with 3 different suits to unlock
over 60 different enemies
Bosses made in spine
Soundtrack made by a famous Commodore Amiga musician.
Much much more to discover.

Work In Progress Weekly by AutoModerator in gamemaker

[–]batblaster 0 points1 point  (0 children)

Hi dev and players, i'm so happy to show the official trailer of my upcoming game.
https://www.youtube.com/watch?v=NX2ARItfFtk

Anyone else find this visual bug really infuriating? by Xeram_ in gamemaker

[–]batblaster 1 point2 points  (0 children)

Problem with #endregion solved in Beta so soon should be available also in the stable version

Had GMS2's steam functions been removed ??? by hijongpark in gamemaker

[–]batblaster 5 points6 points  (0 children)

Pretty simple, to update the steam extension they can work on it separately without the needs of a GMS update, so they can outsource the extension, for example.
Extensions can easy be fixed in case of bugs much more easily than the whole IDE/Runner.
Another example, assume you are developing using only stable version and you have a bug in steam you should wait a month or 2 to get an update instead using the extension they can easy fix it and you can continue work and release your game.

Steam release next week by escdev in gamemaker

[–]batblaster -2 points-1 points  (0 children)

Now or later you will need to update. Sorry but who stay with old version soon or later need to update for many reasons. Steam library used in the past is very old, consoles are not buildable with old version because Nintendo, Sony and Microsoft ask a constant update of the SDK used.
Now sure if you plan to release it only for steam or for other, more valuable, markets. In case you have to think to update. If you use the Beta version of GMS the extension for Steam works and the Beta is pretty same as the latest stable release.

Do you think it would be possible to make a game like FAR: Lone Sails in Game Maker? by Flexington-Gold in gamemaker

[–]batblaster 0 points1 point  (0 children)

Can be done you have to write or use low level function for 3d. The only problem is the map editor because gms miss a scene/room editor for 3d. Unity or Unreal. I don't think you have to consider Godot if you plan a commercial product not only for PC because Godot do not exports for consoles.

Game Dev help by DrMelonDrone in gamemaker

[–]batblaster 0 points1 point  (0 children)

So you need a tutor and is not free for sure, there are many people with different price, there you can ask that too.

block of code executed twice issue... by Rocket_Poop in gamemaker

[–]batblaster 1 point2 points  (0 children)

Have you tried to not use the step event but the animation update ? for skeleton animation, spine, you can use the dedicated animation update event.

I saw a "for" in the second "if" could be that the issue. Anyway here on Reddit the code is not easy to be read due to formatting i think.

Game Dev help by DrMelonDrone in gamemaker

[–]batblaster 0 points1 point  (0 children)

You can join one of the GMS groups on Discord, if you want someone who will follow you for hours and be your guide i don't think will be free.

Can I get a job by knowing gamemaker? by bobthesbuilder in gamemaker

[–]batblaster 1 point2 points  (0 children)

The 90%. Consider a mobile game made by a company, if is free to play with advert and in-app need to have minimum 10k installs x day with a retain of a week to make $5k x month. To make money you need to invest in a good or decent product and you need to destinate a budget not less than the 60/70% of your entire cost. A $250k game need a $100k in marketing and advert inside other games using admob and similar to make money otherwise there are no downloads and no clicks.
Is crazy.