GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 Re: GML Code Help » Draw Table Function » 2018-09-19 20:03:54

Oh, nice. Thanks for these. I'll take a look.

Question. When do you update scripts that have been submitted? I've seen multiple times from forum links on the GM forums of useful scripts, but don't really see them ever in the script section of this site? Isn't it suppose to be pushed over as a useful script for otherwise to find, otherwise you just have to hope that you eventually come across it inside a forum.

#3 Re: GML Code Help » Draw Table Function » 2018-09-16 15:17:33

Question for you, do you know of any good GUI, I want to work on a statistics simulation, but I need to be able to see all the variables, problem is, hate having to set each one up, wish there was a cleaner way to do this, or at least some interface that could show me them in almost table format, otherwise Its just text randomly on the screen. Worst case, I'll just draw a rectangle and align the numbers.

#4 Re: GML Code Help » Draw Table Function » 2018-09-16 15:14:57

I see. and thanks for the resources. It does make sense due to the visuals. I was just hoping we could have a more "responsive" system. Not sure I'm a big fan of having to statically assign the y/x etc. I get it on UI placement, but there really is no option for 100% of a set space? Like html/css. Lot more math involved to get these damn pixels all aligned properly. haha.

#5 GML Code Help » Draw Table Function » 2018-09-16 12:41:52

idealcastle
Replies: 6

It would be great for a function that could draw a table, based on how many columns and your data for each row. I dont have a solution for this yet, but will need one soon. Thoughts?

#6 Re: Script News & Announcements » Not-so-minor SSL Update » 2018-09-13 23:07:59

xot wrote:

Trying to get the site to redirect to HTTPS has been nightmare. No matter what I tried I'd get a redirection loop, even if I eliminated every other rule in case there was some conflict. Same thing with this suggestion.

However, it prodded me to explore this more deeply and it looks like I neglected a server setting which is what was apparently causing the conflict. I was "doing it wrong" trying to get this going with .htaccess. I think it should be working properly now.

Thanks.


Awesome looks like its working on my end!

#7 Re: Script News & Announcements » Not-so-minor SSL Update » 2018-09-12 20:57:42

I notice the site is still running HTTP. If you're using Apache you can use an auto-forwarding redirect over to HTTPS.

Something like this:

ExpandRewriteEngine On 
RewriteCond %{HTTPS} !=on 
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

#8 Re: Script Submission » ARRAY: in_array() » 2018-09-12 20:50:35

No problem! Glad to be here. I've used game maker 1.4 many many years ago. I've been in web dev for a long time now, and im moving back into some game dev projects. Would love to help build up some resource. smile

#9 Script Submission » ARRAY: in_array() » 2018-09-12 09:53:58

idealcastle
Replies: 2

This is similar to the PHP version of "in_array(value, array)"

Expand//  in_array(value,array)
//
//  Returns boolean of true/false 
//  checks if item is within the array or not
//
//      value       value to check, string
//      array       group of elements, array
//

var searchArray = argument[1];
var findValue = argument[0];   
   
var loop = 0;
repeat (array_length_1d(searchArray)) 
{	
	if (searchArray[loop++] == findValue) return true;
}

return false;

Board footer

Powered by FluxBB