Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Nov 18, 2017 10:49 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Animation first steps
PostPosted: Tue Mar 02, 2010 11:24 am 
Offline

Joined: Sun Oct 25, 2009 11:02 am
Posts: 28
Super basic question here. I am trying to program a simple game as a way of learning through working on a project, and I am having trouble figuring out where to start. Let's say that my game will drop a ball from the top of the screen and veer towards a mouse click to end in 1 of 5 bins at the bottom of the screen.

When I look up animation tutorials on the web, the vast majority (including RealSoft's own curriculum) are about SpriteSurface, which is deprecated. So that seems a waste to learn. What I've found so far is:

RBGL Sprites - 3rd party replacement for sprites
OpenGL - a whole new programming environment to learn (?)
built-in Canvas control

This current "game" is just an exercise, but I want to work using tools that will still be useful down the road for a real game, but I also want to use something that I can learn incrementally, without jumping with both feet into a new language.

Can someone point me in the right direction?

Thanks,

Gregory


Top
 Profile  
Reply with quote  
 Post subject: Re: Animation first steps
PostPosted: Tue Mar 02, 2010 11:52 am 
Offline

Joined: Fri Sep 30, 2005 11:19 am
Posts: 275
I would suggest using OpenGL, it is not that hard and it will be useful when working in other environments than REAL Studio. If you want, I could send you a small 2D demo written in OpenGL.

_________________
"If you look carefully at my lips, you'll realize that I'm actually saying something else."
Brainswitch Machina - REALStudio/REALbasic
RBScriptExtender - give RBScript power to work with any class


Top
 Profile  
Reply with quote  
 Post subject: Re: Animation first steps
PostPosted: Thu Mar 04, 2010 4:31 pm 
Offline

Joined: Fri Sep 30, 2005 6:55 pm
Posts: 1522
OpenGL isn't a programming environment or a language, really, but I guess it's kind of pointless arguing semantics. It's just a specification of settings and commands that manufacturers make sure are available on all of their graphics cards. The hardware under-the-hood can be radically different from computer to computer, but they all follow the same structure for initializing memory, loading textures, changing the graphical settings, and rendering triangles to the screen.

You should consider buying a book about it to get used to how it works. It's really not that bad. Just learning the basics, like what buffers and texture units are and how to enable or disable various effects like lighting, will be enough to get you going.

_________________
Those who can, do. Those who can't, make excuses.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group