Zooming Graphics for "Bash Buddies"!

I mean how soon before CES does this need to be finalized :sweat_smile:
I assume you want it tested before you put it out on the floor, I guess two months is more than enough time though.

Answering the initial question: The zoom function could definitely be part of the main library, I don’t see any reason for otherwise. It could be called like: drawScaledBitmap(x, y, *bitmap, width, height, scaleX, scaleY), or alternately use a pixel size for the new height/width. I’ll probably make both functions, one being a helper.

As long as it’s a day before shouldn’t be an issue, I mean obviously we would want to test it before hand but I can just reflash as needed.

This sounds like a veeeeery nice idea. :astonished:

Looks like vector graphics is going to be the way to go on this :smiley:

Yeesh, after I spent some hours working on this. :laughing:

Video of 17 32x19px sprites at 30fps with no slowdown, all being drawn with separate calls to drawScaledBitmap. The catch is that they can’t be scaled bigger than 1:1 (that function was tremendously slow).

http:/uploads/arduboy/original/2X/8/83f638d83c44c24f985ce94bef3d92ed69cff8f2.webm

7 Likes

New video, now with LED lighting so the Arduboy’s screen doesn’t look blue.

Is this what you had in mind, Bateske?
http:/uploads/arduboy/original/2X/5/59c0edf62d8b8dafe4277c0061b6a3a9b97be63f.webm

Thanks Ekem for the WebM feature, very convenient. :grinning:

18 Likes

My mind is superblown. That looks awesome. Thanks for using the webm :grin: :monkey:

That looks fantastic :smiley: Great work so far!
Also, how do you get such great recording quality?

Here is a suggestion for the Buddies!


From left to right: Robo from RoboDodge, Aquila from Mythic Flight, Squario, Lena from Arduventure, You from Glove, Shadow Runner and Reverse Mermaid.


What do you think? Do we have other Buddies?

3 Likes

Crushing it

Wow I was thinking about we would have to do this with vectors but here you’ve gone and pretty much got the whole engine.

I think the buddies should all be the same size sprite of course.

Do we have any kind of particle engine? I was thinking it would look awesome to do the effects with just a few pixels

Great now I can’t share it through social media ;| YouTube is better

1 Like

Just - so - much - win !!!

Why can’t you share it?

You can just link the webm file…

Vidya Link
To get the link, right click the video and select “copy video url”, it will look like:
“http:/uploads/arduboy/original/2X/8/83f638d83c44c24f985ce94bef3d92ed69cff8f2.webm”

It’s just a url, and was put on aws so can be shared easily.
It should auto embded in twitter and on facebook.

Or share the thread itself.
Zooming Graphics for “Bash Buddies”!

There may be something else you are after in using youtube, so let me know?

1 Like

Can I like this more than once?

That’s awsome!!

Hahaha, It’s really awesome how you bring up You as being an original Arduboy character! :smile: Honestly I didn’t know we already had such a sweet lineup. Arduboy allstars really is a possibility!

2 Likes

We need an in game Character Editor for customization :smile:

Posting in epic thread before it’s an epic thread.

So … @Atomic can we see your code? enlighten us !

I remember some of the old Dragonball Z games did the same, if you were far enough apart the character was little more than a dot, seemed to work pretty well for them. Not sure how well it would cope with 4 players, but i guess you could have it zoom in to the closest alive player.

Sorry for the delay, I got super busy the past week and didn’t have any time to work on it.

http://pastebin.com/aLGHqV7r

Here is the zooming demo, all tidied up.

3 Likes