Jump to content


Photo

Help!


  • Please log in to reply
8 replies to this topic

#1 Enoch11223344

Enoch11223344

    GMC Member

  • GMC Member
  • 18 posts

Posted 25 February 2012 - 05:36 AM

Hi could someone please help me with a game that I am trying to make it would be very appreciated. The thing is, is that I am trying to have a sprite be colored using color_blend, but whenever I try that it looks stupid and doesn't have the same type of coloring as the original sprite.

I tried to use the colorize in the image editor and it worked and looked nice, but I can't make it so that it will work.

P.S. Trying to do like a Character Select type thing but just a Color Select.

http://sandbox.yoyog...94925-game-help

Please download and tell me what I can do!!! :smile:

Thank You.

Edited by Enoch11223344, 25 February 2012 - 11:28 PM.

  • 0

#2 111Studio

111Studio

    GMC Member

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

Posted 25 February 2012 - 05:42 AM

The link doesn't work for me. Says that the page could not be found.
  • 0

#3 Enoch11223344

Enoch11223344

    GMC Member

  • GMC Member
  • 18 posts

Posted 25 February 2012 - 11:33 PM

The link doesn't work for me. Says that the page could not be found.

I fixed the link.
  • 0

#4 RangerX

RangerX

    GMC Member

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

Posted 26 February 2012 - 01:32 AM

The color blending functions aren't really good. They simply change the hue or the sprite (I think) and it might not be the effect you need.
  • 0

#5 Enoch11223344

Enoch11223344

    GMC Member

  • GMC Member
  • 18 posts

Posted 26 February 2012 - 06:45 AM

The color blending functions aren't really good. They simply change the hue or the sprite (I think) and it might not be the effect you need.

I know... So What should I do....:huh:
  • 0

#6 RangerX

RangerX

    GMC Member

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

Posted 26 February 2012 - 03:05 PM

You should have 2 sprites. One that is the normal version and the other that is the selected one. Change the sprite at the moment you need it to change in your code. It might need a tad of reworking but it will work fine in the end.
I've done menus like that.
  • 0

#7 Enoch11223344

Enoch11223344

    GMC Member

  • GMC Member
  • 18 posts

Posted 29 February 2012 - 06:39 AM

You should have 2 sprites. One that is the normal version and the other that is the selected one. Change the sprite at the moment you need it to change in your code. It might need a tad of reworking but it will work fine in the end.
I've done menus like that.

I am so sorry, but i am a noob and have no clue how to do that. :mellow:
  • 0

#8 RangerX

RangerX

    GMC Member

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

Posted 29 February 2012 - 02:11 PM

To change an object's sprite index is as simple as using its sprite_index variable...

Let's objectX is currently using the sprite "button_normal" and you want to change it for "button_highlight":

sprite_index=button_highlight;


This is extremely basic coding, can you code at all and are you aware of what making your game will demand you? I see TONS of people starting project they will never finish because their dream game is simply over their capacity to create. (not saying its necessarily your case, I am just curious if you know where you're actually going)
  • 0

#9 Enoch11223344

Enoch11223344

    GMC Member

  • GMC Member
  • 18 posts

Posted 01 March 2012 - 09:29 PM

To change an object's sprite index is as simple as using its sprite_index variable...

Let's objectX is currently using the sprite "button_normal" and you want to change it for "button_highlight":

sprite_index=button_highlight;


This is extremely basic coding, can you code at all and are you aware of what making your game will demand you? I see TONS of people starting project they will never finish because their dream game is simply over their capacity to create. (not saying its necessarily your case, I am just curious if you know where you're actually going)

I tried that, but then I have to have a billion sprites if someone wants a certain color, that is why I didn't use that method because I am trying to have more than three or four colors.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users