Game dev #2 no name


no name

This is where i talk about stuff that doesn't fit into any category i used to name it into please give me suggestions 

Monday

Nothing??? SorryπŸ˜… i be slacking off

Tuesday 

My code wasent working so i did my totally favourite task reading my code like a computer i was wondering what i do wrong well not reading the documentation enum in javascript in older versions this was a for repeat loop

I am not β€œcool” so i write code this way 

for(let i = 0; i <10;  ++)
{
    stuff();
}

I always write code like this

Var i = 0;
repeat(3)
{
    i++;
    debug(i);
}

in functions you see

I have a β€œscrip valuables” that only exist in the script I didn't want to write the valuable outside the loop, but why, I honestly don't know why I keep caring in the little thing this is eventually gonna cost me a lot of time, I wrote my code like his

repeat(gl)var i = 0;
{
    i ++;
    add_list(gv, list(gc, (gh, i)));
}

This is simplified this is the real code

repeat(guns_held_size) var i = 0;
{
    var _gunid = ds_list_find_value(guns_held, _i);
    ds_list_add(guns_cooldown, ds_list_find_value(guns_idcooldown, _gunid));
    ds_list_add(guns_ammo, ds_list_find_value(guns_idammo, _gunid));
    ds_list_add(guns_cooldownval, ds_list_find_value(guns_idammo, _gunid))
    _i ++;
}

The index of the lists above 0 would show as undefined I was confused and tired doing

Var i = 0;
repeat(120498034)
{
    i ++;
    stuff(i)
}

And it worked aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Coding in a nutshell

Wednesday

I studied gml’s particle system, animation curve(easing functions) and sequences

Now coding makes no sense to me,

Also I made a animation for shootingit's named Friday 1 gif so I don't know what's going on.

Thursday

Sorry i am just really lazy this weekπŸ™‡β€β™‚οΈπŸ™‡β€β™‚οΈπŸ™‡β€β™‚οΈπŸ™‡β€β™‚οΈπŸ™‡β€β™‚οΈπŸ™‡β€β™‚οΈπŸ™‡β€β™‚οΈπŸ™‡β€β™‚οΈπŸ˜…πŸ˜…πŸ˜…πŸ˜…πŸ˜…πŸ˜…πŸ˜…πŸ˜…

Friday

Started working on a zombie script let me explain it, I have already made a cooldown script so I can repurpose that, i don't want a timer based spawning because that's lame, sofist I have a list that corresponds to a list, first list will be increasing by 1 every frame (my game is frame based not deltatime based) (index 0 is null because lists shouldn't start at 0) the script will be spending that money and spawning enemies, each will be assigned a cost and some enemies will give the script more money sounds simple but I spent this whole day coping over the code from the player object and its still not done

Get Beta shooter

Leave a comment

Log in with itch.io to leave a comment.