Halp! Sprites! Halp!
2 posters
Page 1 of 2
Page 1 of 2 • 1, 2
Halp! Sprites! Halp!
Anyone know how to make sprites that dont have a block of color behind them? I'm making a game for my computing project this year and I'm not managing to get the sprites to appear without a block color behind them. I'm using photoshop to make them.
Guest- Guest
Re: Halp! Sprites! Halp!
well sprites are basicly gif images so your grafics part should be made with transparent gif images problem is they can't have animations anymore.. also your engine must support their transperancy anyway
take any sprite in photoshop
make sure all layers are on
there should be background of nothingness if not create one
now go for save as and save as gif or png save with all default(ones given by ps) and don't merge the layers or w/e else
in result you should get w/e size and form image with transparrent background...to test post on any forums(transparancy itself)
as i remember old sprites they were made another way but i doubt you'll be happy with it(basically notepad art)
take any sprite in photoshop
make sure all layers are on
there should be background of nothingness if not create one
now go for save as and save as gif or png save with all default(ones given by ps) and don't merge the layers or w/e else
in result you should get w/e size and form image with transparrent background...to test post on any forums(transparancy itself)
as i remember old sprites they were made another way but i doubt you'll be happy with it(basically notepad art)
Guest- Guest
Re: Halp! Sprites! Halp!
I dont think you can find an answer for that on a gaming forum. We play games, dont make 'em...
Guest- Guest
Re: Halp! Sprites! Halp!
Lord'latvian wrote:well sprites are basicly gif images so your grafics part should be made with transparent gif images problem is they can't have animations anymore.. also your engine must support their transperancy anyway
take any sprite in photoshop
make sure all layers are on
there should be background of nothingness if not create one
now go for save as and save as gif or png save with all default(ones given by ps) and don't merge the layers or w/e else
in result you should get w/e size and form image with transparrent background...to test post on any forums(transparancy itself)
as i remember old sprites they were made another way but i doubt you'll be happy with it(basically notepad art)
THANK YOU VERY VERY MUCH!!!! IT WORKS! WOOOOOOOOOOOOOOOOO!!!!
A free copy of my crap game goes to you!
Guest- Guest
Re: Halp! Sprites! Halp!
vlad lets say it a bit different...most of you don't make games
some of us have at verry least tried
and others still do
some of us have at verry least tried
and others still do
Guest- Guest
Re: Halp! Sprites! Halp!
Here you go....
Lord'Doom- Staff Sergeant
- Location : Somewhere in Skyrim, crawling up Alduin's backside.
Age : 38
Number of posts : 446
Re: Halp! Sprites! Halp!
well for the last game i made i did it like this:
i took the sprite i wanted, then went to edit palette, and the image format i used (png) had support for transparency. i edited one of the colors of the palette and put the alpha channel to 255 (max value), thus making this color the "transparent" color. then just picked that colors and used that where i wanted the sprite to be transparent.
and you dont need photoshop or any other drawing program that uses layers for that, simple paint.net with a single layer is enough.
i took the sprite i wanted, then went to edit palette, and the image format i used (png) had support for transparency. i edited one of the colors of the palette and put the alpha channel to 255 (max value), thus making this color the "transparent" color. then just picked that colors and used that where i wanted the sprite to be transparent.
and you dont need photoshop or any other drawing program that uses layers for that, simple paint.net with a single layer is enough.
Guest- Guest
Re: Halp! Sprites! Halp!
tru to that any layered sof will do but hey he uses PS
also yes that works too
and png files are kinda good for sprites but they do take up more place yet they also are more colored... anyway if it works it is solved
also yes that works too
and png files are kinda good for sprites but they do take up more place yet they also are more colored... anyway if it works it is solved
Guest- Guest
Re: Halp! Sprites! Halp!
I've added sprites and sounds(recorded by me ) and now ive just got to add enemys. It's not going badly this, it's a bit crap but it's my first game so it will be lol.
Guest- Guest
Re: Halp! Sprites! Halp!
tell us some more specifics plz
how do you do that game, what programming language etc, and what kind of game and what you got so far.. im curious
how do you do that game, what programming language etc, and what kind of game and what you got so far.. im curious
Guest- Guest
Re: Halp! Sprites! Halp!
I'm doing a arcade shooter thing atm (practice before I attempt a platformer) where you shoot the aliens peacfully trying to cross the screen. I've added all the sprites now and I've just got to make the "enemies" blow up when hit now xD. I'm doing it in C# using XNA in Visual Studio, I might change my cannon sprite later on though since it looks a bit strange atm lol.
Guest- Guest
Re: Halp! Sprites! Halp!
ahh i tried XNA with C# once, pretty good to learn making games, but the performance was lacking, the simple game i made there used up 100% cpu all the time, same game i wrote myself used 0.5 - 1%. but it wasnt the final xna, just an RC so that might have been the reason.
for such projects, you basically use crap sprites or simple models first and only get the engine/mechanics working, once done its pretty easy to replace the sprites models with proper ones.
for such projects, you basically use crap sprites or simple models first and only get the engine/mechanics working, once done its pretty easy to replace the sprites models with proper ones.
Guest- Guest
Re: Halp! Sprites! Halp!
XNA is actually quite good, I've never noticed a drop in performance when running it and i usually have firefox and a good few programs running in the background. I've just set the maxenemies in a level to 1000000 and watched my pc laaaaaaaaag lol.
Guest- Guest
Re: Halp! Sprites! Halp!
Vlad if you're so hot about getting 100% cpu usage, i can write a simple program for you that burns all the cpu power you have, a simple endless loop of the kind that many programming noobs write, its just a few lines of code
or just take prime95..
Ddm if you want any coding advice, feel free to ask
or just take prime95..
Ddm if you want any coding advice, feel free to ask
Guest- Guest
Re: Halp! Sprites! Halp!
ty if i hit any trouble ill ask as for the system rescource thing a simple loop of adding two numbers together and then adding the last two together, like the fibinnachi sequence set to a few billion numbers will hog up most of the cpu power I bluescreened doing that by forgetting to set a limit xD
Guest- Guest
Re: Halp! Sprites! Halp!
looooooooool........maybe one hundred percent on single core cpu's. Try to do that for multicores.
Guest- Guest
Re: Halp! Sprites! Halp!
Well if no limit is set to a basic addition program it will keep on going until it either uses all system rescources and crashes or reaches the limit of what a value is declared as. Since its just adding numbers itll use up rescources very quickly, when it happened with me, I added a list box so I could see how many numbers were being done, it reached a few billion within a couple of moments and it kept on going.... the numbers were huge, easily a british billion.
Guest- Guest
Re: Halp! Sprites! Halp!
Vlad, you hereby fail the Lord CS201 class cause you dont know what 100% cpu usage means nowadays for multicores
it basically means that IF the cpu had only one core, it would be 100% used, or in other words, for multicored it means (100/number of cores) average cpu usage, e.g. when i run a program on my double core and both cores have 50% usage, then this is called 100% cpu usage.
to get all the cores to 100% usage you simply start several instances of that program, namely as often as your number of cores is. you can also run it once and fix it to run on one single core, then that core will get to 100% usage.
and now Vlad, your punishment for failing: you will write the following sentence 100 times!
"having hardware as my nr. 1 priority for spending money neither makes me cool nor special"
it basically means that IF the cpu had only one core, it would be 100% used, or in other words, for multicored it means (100/number of cores) average cpu usage, e.g. when i run a program on my double core and both cores have 50% usage, then this is called 100% cpu usage.
to get all the cores to 100% usage you simply start several instances of that program, namely as often as your number of cores is. you can also run it once and fix it to run on one single core, then that core will get to 100% usage.
and now Vlad, your punishment for failing: you will write the following sentence 100 times!
"having hardware as my nr. 1 priority for spending money neither makes me cool nor special"
Guest- Guest
Re: Halp! Sprites! Halp!
You forgot the term Flint. It's called CPU core affinity. And I exactly know what it is for. Some applications run faster if I force them to run on one core only. This is because switching the process across several cores causes latency even on the newest CPU's which is never a good thing in time-critical data processing like games.
As for reaching 100% usage, that's the easy way. Now tell me what are the 'pointers' or 'methods' to fully make use of multicore cpu's INSIDE the program?
I need someone to write me a multithreaded MP3 ripper. As unbelievable as it sounds, I havent come across any so far. I did it once the 'manual' way as you described above and wont do it again. It took me more time to set it up than rip the CD using one core only.
As for reaching 100% usage, that's the easy way. Now tell me what are the 'pointers' or 'methods' to fully make use of multicore cpu's INSIDE the program?
I need someone to write me a multithreaded MP3 ripper. As unbelievable as it sounds, I havent come across any so far. I did it once the 'manual' way as you described above and wont do it again. It took me more time to set it up than rip the CD using one core only.
Guest- Guest
Re: Halp! Sprites! Halp!
Lord'DDM1355 wrote:Well if no limit is set to a basic addition program it will keep on going until it either uses all system rescources and crashes or reaches the limit of what a value is declared as. Since its just adding numbers itll use up rescources very quickly, when it happened with me, I added a list box so I could see how many numbers were being done, it reached a few billion within a couple of moments and it kept on going.... the numbers were huge, easily a british billion.
Basicly you only need a FOR loop for a program that uses up one core to 100%...but if you want it to CRASH at some point, then you need it to generate large numbers or data.
Guest- Guest
Page 1 of 2 • 1, 2
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum