Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Mechanics "Hill climb racing"
Started by a-09-19 Nov 16 2019 01:00 PM

3 replies to this topic
car game physics
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

a-09-19

[GLOBAL: userInfoPane.html]
a-09-19
  • Observer

  • 2 posts
  • Corona SDK

Hello! I’m studying Corona and want to make a game with mechanics like in Hill climb racing. I don’t understand much yet. Maybe, if there is free time to please look at my files and register the physical object of the car on wheels with screen control or tell me how to do it. And how to set up the physics of different cars so that everyone has a different mass and speed. I will be very grateful. Maybe someone even has unnecessary sources with similar mechanics. Thanks to all! I attach my project.  :)  Attached File  BusCountry.zip   1.25MB   2 downloads



[TOPIC: post.html]
#2

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 663 posts
  • Corona SDK

Hi @a-09-19, If you can post the specific code you need help with that would make it easier for us to offer insights.



[TOPIC: post.html]
#3

a-09-19

[GLOBAL: userInfoPane.html]
a-09-19
  • Observer

  • 2 posts
  • Corona SDK

Hi @a-09-19, If you can post the specific code you need help with that would make it easier for us to offer insights.

Hello! I have no specific code yet. Could you show an example of creating a physical body of a car with two wheels from sprites?



[TOPIC: post.html]
#4

horacebury

[GLOBAL: userInfoPane.html]
horacebury
  • Corona Geek

  • 3,070 posts
  • Corona SDK

@a-09-19 you want to take a look at the sample project code (physics folder) which comes with the Corona install.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: car, game, physics