Jump to content


Photo

Put a colour picker in your game


  • Please log in to reply
35 replies to this topic

#1 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 17 November 2011 - 09:13 PM

Put a colour picker in your game easily
1. no more irritating pop ups
2. 1 script + 1 sprite, It can even be implemented into an existing object
3. capable of 3,796,416* Colours

It looks like this:
Posted Image

Version 2 has 2 modes the second one being like this:
Posted Image

Download from Mediafire
Download version 2 from Rapidshare

Feel free to use this, but please give credit

* 3796416 colours only available in mode 1; 3796416 is only an estimate [power(156<the selector resolution>,3)]

Edited by SI II man, 01 December 2011 - 01:38 PM.

  • 3
When are they going to do a Linux port already?

#2 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 17 November 2011 - 10:33 PM

I think you're supposed to provide source straight away, not "coming soon"...
  • 0
String Distortion (Now Staff Picked!)

The .gmx format disassembly

I'm always happy to help with a problem or question you have regarding Game Maker. Feel free to ask me anything you want!

#3 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 18 November 2011 - 03:54 PM

Download now available sorry for the delay.
  • 0
When are they going to do a Linux port already?

#4 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 20 November 2011 - 12:16 PM

I like this, looks like it might be in the next version of quickpad
  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#5 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 26 November 2011 - 05:29 PM

err... quickpad?

FYI: is that my picker in your game?
Posted Image
That's exactly the type of thing I planned it to be used for.

(It actually works?... Not bad for 30 mins coding.)

small request: Could you give credit PLZ.

Edited by SI II man, 26 November 2011 - 05:38 PM.

  • 0
When are they going to do a Linux port already?

#6 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 26 November 2011 - 06:48 PM

err... quickpad?

FYI: is that my picker in your game?
Posted Image
That's exactly the type of thing I planned it to be used for.

(It actually works?... Not bad for 30 mins coding.)

small request: Could you give credit PLZ.

it is a bit glitchy but it is still good, yes it is yours, and yes I will give you credit but next time, please could you mention that you want credit in your first post.
  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#7 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 27 November 2011 - 09:16 PM


err... quickpad?

FYI: is that my picker in your game?
Posted Image
That's exactly the type of thing I planned it to be used for.

(It actually works?... Not bad for 30 mins coding.)

small request: Could you give credit PLZ.

it is a bit glitchy but it is still good, yes it is yours, and yes I will give you credit but next time, please could you mention that you want credit in your first post.


Glitchy? Name it and I'll (try to) fix it. :turned:

Edited by SI II man, 27 November 2011 - 09:18 PM.

  • 0
When are they going to do a Linux port already?

#8 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 28 November 2011 - 04:13 PM



err... quickpad?

FYI: is that my picker in your game?
Posted Image
That's exactly the type of thing I planned it to be used for.

(It actually works?... Not bad for 30 mins coding.)

small request: Could you give credit PLZ.

it is a bit glitchy but it is still good, yes it is yours, and yes I will give you credit but next time, please could you mention that you want credit in your first post.


Glitchy? Name it and I'll (try to) fix it. :turned:


sometimes the color flashes to the original color, I think it can be fixed by making the color pointer invisible. plus I have a theory about your script which might improve its flexibility
  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#9 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 28 November 2011 - 04:22 PM

This has been annoying me for a while, so I'll say it now - the plural of "pop-up" is "pop-ups". There should be no apostrophe.
  • 0
String Distortion (Now Staff Picked!)

The .gmx format disassembly

I'm always happy to help with a problem or question you have regarding Game Maker. Feel free to ask me anything you want!

#10 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 28 November 2011 - 04:25 PM

This has been annoying me for a while, so I'll say it now - the plural of "pop-up" is "pop-ups". There should be no apostrophe.


oh, I never knew you were into english???
  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#11 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 04:38 PM

err... quickpad?FYI: is that my picker in your game?Posted ImageThat's exactly the type of thing I planned it to be used for.(It actually works?... Not bad for 30 mins coding.)small request: Could you give credit PLZ.

