Page 1 of 1
Sprites and Images
Posted: Fri Jul 25, 2014 12:31 pm
by marcoagpinto
Why can't one associate images to sprites with just one command?
Code: Select all
sprite(sprite_number,x,y,image_number)
I had to code a procedure to simulate this, which gave a lot of work.
Re: Sprites and Images
Posted: Fri Jul 25, 2014 12:37 pm
by Fred
Again, it's only a few lines of PB code, (basically StartDrawing()/DrawImage()/StopDrawing()), so you can do your own procedure for that. We usually add new function when it's:
1) too complicated to do in PB (like AES, ZIP etc. It's fully doable using regular PB commands, but it's complex topic and needs quite some code)
2) not possible using combination of current PB commands
So yes, you have do some code here and here, and no, we won't do a CreateDoom() command

Re: Sprites and Images
Posted: Sat Jul 26, 2014 4:49 am
by Poshu
Oh. Can we have a CreateTheNextIndieSensation() then?
Could work like CreateTheNextIndieSensation(Genre.i,MillionUnitSold.i,Arty.i,AlsoOutputForAndroid = #True) With a few hundred combinable constants for Genre, and Arty would be set between 0 = "Not arty but actually fun" to 10 being "nobody have a good enough brain to understand my message"
Looks pretty easy to me,so I'm expecting it in the next release. KTHXBYE