Page 2 of 6 FirstFirst 123456 LastLast
Results 11 to 20 of 55

Thread: Noob Question

                  
   
  1. #11
    DCEmu Pro dangee's Avatar
    Join Date
    Feb 2007
    Posts
    531
    Rep Power
    69

    Unhappy

    Quote Originally Posted by thehumanidiot View Post
    stop making fun of me, is there a code that willl just clear the screen?
    I did not intend to make fun of you.
    I spent a good amount of time yesterday trying to think
    of a way to guide you, without becoming your
    personal debugging djinni.
    I couldnt find a way, and to recognize and accept
    this personal phail made me sad.
    The best I can suggest now is that
    you find , and study some existing source code

  2. #12
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    What dangee said to clear the screen is the concept method that most games do. How you actually clear the screen depends on the API, libraries, platform you are programming on.

  3. #13
    DCEmu Rookie
    Join Date
    May 2007
    Location
    Under your Bed
    Posts
    168
    Rep Power
    0

    Default

    Quote Originally Posted by dangee View Post
    I did not intend to make fun of you.
    I spent a good amount of time yesterday trying to think
    of a way to guide you, without becoming your
    personal debugging djinni.
    I couldnt find a way, and to recognize and accept
    this personal phail made me sad.
    The best I can suggest now is that
    you find , and study some existing source code
    well im very sorry it just sounded that way, i was looking for source codes and couldn't find anything and stilll looking.
    and what exactly does that mean yaustar?

  4. #14
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    34
    Posts
    4,123
    Rep Power
    96

    Default

    No offense but do you really think you should be starting on C when you have no knowledge what so ever on the language. If you wish to start learning C I reckon you should get a book from your local library and study it

    PSN ID: splodger15

  5. #15
    DCEmu Rookie
    Join Date
    May 2007
    Location
    Under your Bed
    Posts
    168
    Rep Power
    0

    Default

    ok i was reading a C++ book because i wanted to learn about it, and i did those tutoials on psp-programming. I also know actionscript, so i am only half noob right now

  6. #16
    DCEmu Rookie
    Join Date
    May 2007
    Location
    Under your Bed
    Posts
    168
    Rep Power
    0

    Default

    i will clear up what exactly i am doing. I am using psp dev i have the libaries that the libinstaller for pspdev installed. i was following this tutorial
    http://www.psp-programming.com/tutorials/c/lesson04.htm
    i finished it and the tutorials following it, i have added some things to the code that will make it move, i try reblitting the images whenever i push one of the arrows, that works, but then the image that was there before it is still showing, i want to learn how to remove this or if i should do something else
    i have atached the code files i thank if you deicde to take a look or help me.

  7. #17
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    Clarification: You are using the graphics and framebuffer code from PSP-programming tutorials.

    Look at the header file of graphics.h. It shows all the functions you can use from the graphics.c source. Look for a function that clears the screen.

  8. #18

    Default

    Also, those tutorials are in C, not C++.

  9. #19
    DCEmu Rookie
    Join Date
    May 2007
    Location
    Under your Bed
    Posts
    168
    Rep Power
    0

    Default

    ok i found one but im not sure how to use
    extern void clearImage(Color color, Image* image);

    i defined a color as "Black"(tell if thats not was i was supoosed to do)
    I typed my code like this

    clearImage(Black, Black, Image* ourImage);

    here are the errors i get
    main.c<63> : error: syntax error berfore 'Image'

    SpooForBrains i knew that, but what is the difference

  10. #20
    DCEmu Rookie
    Join Date
    May 2007
    Location
    Under your Bed
    Posts
    168
    Rep Power
    0

    Default

    ok i tried dangees method again, and this time, IT WORKED!!!! thank you all very much for helping me solve my problem!!

Page 2 of 6 FirstFirst 123456 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •