GMLscripts.com (@gmlscripts) profile picture

http://t.co/rolFvJuHz6 Official Outflow Pipe – GOOP!

Information Superhighway
Joined June 2014
Photo by GMLscripts.com (@gmlscripts)Photo by GMLscripts.com (@gmlscripts)Photo by GMLscripts.com (@gmlscripts)Photo by GMLscripts.com (@gmlscripts)Photo by GMLscripts.com (@gmlscripts)
GMLscripts.com retweeted
Been working on a small data structure library for GML, any other functions you think would be beneficial? 🤓 #gamemaker
3
2
10
I do! For certain definitions of maintain.
It's time to discuss a new GameMaker Studio 2 style guide for the site. 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];
1
2
12
Several collision list scripts from the site are now improved native functions in GameMaker Studio. The scripts will probably be removed in a future update, though they have some use in GM:Studio v1.4.9999.
There are even an algorithms that work in linear time but they are quite complex. See B. Chazelle and N. Amato.
1
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
1
3
6
Replying to @smallbigsquare
Yes. That script is not terribly fast. It uses a fairly naive randomized ear-clipping algorithm that was easy for me to understand. There are number of better algorithms based on monotone polygon decomposition. One even appears in Mark Overmars' Computational Geometry book.
2
1
Replying to @steampanic
Pretty similar, though it would be difficult not to be. :)
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…
1
1
5
Replying to @YellowAfterlife
I keep forgetting about the very useful draw_sprite_pos() function.
2
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 results
4
3
5
Thank you, Gilles! You are also the best! Yes, it works that way!
Crisis averted! The site should be back up. Thank you, Mark. You're the best!
1
1
1
Apologies for the site downtime. I cannot do any banking until Monday. The process can be expedited if you are so inclined. paypal.me/gmlscripts
1
2
3