it is a bit glitchy but it is still good, yes it is yours, and yes I will give you credit but next time, please could you mention that you want credit in your first post.

Glitchy? Name it and I'll (try to) fix it. :turned:

sometimes the color flashes to the original color, I think it can be fixed by making the color pointer invisible. plus I have a theory about your script which might improve its flexibility

Go on... (and which pointer (there are 3 counting the mouse)

This has been annoying me for a while, so I'll say it now - the plural of "pop-up" is "pop-ups". There should be no apostrophe.

Spelling isn't my strong point (it was typed while tired)
fixed where possible

Edited by SI II man, 28 November 2011 - 04:40 PM.

  • 0
When are they going to do a Linux port already?

#12 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 28 November 2011 - 05:35 PM

Spoiler


1. you could use this Posted Image instead of the current color picker.

2. I mean the pointer that selects the main color

Edited by faissialoo, 28 November 2011 - 05:42 PM.

  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#13 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 28 November 2011 - 05:41 PM

Spelling isn't my strong point (it was typed while tired)
fixed where possible

It was actually the one in the topic description I was referring to mostly :P
Thanks though!
  • 0
String Distortion (Now Staff Picked!)

The .gmx format disassembly

I'm always happy to help with a problem or question you have regarding Game Maker. Feel free to ask me anything you want!

#14 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 05:57 PM


Spelling isn't my strong point (it was typed while tired)
fixed where possible

It was actually the one in the topic description I was referring to mostly :P
Thanks though!


after a reply has been made you can't change it.
Don't know why. Can't say I didn't try
  • 0
When are they going to do a Linux port already?

#15 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 06:01 PM

Spoiler


1. you could use this Posted Image instead of the current color picker.

2. I mean the pointer that selects the main color


1. mine has 3,796,416 possible colours. Yours has 127 (PM me if you really care how I worked these out.) Math FTW (Come on this is a programming forum after all)
2. The selector is a ring so it being read as the colour shouldn't be a problem. When exactly does the reset happen; I never came across this in testing.

Edited by SI II man, 28 November 2011 - 06:06 PM.

  • 0
When are they going to do a Linux port already?

#16 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 28 November 2011 - 06:04 PM


Spoiler


1. you could use this Posted Image instead of the current color picker.

2. I mean the pointer that selects the main color


1. mine has 3796416 possible colours. Yours doesn't
2. The selector is a ring so it being read as the colour shouldn't be a problem. When exactly does the reset happen; I never came across this in testing.


1. sorry I worded it wrong, I mean't you can add this as an option.
2.I think it just happens when dragging it sometimes

Edited by faissialoo, 28 November 2011 - 06:05 PM.

  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#17 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 06:18 PM

Spoiler


1. sorry I worded it wrong, I mean't you can add this as an option.
2.I think it just happens when dragging it sometimes

1. so 2 tabs like in the MS office 2003 one
2. err... i'll look into it (does it reset back to red 255 or does the colour go gray-ey)

Edited by SI II man, 28 November 2011 - 06:19 PM.

  • 0
When are they going to do a Linux port already?

#18 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 28 November 2011 - 06:37 PM

Spoiler


1.no I mean something like this:
sc_colour(type)
type would be either 1(your standard one) or 2 (the hex color diagram).
2.I think it is because it picks up the color of the selector instead of the one it should, the color goes grey(maybe white)

oh and did you like nyan sonic???

Edited by faissialoo, 28 November 2011 - 06:41 PM.

  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#19 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 06:45 PM

Spoiler

1. I'll give that a try
2. You gotta move the mouse really* fast for that, and once you stop the mouse it sorts it's self out, so it's not really a problem.

*
Spoiler

Edited by SI II man, 28 November 2011 - 06:47 PM.

  • 0
When are they going to do a Linux port already?

#20 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 28 November 2011 - 07:02 PM


Spoiler

1. I'll give that a try
2. You gotta move the mouse really* fast for that, and once you stop the mouse it sorts it's self out, so it's not really a problem.

*
Spoiler


2. it does not have to be very fast, how about the pointer moves faster( tip:
draw_sprite(sp_colour,3,mouse_x,mouse_y)
)???
  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#21 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 07:18 PM

2. the pointer pos updates every step, so cannot go faster unless you increase the room speed.
  • 0
When are they going to do a Linux port already?

#22 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 28 November 2011 - 07:33 PM

2. the pointer pos updates every step, so cannot go faster unless you increase the room speed.


then just do this:
room_speed=50

  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#23 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 08:01 PM

1. 2 mode colour picker (link soon media fire is down :verymad:(so no moaning Dark Matter)) (when implementing you can omit the button)
2. It already does that. To go faster increase the room speed
3. this is my first topic to go multi page

Edited by SI II man, 28 November 2011 - 08:18 PM.

  • 0
When are they going to do a Linux port already?

#24 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 28 November 2011 - 08:36 PM

<Oops I forgot I can't delete posts>

Edited by SI II man, 28 November 2011 - 08:37 PM.

  • 0
When are they going to do a Linux port already?

#25 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 29 November 2011 - 08:20 AM

The link is working now(i think),looking forward to V2
  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#26 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 29 November 2011 - 04:26 PM

V2 -Rapidshare *Dumps Mediafire for awfulness*
  • 0
When are they going to do a Linux port already?

#27 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 29 November 2011 - 04:49 PM

man, the new version is wicked!!!Posted Image

by wicked I mean:
Spoiler
wicked
  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#28 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 29 November 2011 - 06:30 PM

you like it then?
  • 0
When are they going to do a Linux port already?

#29 Mr Game

Mr Game

    GMC Member

  • New Member
  • 177 posts
  • Version:GM8

Posted 27 April 2012 - 03:33 PM

Version 2 is not available :(
EDIT: ....but version 1 is just fine. Except for few bugs

Edited by Mr Game, 27 April 2012 - 03:43 PM.

  • 0
If you are with us, you are with Gii.
If you are with Gii..... well, you are with us.

-----------

Gii isn't only a team; it's a philosophy of the creativity.

#30 SI II man

SI II man

    GMC Member

  • New Member
  • 83 posts

Posted 27 April 2012 - 06:36 PM

Rapidshare delete's files after a while

NOTICE: I no longer use Game Maker; there is now no support for this item.
  • 0

#31 Mr Game

Mr Game

    GMC Member

  • New Member
  • 177 posts
  • Version:GM8

Posted 28 April 2012 - 07:30 PM

:(
  • 0
If you are with us, you are with Gii.
If you are with Gii..... well, you are with us.

-----------

Gii isn't only a team; it's a philosophy of the creativity.

#32 TepigMC

TepigMC

    GMC Member

  • New Member
  • 5 posts
  • Version:GM:Studio

Posted 10 April 2013 - 05:18 AM

Can you add a function to darken/lighten the selected color?

 

like this: http://2.bp.blogspot...00/Untitled.png


  • 0

#33 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1294 posts
  • Version:GM8.1

Posted 10 April 2013 - 12:16 PM

Can you add a function to darken/lighten the selected color?

 

like this: http://2.bp.blogspot...00/Untitled.png

 

 

Rapidshare delete's files after a while

NOTICE: I no longer use Game Maker; there is now no support for this item.


  • 0

cooltext680386545.png
The YYGF subreddit: /r/YYGF


#34 TepigMC

TepigMC

    GMC Member

  • New Member
  • 5 posts
  • Version:GM:Studio

Posted 11 April 2013 - 07:19 PM

Then could someone else code it? I dont know how to code that.


  • 0

#35 lucamagnetti

lucamagnetti

    GMC Member

  • New Member
  • 1 posts
  • Version:GM:Studio

Posted 09 August 2013 - 03:36 PM

how do I move all the way down right into a room of 740x560.
thanks (I'm Italian)


  • 0

#36 gabrielcrowe

gabrielcrowe

    GMC Member

  • GMC Member
  • 34 posts
  • Version:GM:Studio

Posted 17 February 2015 - 02:39 PM

This is perfect for my level editor, thank you, credit will be provided in my game on release. excellent work, nice and easy to use/understand.

 

ex72Dzh.png


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users