Join the Lord Clan today! Sign up on the forums and register in the Recruitment Office.

Join the forum, it's quick and easy

Join the Lord Clan today! Sign up on the forums and register in the Recruitment Office.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Halp! Sprites! Halp!

2 posters

Page 1 of 2 1, 2  Next

Go down

Halp! Sprites! Halp! Empty Halp! Sprites! Halp!

Post  Guest Wed Oct 14, 2009 6:24 am

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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Wed Oct 14, 2009 7:18 am

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)

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Wed Oct 14, 2009 5:40 pm

I dont think you can find an answer for that on a gaming forum. We play games, dont make 'em...

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Wed Oct 14, 2009 9:27 pm

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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Wed Oct 14, 2009 10:45 pm

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

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Lord'Doom Thu Oct 15, 2009 6:27 am

Here you go.... lol!

Halp! Sprites! Halp! Sprite
Lord'Doom
Lord'Doom
Staff Sergeant
Staff Sergeant

Location : Somewhere in Skyrim, crawling up Alduin's backside.
Age : 38
Number of posts : 446

Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Thu Oct 15, 2009 6:38 am

looool

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Thu Oct 15, 2009 7:12 am

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.

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Thu Oct 15, 2009 7:40 am

tru to that any layered sof will do but hey he uses PS Very Happy
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 Very Happy

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Thu Oct 15, 2009 8:16 pm

I've added sprites and sounds(recorded by me Very Happy) 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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Thu Oct 15, 2009 8:55 pm

name one enemy Laty da Lat Razz

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Fri Oct 16, 2009 3:42 am

looool
ill have a do at that Razz

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Fri Oct 16, 2009 5:15 am

tell us some more specifics plz Smile
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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Fri Oct 16, 2009 5:54 am

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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Fri Oct 16, 2009 6:29 am

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.

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Fri Oct 16, 2009 7:39 am

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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Fri Oct 16, 2009 8:39 am

Gotta give it to me for test Smile

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Fri Oct 16, 2009 6:22 pm

will do. i'll upload a copy to the forums when im done Very Happy

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Sat Oct 17, 2009 6:30 am

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 Razz

or just take prime95..

Ddm if you want any coding advice, feel free to ask

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Sat Oct 17, 2009 7:27 am

ty Smile if i hit any trouble ill ask Smile 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 Very Happy I bluescreened doing that by forgetting to set a limit xD

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Sat Oct 17, 2009 7:43 am

looooooooool........maybe one hundred percent on single core cpu's. Try to do that for multicores.

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Sat Oct 17, 2009 7:54 am

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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Sat Oct 17, 2009 8:24 am

Vlad, you hereby fail the Lord CS201 class cause you dont know what 100% cpu usage means nowadays for multicores Razz

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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Sat Oct 17, 2009 5:43 pm

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.

Guest
Guest


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Guest Sat Oct 17, 2009 5:45 pm

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


Back to top Go down

Halp! Sprites! Halp! Empty Re: Halp! Sprites! Halp!

Post  Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum