Beginner, 2D side scroller

Why37
Unregistered
 
Post: #1
I am a beginning game programmer trying to make a 2D side scroller in C++, OS 9, Codewarrior LE. When I try to allocate a GWorld for a small sprite, it works, but when I try it with a large background image the GWorld Handle is NULL. What kind of things could cause this? I would appreciate any help. Thanks.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
You need to allocate more memory to your program. This is an OS9-only issue. The default in CodeWarrior is something like 384KB, which is quite ridiculous for any reasonable purpose. You'll find the settings in the project preferences.
Quote this message in a reply
Why37
Unregistered
 
Post: #3
Alright, the GWorld allocates. Thanks! Now I have to work through a score of other problems!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Side-Scrolling pchukwura 7 9,824 Dec 27, 2010 10:14 AM
Last Post: pchukwura
  Non-Tile Based 2d Side Scroller Ti22 3 5,849 May 10, 2005 07:31 PM
Last Post: kelvin
  Slopes in Side-Scrollers Bachus 8 7,389 Jun 5, 2002 08:06 PM
Last Post: Unregistered