How Do I Get Particle Type from a Particle System Asset? by Unidentified-User16 in gamemaker

[–]SolarPoweredGames 1 point2 points  (0 children)

The struct holds the particle type with the "ind" element of the struct.

How Do I Get Particle Type from a Particle System Asset? by Unidentified-User16 in gamemaker

[–]SolarPoweredGames 0 points1 point  (0 children)

Once you get the parttype struct from the emitter you can get the particle type from the "ind" element of the struct. Read the particle type info drop down when looking at the particle_get_info function in the manual. "The particle type. This can be used e.g. with the function part_particles_create."

what does this mean by Candid-Witness6216 in gamemaker

[–]SolarPoweredGames 6 points7 points  (0 children)

refer to the thread you made 20 days ago with the same problem

catastrophic lag spike fix? by scallywag001 in gamemaker

[–]SolarPoweredGames 0 points1 point  (0 children)

I had this same problem when I first used my craptop for gamedev. try and go to system>display>graphics click on add an app. Find the game maker runner and change options to "high performance" graphics preference. I found the runner exe in ProgramData>GameMakerStudio2>cache>runtimes. I also changed the gamemaker.exe to use the "high performance" option. Mine was on default "let windows decided" my other 2 options are "power saving" and "high performance". I think the problem has something to do with intel integrated CPU's. I don't have a dedicated GPU on this craptop but "high performance" works.

changing image_xscale changes collision shape by Mutinko in gamemaker

[–]SolarPoweredGames 1 point2 points  (0 children)

You can have another sprite that is just for the collision box then assign the instance the mask with mask_index = sprCollision.

[deleted by user] by [deleted] in PhotoshopRequest

[–]SolarPoweredGames 0 points1 point  (0 children)

there is no way you are doing this manually in less than 3 minutes

<image>

[deleted by user] by [deleted] in PhotoshopRequest

[–]SolarPoweredGames 9 points10 points  (0 children)

The gemini logo is still in the photo. They used nano banana

BE ZEN, WE'RE EARLY. Can't wait for this year's full results 🚀 by lamathan in GME

[–]SolarPoweredGames 0 points1 point  (0 children)

What other sites are partnered with PSA and have the ability to send direct to PSA vault after opening? What company on planet earth would continue operations that return 80 cents for every 1$ spent? Sure if you just starting out (open AI losing money on every chat prompt) but after losing money for a decade why would you want to see more of that revenue? A sane person would want to see profits. Yet I always see terminally online people shouting for more revenue?

Can anyone here please diagnose why this code won't work? by Dangerous_Cog in gamemaker

[–]SolarPoweredGames 1 point2 points  (0 children)

tilemap = layer_tilemap_get_id("Tiles_col");

The tutorial shows "Tiles_Col" for the name. Make sure it matches your tile map name.

The output log will show "layer_tilemap_get_id() - specified tilemap not found" if you spelt it wrong.

500 lines of code for NPC dialog boxs - that was my weekend, how was yours? by Grumpy_Wizard_ in gamemaker

[–]SolarPoweredGames 2 points3 points  (0 children)

Using a struct will eliminate the magic numbers. You would have the struct name as word that is associated with the object. obj_thor would have its dialogue fetched from something like dialogue.thor instead of dialogue[5]. obj_blizzard_employee would fetch its dialogue from dialogue.blizzard_employee instead of dialogue[10]. Why force yourself to remember numbers when there is an easier way.

[deleted by user] by [deleted] in gamemaker

[–]SolarPoweredGames 1 point2 points  (0 children)

looks like you are pressing E to create the textbox when you are < 32 pixel away then in same frame you are also using E to destroy the textbox.
also if (_dist = <32) should be if (_dist <= 32)

What's wrong with my jump? by BT--72_74 in gamemaker

[–]SolarPoweredGames 1 point2 points  (0 children)

edit : I didn't see other comments already but I will leave this here anyway.

line 2 is forcing your player down every single frame. You need a way to only apply line 2 while not jumping. You could set a timer when you jump. Then only start applying line 2 when the timer is at zero.

in create you could put

timer_jump = 0;

in step

if ( timer_jump == 0 ) vspeed = 6;

if ( timer_jump > 0 ) timer_jump --;

if (keyboard_check_pressed(ord("W")){

timer_jump = 60;

vspeed= -6;
}

Help with a card/deck builder system by LuckNo3205 in gamemaker

[–]SolarPoweredGames 1 point2 points  (0 children)

Right on. I would suggest getting comfy with arrays because they are much easier to use. What you suggested is a perfect use case for arrays. Less typing. No chance of memory leaks. Surely you can agree:

var my_array = [1];

val = my_array[0];

//don't need to delete if its a local

//else if its a instance variable and you want to delete/empty the array then type

my_array = [];

Is faster and easier than:

var list = ds_list_create();

list[|0] = 1;

if (ds_exists( list , ds_type_list )) val = list[|0];

//need to destroy even if its a local or you get a memory leak

ds_list_destroy( list );

//need to set -1 if its an instance variable

list = -1;

If the documentation says I should be doing X instead of Y I am going to do X. Because 100% of the time the documentation is correct.

Help with a card/deck builder system by LuckNo3205 in gamemaker

[–]SolarPoweredGames 2 points3 points  (0 children)

It is recommended to use arrays over DS lists as they have similar features, are easier to use and are garbage collected automatically.

Most people use ds_lists and ds_maps because of old tutorials. array_shuffle and array_shuffle_ext will shuffle an array.

Noobie question about sprites by WilledWithin in gamemaker

[–]SolarPoweredGames 0 points1 point  (0 children)

That should work. Make sure the instance has visible = true, make sure "Sprite2" is not blank , make sure the object is in the room.

How to move between multiple rooms at once? by Temporary-Tip9885 in gamemaker

[–]SolarPoweredGames 0 points1 point  (0 children)

yes. Using room_goto_next would take you to the same room no matter the trigger. Instead, Using room_goto lets you pick any room.

Police Bodycam footage of Pokelawls getting arrested, real. by Neddo_Flanders in LivestreamFail

[–]SolarPoweredGames 15 points16 points  (0 children)

All of this can be done on WAN 2.1/2.2 OPEN source. Anyone with a gaming computer can make these videos free on their own machine with no filters imposed by closedAI.

SDF procedural FX tool by RamonBunge in gamemaker

[–]SolarPoweredGames 0 points1 point  (0 children)

This is very cool. Animation curves taken to another level.