Jump to content


hans80

Member Since 21 Jul 2006
Offline Last Active Feb 27 2012 06:40 PM

Topics I've Started

to gmspr convert tool?

26 July 2011 - 03:31 PM

hi guys!

i didn't know where to put this, so i put it here ^^

is there a tool that converts a set of images (png) to a gmspr? (like a one-click batchfile process)

i render in 3dsmax and have a bunch of 8direction pngs at the end.
i wrote an autoit-script, that kinda automates the process in gamemaker of importing the
images as sprites and save them as .gmspr files (up.gmspr, left.gmspr...etc), but i was wondering if there's a tool to speed up the process even more?

thanks :)

realtek hd audio driver - slow loading

02 February 2011 - 02:09 AM

hi guys.

i switched to win7 64bit a few days ago.(from xp 32bit)
now every game i load (eg: new game with 1 room)
takes significantly longer to load. (holds at 'sounds' in debug mode)

i know it's a driver problem, but i fear it ain't gonna get fixed.

i was hoping for a "load without sound-drivers" option in 8.1 or something.
because at this load speed i can't just quickly test something like i used to.

if i deactivate the driver it's a lot better, but still not like on xp.
and i can't do that cause i like to hear music while i am programming :)

any ideas anyone?

update: screw win7, i'm going back to xp ;)
last update: the /3GB in boot.ini switch can crash the whole system when compiling, so i don't recommend it ;)



cheers

Rotate Linked Around Pivot?

05 April 2010 - 03:31 AM

hi guys!

i have a problem.

i want to rotate seperate instances with different sprites around a shared pivot.
they have to stay in their proper place, with the right rotation while doing so.
here it is illustrated:

Posted Image
rot_prob.jpg

like they are all linked together, as if they were one instance.
how to do that?

thanks ^_^

8 Directional Animation Loop

09 February 2010 - 10:23 AM

hello guys :)

i am trying to get an automatic animation loop system to work, but it doesn't..

right, i have one single sprite with lets say a walk animation. the animation for each direction is 3 frames long. (starting with right, going clockwise in 8 directions)

so it's w_r_00, w_r_01, w_r_02, w_dr_00, w_dr_01... and so forth until w_ur_02

i've got the facing part working, depending on which direction you're heading, it'll give the apropriate starting sprite.

but now comes the issue, i want it to of course loop the apropriate animation aswell.
meaning if he walks right, when it hits w_r_02, it should play w_r_02 for image_speed time, but then start again at w_r_00
(it doesn't work when image_speed>1, because it skips the end-frame)

makes sense doesn't it? o_O

if needed i'll post a simple example for you to get running.
gmk: http://www.file-uplo...oop_ex.rar.html (just hit download-button)

ps: no specific "if" and "else". it should be a system, meaning it should work with any number of subimgs (anim_length=image_number/8)

hope you can help :P
thx

Colorize A Sprite

19 March 2007 - 05:33 PM

hi, me again!

i thought this was kind of easy at first, but it seems to me to becoming a big problem, to which i don't have a solution... :)

i have a sprite. a filled square.
and its filled with black. (doesn't really matter)

and i have a color-spectrum image. (seperate object)

i want the sprite filled with the color i click on in the color-spectrum image.

i've tried draw_getpixel(), image_blend, and surfaces...

-draw_getpixel doesn't give me the actual color (like light blue), unless i'm using it wrong
-image_blend doesn't give me the actual color either
-and surfaces behave weird, with scattered pixel reults

any (easy) way of doing this?



thx

PS: please don't bother to respond if you're going to write: "dude, have you tried draw_getpixel?"