User Profile

Collapse

Profile Sidebar

Collapse
cassyhoz
cassyhoz
Last Activity: Dec 2 '08, 09:19 PM
Joined: Nov 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cassyhoz
    replied to Videogame
    in C
    I'm very sorry to ask, but is there a simpler way to do that? I haven't learned much in school yet and I ignore most of what you wrote in the last post ): I'm ashamed to say I need something simpler..

    They told me that maybe I could somehow improve it if I called the defender bar each time the thunder's added another piece, cause there's always a thunder and it's always increasing, so I should be able to move with the bar all the time....
    See more | Go to post

    Leave a comment:


  • cassyhoz
    replied to Videogame
    in C
    I took out the sleep function and now I can move the bar normally, but the thunders fall too fast. You said I should make them move square by square, but how do I do that?
    See more | Go to post

    Leave a comment:


  • cassyhoz
    replied to Videogame
    in C
    but if I make the thunder fall one square that'd only make my bar move quickly, it would still depend on me moving the bar for the thunder to fall down wouldn't it?

    I'm sorry if I didn't understand quite well, I'm very ignorant on this, only been working on it for about a month :S sry
    See more | Go to post

    Leave a comment:


  • cassyhoz
    started a topic Videogame
    in C

    Videogame

    Hi, I was asked in school to make this sort of videogame in C basic where a little bar defends a city (which is in the bottom) from falling thunders.

    I'm working on Visual Basic 2005 and this is the code I've been able to develop. However I have a problem 'cause the little "defender" bar won't move at the same time as the thunders fall.
    I have absolutely no idea of how to make both things happen at the same time and...
    See more | Go to post

  • cassyhoz
    replied to random
    in C
    Thank you donbock, a friend of mine is already helping me with the task.
    The lines are done now we only need to make them dissapear once they've het the bar.
    See more | Go to post

    Leave a comment:


  • cassyhoz
    replied to random
    in C
    I'm sorry, the language is C.
    What I'm trying to do is that game "defender". The thunders come down from the top of the screen as straight lines, and I'm supposed to prevent them from reaching the city with a little bar.

    Should look something like this...

    ............... ............... ..............|
    ............... ............... ..............|
    ............... ............... ..............|...
    See more | Go to post

    Leave a comment:


  • cassyhoz
    started a topic random
    in C

    random

    can somebody explain me in plain laguage, how to make random lines crossing from top to botton of screen? it's for simulating thunders attacking a city in a game
    See more | Go to post
No activity results to display
Show More
Working...