This site requires JavaScript, please enable it in your browser!
Greenfoot back
PepeSbczk
PepeSbczk wrote ...

2021/11/16

Need help in programming a racegame for my school lessons

PepeSbczk PepeSbczk

2021/11/16

#
Hey guys, is there someone with a bit time to help me by proramming a racegame for my IT school subject ? Im not the best in it and working first time with Greenfoot. Would be awesome if someone would help me a bit with like the steering and driving tempo that its nice to crontroll and play. have all a nice day and hope to hear from someone ;)
CodingCowgirl CodingCowgirl

2021/11/16

#
I would take a look at YouTube. There are tutorials where you can rebuild games. For graphics I use Canva and for sound effects I use Freesound.org.
danpost danpost

2021/11/16

#
It would be nice to know a couple of things about what you want in your race game. (1) viewing angle; (2) how you want to control speed (not just keys, but specific behavior as well); (3) layout of track; (4) etc.
Aaron-aid Aaron-aid

2021/11/18

#
i made a kind of smooth driving thing with open source you could check out https://www.greenfoot.org/scenarios/28859
danpost danpost

2021/11/18

#
Aaron-aid wrote...
i made a kind of smooth driving thing with open source you could check out https://www.greenfoot.org/scenarios/28859
I am sorry to say that at the moment, I do not have any demos on controlling a car. That would be something to consider. At any rate, your smoothness is not that great. At slow speed, only few angles of movement will be achieved. Also, the turn rate should be governed by the speed -- not just to turn or not turn, but how much turn allowed dependent on speed (no speed means no turn; slow speeds would be close to maximum turn -- minimum radius turning; and faster speeds would diverge from maximum turning -- larger radius turning). For smoothness and for full range of movement angle at any speed, consider using my QActor class which can be found in my Asteroids w/improved QActor Superclass game scenario.
You need to login to post a reply.