GMLscripts.com retweeted
Been working on a small data structure library for GML, any other functions you think would be beneficial? 🤓 #gamemaker
It's time to discuss a new GameMaker Studio 2 style guide for the site.
gmlscripts.com/forums/viewto…
Massive Update - GMLscripts.com 3.5
gmlscripts.com/forums/viewto…
GMLscripts.com retweeted
How to convert 3D world coordinates to 2D GUI:
///@arg {vec3} position
var v = argument0;
var p = matrix_transform_vertex(matrix_get(matrix_world
),v[0],v[1],v[2]);
var cx = (p[0] / p[2] + 1) *.5 * view_wport[0];
var cy = (p[1] / p[2] + 1) *.5 * view_hport[0];
return [cx,cy];
GMLscripts.com retweeted
More edge cases solved. There are few left to fix. Mostly stable now. I have added triangulation method from the great @gmlscripts website.
Do you know other (faster) triangulation methods❔❔❔
#indiegamedev #gamedev #indiedev #gamemaker #gamemakerstudio #gml
GMLscripts.com retweeted
Replying to @gmlscripts
I think we've talked about this once, but if it is merely a rectangle (or other pointy shape), transforming the coordinates yourself is going to be cheaper than building matrices and a texture swap - my recent post had an over-extended formula yal.cc/gamemaker-draw_sprite…
Secret Script:
draw_rectangle_rotated()
pastebin.com/NuvnL4QF
This same technique can be easily applied to drawing of any kind.
GMLscripts.com retweeted
What version of GameMaker Studio do you use?
23%Studio 1.x Exclusively
10%Studio 1.x Mostly
22%Studio 2.x Mostly
46%Studio 2.x Exclusively
168 votes • Final resultsApologies for the site downtime. I cannot do any banking until Monday. The process can be expedited if you are so inclined. paypal.me/gmlscripts
GMLscripts.com retweeted
5 Useful Scripts for GameMaker Studio 2 (and 1!) ... with more scripts in the comments.
youtube.com/watch?v=2FroAhEs…
GMLscripts.com retweeted
Great illustration of what this GameMaker script does.
gmlscripts.com/script/collis… xitter.cf/kometbomb/status/87562…
Secret Script:
merge_colors(col1,col2,...,amount) - Blends a series of two or more colors by the given amount.
pastebin.com/xEKxDr4n
Happy Birthday! GMLscripts.com turned 10 years old this month. Expect it to get more petulant and surly.
New Script: unix_timestamp() - Returns a Unix timestamp for the current time or a given GameMaker datetime value.
gmlscripts.com/script/unix_t…








