We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,018 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Paint Multiple Items to screen

Ok so basically I want to know how I can paint multiple items to the screen without using all of my laptop CPU power.

I was thinking that it may be possible to arrange the items as a bitmap and then paint that bitmap to the screen but im not entirely sure how to go about doing this so would value any help that can be given.

Thanks in advance for your replies

2
Contributors
4
Replies
1 Day
Discussion Span
8 Months Ago
Last Updated
5
Views
ObSys
Junior Poster in Training
77 posts since Nov 2011
Reputation Points: 24
Solved Threads: 7
Skill Endorsements: 0

When you say items, what exactly are you referring to?

Are you painting multiple pictures, shapes, controls, or just a pallete of color?

Begginnerdev
Practically a Posting Shark
862 posts since Apr 2010
Reputation Points: 184
Solved Threads: 142
Skill Endorsements: 8

Well basically i'm looking to make a basic game engine as a test and then rewrite in Java or something once i've learnt it.

It's just going to be a simplistic mario style 2D interface so it will have a static background image, a foreground layer made up of various different blocks to walk along etc and finally a sprite which moves around the screen.

Was just wondering if there's a cheap way to render all these images to the screen.

ObSys
Junior Poster in Training
77 posts since Nov 2011
Reputation Points: 24
Solved Threads: 7
Skill Endorsements: 0

You might want to research using C# for game design.

Will allow for a little better memory management than vb.net offers.

Here is a basic winforms game.

Hope it helps

Begginnerdev
Practically a Posting Shark
862 posts since Apr 2010
Reputation Points: 184
Solved Threads: 142
Skill Endorsements: 8

You might want to research using C# for game design.

I'm only using VB.NET as a proof of concept, just so that I am able to understand how to go about writing this game. Once that has been done I will be rewriting it in java.

I only want to know if theres an efficient way to draw items to the screen.

ObSys
Junior Poster in Training
77 posts since Nov 2011
Reputation Points: 24
Solved Threads: 7
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0662 seconds using 2.65MB